Laravel 13 · Controllers and routes

Create a resource controller

Generate a controller with the conventional CRUD methods.

php artisan make:controller PostController --resource

Official Laravel 13 documentation

More controllers and routes commands

All controllers and routes commands · Laravel 13 cheatsheet

Was this page helpful?