Download the PHP package otodev/laravel-repo-generator without Composer
On this page you can find all versions of the php package otodev/laravel-repo-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download otodev/laravel-repo-generator
More information about otodev/laravel-repo-generator
Files in otodev/laravel-repo-generator
Package laravel-repo-generator
Short Description Repository Generator for Laravel Framework.
License MIT
Informations about the package laravel-repo-generator
Laravel Repository Generator
Complete Repository Generator
This package generates Repositories, Contracts, Resources, Requests, Policies, Controllers, Models and Language Files. Also implements the Repository Pattern.
What is a repository?
Use a repository to separate the logic that retrieves the data and maps it to the entity model from the business logic that acts on the model. The business logic should be agnostic to the type of data that comprises the data source layer. (…) The repository mediates between the data source layer and the business layers of the application. It queries the data source for the data, maps the data from the data source to a business entity and persists changes in the business entity to the data source. A repository separates the business logic from the interactions with the underlying data source or Web service. — mdsn.microsoft.com
Installation
Require this package with composer using the following command:
Export config using the following command:
This package makes use of Laravel's package auto-discovery mechanism.
Usage
php artisan make:api:all Client\Vimeo\Vimeo App\Models\Client\Vimeo\Vimeo
- API generation for Laravel Reposiotry
All versions of laravel-repo-generator with dependencies
ext-json Version *
illuminate/contracts Version ^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^7.0|^8.0|^9.0|^10.0|^11.0