Skip to content
Basak's blog
  • Home
  • About Me
  • Contact Me

Month: April 2020

How to configure ES6 with Laravel 7 React

April 27, 2020 bskscmn

Create .babelrc file in the root of your project folder, and paste the following config: Install required dependency Compile react…

Continue Reading →

Filed under: ES6, Laravel 7, React

[Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table users add unique users_email_unique(email))

April 25, 2020 bskscmn

What is the cause: The MySQL UNIQUE KEY key length limit is 1000 bytes and the system is trying to…

Continue Reading →

How to create multi auth in laravel 7?

bskscmn

To create custom multi-auth based on a field in users table then follow the steps: Assuming you have installed Laravel…

Continue Reading →

Laravel – Add a Column or Columns To Existing Table

bskscmn

Open your terminal and create a migration file named as “add_<columname>_to_<tablename>” . Imagine we want to add surname field to…

Continue Reading →

Laravel 7 – Login With Username Instead of Email

bskscmn

By default, email is the most important field for user, it is used as a unique identifier and is part of the credentials. But…

Continue Reading →

Recent Posts

  • Localizing a Laravel app with Vue.js and Inertia.js without any dependencies
  • Deploy Laravel 8 – Vue.js Application on Shared Hosting
  • How to Make Terminal Use MAMP’s PHP ( instead of mac’s version )

Recent Comments

    Archives

    • December 2020
    • November 2020
    • September 2020
    • April 2020
    • December 2019
    • November 2019

    Contact Me

    • basaksecmen@gmail.com
    Copyright © 2023 Basak's blog