web-id/persil
Persil
Installation
Require this package with composer. It is recommended to only require the package for development.
composer require web-id/persil --dev
Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Publish Laravel stubs compatible with Larastan
List of stubs : here
php artisan vendor:publish --tag=custom-laravel-stubs
Make repository file
Empty repository
php artisan make:repository UserRepository
Repository with wanted methods
php artisan make:repository UserRepository --update --delete
Repository with all, store, update, delete methods
php artisan make:repository UserRepository --resource
Repository using cache system
php artisan make:repository UserRepository --update --delete --cache
php artisan make:repository UserRepository --resource --cache
List of available methods (options)
Make service file
Create service file on app/Services (template)
php artisan make:service PaymentService
Create service file with testing service file, interface and provider
php artisan make:service PaymentService --provider
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
641,106,524
9,700
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
418,291,778
609
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 3.0.0 | ^8.1 | ^10.28.0 | MIT | |
| 2.0.1 | ^8.0.2 | ^9.1 | MIT | |
| 2.0.0 | ^8.0.2 | ^9.1 | MIT | |
| 1.0.0 | ^8.0 | ^8.37 | MIT |