Skip to content

PHP Codes Blog

By Nikunj Joshi

Search for
  • PHP
    • PHP Settings
    • OOPs
    • MySQL
    • AngularJS
    • Jquery
    • Javascript
    • HTML
    • Server Apache
    • Server Nginx
  • Laravel
  • Magento
  • WordPress
  • About Nikunj
    • Contact Nikunj
  • Hire Dedicated Developer

Tag: migration

Laravel Two-Step Registration

Posted By: Nikunj Joshi August 21, 2020

Laravel Two-Step Registration: Optional Fields for Country and City Imagine a project where you need to have two-step registration process, with some optional fields in the second step. Let’s build …

Read More “Laravel Two-Step Registration”

Laravel Create Controller, Model and Migration in one Artisan Command

Posted By: Nikunj Joshi April 3, 2019April 18, 2019

Create Controller, Model and Migration using one artisan command in Laravel Artisan is the command-line interface included with Laravel. It provides a number of helpful commands that can assist you …

Read More “Laravel Create Controller, Model and Migration in one Artisan Command”

Laravel Migration Specified key was too long error

Posted By: Nikunj Joshi March 21, 2019September 16, 2022

Laravel 5: Specified key was too long error [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 …

Read More “Laravel Migration Specified key was too long error”

Creating Foreign Keys via Laravel Migration

Posted By: Nikunj Joshi July 4, 2018May 5, 2019

Adding foreign keys with Migrations Laravel really excels at facilitating deft management and navigation of table relations, but you’ll need to understand how to properly configure these relationships before taking …

Read More “Creating Foreign Keys via Laravel Migration”

Create migration file with make:model command

Posted By: Nikunj Joshi July 4, 2018May 5, 2019

How to create migration file with Make:model command Recently I’ve found out a nice little way to speed up generating of database stuff. I used to use make:migration and make:model …

Read More “Create migration file with make:model command”

Hire PHP Freelancer

Please like this video and subscribe to my YouTube channel.

Contact

Recent Posts

  • Force User to Verify Email after Registration in Laravel
  • Mutators and Accessors in Laravel
  • Laravel Two-Step Registration
  • Display Featured Products on Homepage in Magento
  • Function array_column() in PHP
  • Disable Timestamps in Laravel
  • Difference between implode and explode function in php
  • Build Single Page Application Using AngularJS
  • Use of the PHP substr_count() function
  • MySQL Create Table and Data Types

Categories

  • AngularJS (1)
  • HTML (1)
  • Javascript (5)
  • Jquery (8)
  • Laravel (34)
  • Magento (8)
  • MySQL (6)
  • OOPs (7)
  • PHP (27)
  • PHP Settings (3)
  • Server Apache (3)
  • Server Nginx (1)
  • Wordpress (5)

Tags

abstract (2) ajax (4) apache (4) array (7) arrays (4) artisan (18) authentication (3) cache (3) class (8) command (7) composer (11) config (2) console (3) controller (7) database (7) errors (4) features (2) function (28) functions (5) html (8) ini (2) javascript (8) jquery (9) Laravel (35) localhost (2) magento (8) method (4) methods (4) migration (5) model (7) mvc (3) mysql (10) notice (2) oops (6) php (66) programming (6) query (2) reviews (2) schedule (4) service (3) ssh (3) trigger (2) view (8) wordpress (4) xampp (3)

Comments

  • JSN Web Solutions on Difference between array_merge and array_combine in php
  • JSN Web Solutions on Laravel Two-Step Registration
  • JSN Web Solutions on Mutators and Accessors in Laravel
  • james on Start / Stop / Restart Apache Web Server Via SSH
  • web design company in coimbatore on Run custom query in Laravel

PHP Codes Blog by Nikunj Joshi

  • Register
  • Log in
PHP Codes Blog By Nikunj Joshi © 2018