Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.26 KB

File metadata and controls

53 lines (33 loc) · 1.26 KB

Laravel Traiter - Generate traits for models

Latest Version on Packagist Total Downloads GitHub Actions

Installation

You can install the package via composer:

composer require ffnlabs/traiter --dev

Usage

php artisan make:traiter App\\Models\\ModelName

...or, within PHP or Tinker:

$stubber = new FFNLabs\Traiter\ModelStubber(App\Models\ModelName::class);
$stubber->generate();

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email hello@559labs.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.