Skip links

Laravel [6-7-8-9] Migrate Specific File(s) from Migrations

Option 1 First you should create one migration file for your table like: After create test folder in migrations folder then newly created migration moved/copied in test folder and run below command in your terminal/cmd like: Option 2 Source: https://stackoverflow.com/questions/45473624/laravel-migrate-specific-files-from-migrations

Creating PDF files in Laravel

I have tested this code in Laravel 6,7,8 & 9. Steps to Follow Install PDF Library (barryvdh/laravel-dompdf) Add Provider and alias in config/app.php Create Route and point it to any controller method config/app.php All done! This will download your view in PDF format. Note: As of Laravel 9 this doesnt work on local machine, but […]