Download the PHP package brainlabsweb/repository-generator without Composer
On this page you can find all versions of the php package brainlabsweb/repository-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download brainlabsweb/repository-generator
More information about brainlabsweb/repository-generator
Files in brainlabsweb/repository-generator
Download brainlabsweb/repository-generator
More information about brainlabsweb/repository-generator
Files in brainlabsweb/repository-generator
Vendor brainlabsweb
Package repository-generator
Short Description Small handy-dandy package for repository pattern
License MIT
Package repository-generator
Short Description Small handy-dandy package for repository pattern
License MIT
Please rate this library. Is it a good library?
Informations about the package repository-generator
Generates Repository
Install
composer require brainlabsweb/repository-generator
Command to generate Respository Pattern
php artisan make:repository <Name>
Optional Params
c
-> to generate the Controller
m
-> to generate the Model
Example:
php artisan make:respository book m c
-- Creates following files under directory structure
-- app
--Http
-- Controllers
-- BookController.php
-- Repository
-- Book
-- BookContract.php
-- BookRepository.php
-- Book.php
Generated Controller will be as follows
Generated Repository be like
- if
m
flag is not send you won't get the constructor in generated repository
Generated interface will be like
Generated Model will be like
Developed by: Mahesh
All versions of repository-generator with dependencies
PHP Build Version
Package Version
The package brainlabsweb/repository-generator contains the following files
Loading the files please wait ....