Posted on April 24, 2019, 4:46 pm, by admin, under
laravel.
If you already have Laravel move to Step 2 Step 1. Get Laravel composer create-project –prefer-dist laravel/laravel . Step 2. Create following folder structure: mkdir -p packages/aghayevi/modulename/src Step 3. Do the following cd packages/aghayev/modulename composer init This command will guide you through creating your composer.json config. Package name (<vendor>/<name>) [root/modulename]: aghayevi/modulename Description []: […]
Posted on February 8, 2018, 4:03 pm, by admin, under
laravel.
composer create-project laravel/laravel myproject 5.1
Posted on February 2, 2018, 3:58 pm, by admin, under
laravel.
1. Create php artisan make:command MyApp –command=myapp:perform 2. Edit vi app/Console/Commands/MyApp.php …. /** * Execute the console command. * * @return mixed */ public function handle() { echo ‘My App’; } 3. Run php artisan myapp:perform
Posted on November 17, 2015, 12:06 pm, by admin, under
laravel.
<?php dd(\DB::getQueryLog());
Posted on November 13, 2015, 1:17 pm, by admin, under
laravel.
php artisan migrate php artisan migrate:rollback