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