Download the PHP package thantzin-soe/laravel-repository-generator without Composer
On this page you can find all versions of the php package thantzin-soe/laravel-repository-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thantzin-soe/laravel-repository-generator
More information about thantzin-soe/laravel-repository-generator
Files in thantzin-soe/laravel-repository-generator
Package laravel-repository-generator
Short Description Generate laravel repositories
License MIT
Homepage https://github.com/thantzin-soe/laravel-repository-generator
Informations about the package laravel-repository-generator
Generate laravel repositories
You can generate laravel repository class and interface using php artisan make:repository Category/CategoryRepository --model=Category.It will generate CategoryRepository class and CategoryRepositoryInterface inside the app/Repositories/Category folder.This package is developed based on the Spatie Laravel Package Skeleton.
Installation
You can install the package via composer:
Usage
After installing via composer,you can generate scaffolding by running
You can add your bindings to your AppServiceProvider or you can a create a new service provider with php artisan make:provider RepositoryServiceProvider
(don't forget to add it in the providers array inside of config\app.php
) and add the bindings in the register()
method, here is the example.
Testing
Contributing
Any contributions are welcome.
All versions of laravel-repository-generator with dependencies
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^10.0