Frameworks

Laravel Cheat Sheet

Print-ready cheat sheet for Laravel, organized for fast lookup, study, and desk-side use

Source
Laravel Documentation (laravel.com/docs)
License
MIT
Updated
2026-03-27

Sample

What's in this cheat sheet

  • Artisan
  • Routing
  • Controllers
  • Blade Templates
  • Eloquent ORM
  • Migrations
  • Middleware
  • Authentication
  • Validation
  • Common Patterns

Common Commands

php artisan serveStart development server
php artisan make:model Name -mCreate model with migration
php artisan make:controller NameControllerCreate controller class
php artisan make:middleware NameCreate middleware class
php artisan migrateRun pending migrations
php artisan migrate:rollbackRollback last migration batch
php artisan db:seedRun database seeders
php artisan tinkerInteractive REPL for your app
php artisan route:listList all registered routes
php artisan cache:clearClear the application cache
php artisan config:clearClear cached config
php artisan queue:workStart processing queued jobs

Download the full cheat sheet for all sections, formatted for print

Download PDF

Downloads

Choose the treatment that matches how you read