Download the PHP package g4t/laravel-design-pattern without Composer
On this page you can find all versions of the php package g4t/laravel-design-pattern. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download g4t/laravel-design-pattern
More information about g4t/laravel-design-pattern
Files in g4t/laravel-design-pattern
Download g4t/laravel-design-pattern
More information about g4t/laravel-design-pattern
Files in g4t/laravel-design-pattern
Vendor g4t
Package laravel-design-pattern
Short Description g4t laravel design pattern (repository design pattern With some improvements)
License MIT
Package laravel-design-pattern
Short Description g4t laravel design pattern (repository design pattern With some improvements)
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-design-pattern
Laravel Design Pattern Generator (api generator)
you can create your restful api with validation easily by using this package
and you can filter, sort and include eloquent relations based on a request
Installation:
Require this package with composer using the following command:
Usage
in folder config
You will find jsonapi.json
This is where you will write relations
, sortable
columns and filterable
columns
Commands:
full command
create (Model, Controller, Route And Repostitory)
or if you have model
and you can use --force
command
you can create validation from database table using this command
Available command options:
Command | Description |
---|---|
--m |
Create Migration |
--model={ModelName} |
Insert model in controller if you have model |
--force |
override existing Repository |
Parameters to controlling data:
You can modify parameters in config/jsonapi.json
FILTER A QUERY BASED ON A REQUEST
INCLUDING RELATIONS BASED ON A REQUEST
SORTING A QUERY BASED ON A REQUEST
TAKE DATA
SKIP DATA
License
Laravel Design Pattern Generator is free software licensed under the MIT license.
All versions of laravel-design-pattern with dependencies
PHP Build Version
Package Version
Requires
spatie/laravel-query-builder Version
^5.0
The package g4t/laravel-design-pattern contains the following files
Loading the files please wait ....