Download the PHP package kodebyraaet/pattern without Composer
On this page you can find all versions of the php package kodebyraaet/pattern. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kodebyraaet/pattern
More information about kodebyraaet/pattern
Files in kodebyraaet/pattern
Download kodebyraaet/pattern
More information about kodebyraaet/pattern
Files in kodebyraaet/pattern
Vendor kodebyraaet
Package pattern
Short Description The base for the repository pattern that we use in Kodebyraaet
License MIT
Package pattern
Short Description The base for the repository pattern that we use in Kodebyraaet
License MIT
Please rate this library. Is it a good library?
Informations about the package pattern
Kodebyraaet Pattern for Laravel 5 and Lumen
The base for the repository pattern we use in Kodebyraaet.
Installation
Install composer dependency.
composer require kodebyraaet/pattern
If you are using Laravel add the Service Provider to the config/app.php file.
Kodebyraaet\Pattern\BaseRepositoryServiceProvider::class,
If you are using Lumen add the Service Provider to the bootstrap/app.php file.
$app->register(Kodebyraaet\Pattern\BaseRepositoryServiceProvider::class);
Create the base repositories
If you have the Kodebyraaet Generators installed you can just run the following command:
php artisan make:base-repository
Or you can do it manually:
Create the file App\Entities\Repository.php
(the namespace may differ):
Create the file App\Entities\RepositoryInterface.php
(namespace may differ):
How to use
Check out Kodebyraaet Generators for a easier way to create the structure that extends this repository pattern.
All versions of pattern with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.9
The package kodebyraaet/pattern contains the following files
Loading the files please wait ....