web-id/persil

This is my package persil
12,989 2
Install
composer require web-id/persil
Latest Version:3.0.0
PHP:^8.1
Laravel:10
Older releases:8 · 9
License:MIT
Last Updated:Oct 11, 2023
Links: GitHub  ·  Packagist
Maintainer: web-id

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

web-id/ail

Authentication page to change user easily in debug mode

1,296 2
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

641,106,524 9,700
laravel/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

502,645,077 7,441
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