Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Repo Generator

Repository Pattern Generator Command

Getting Super Powers of Repository Pattern Generator

You can generate repo pattern file structure of given model using following command :

php artisan make:repo Post

This will create :

  • PostInterface in App/Contracts

  • PostRepository in App/Repositories

Last updated