luigel/laravel-trait

A simple artisan command to generate Traits

v1.0.0 2020-06-17 06:38 UTC

This package is auto-updated.

Last update: 2024-11-17 17:12:43 UTC


README

Latest Version on Packagist Test StyleCI Scrutinizer Code Quality Total Downloads License

Artisan command for Traits

Laravel Trait is a simple artisan command that generates Trait in your app.

Installation

You can install the package via composer:

composer require luigel/laravel-trait

Usage

How to Generate Trait

# Huggable.php will be created in App\Traits\Huggable.php
php artisan make:trait Huggable

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 rigel20.kent@gmail.com instead of using the issue tracker.

Credits

License

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