Posts

Storage link not working on laravel another system

delete previously create symlink and run: php artisan storage:link

Import db in mysql using command line

mysql> mysql -u root -p mysql> use your_db_name; mysql> source /parth/yourfile file.sql; (note - don't enclose path in double and single quotes)

Laravel Models

Create model php artisan make:model Flight

Debug request in laravel

$request->all();

bash: cake: command not found

Add ./ befor cake example: ./cake bake all

Install plugin from git if version is not known

Add ":*" at the end of command Example: "composer require dereuromark/cakephp-queue:*"