Skip to main content

Posts

Showing posts from August, 2017

Getting Started with Laravel 5.4 with sample CURD

/* |----------------------------------------------------------------------------- | Getting Started with Laravel 5.4 |----------------------------------------------------------------------------- | | Laravel 5.4 has more features and Laravel is a free, open-source PHP web  | framework, created by Taylor Otwell and intended for the development of  | web applications following the model–view–controller (MVC) architectural pattern. | */ Database: Migrations #Generating Migrations ---------------------------- To create a migration, use the make:migration Artisan command: Syntax: php artisan make:migration create_users_table The new migration will be placed in your database/migrations directory. Each migration file name contains a timestamp which allows Laravel to determine the order of the migrations. Example: vagrant@homestead:~/sample$ php artisan make:migration create_student_table    Created Migration: 2017_08_01_044007_create_student_table ------------