fligno/boilerplate-generator

Boilerplate Generator for Laravel and Laravel Packages

2.7.0 2023-03-17 08:52 UTC

README

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

Note: If you haven't set up your Gitlab Personal Access Token for Composer yet, please follow this instruction.

$ composer config repositories.git.fligno.com/440 '{"type": "composer", "url": "https://git.fligno.com/api/v4/group/440/-/packages/composer/packages.json"}'
$ composer req fligno/boilerplate-generator:^1.0.0 --dev

Usage

List of fligno commands

List of gen commands

Change log

Please see the changelog for more information on what has changed recently.

Testing

There would be 2 Packages inside your Laravel Project: boilerplate-generator and <dummy package you will create>.

  1. Create a Dummy Package for Testing:

    $ php artisan fligno:package:create Dummy Package
  2. Proceed to Testing

    $ php artisan fligno:test

    or

    $ php artisan fligno:test -p

    It would probably be the same as below

    Choose target package [Laravel]:
    
    [0] Laravel
    [1] dummy/package
    [2] fligno/boilerplate-generator

    Choose the dummy/package you created earlier by entering its corresponding number. In this case, [1].

  3. Wait for the Test to Finish. To further verify, your dummy/package Package should contain "Random"-named Files including Class, Event, Route, etc.

  4. Upon successful testing, you can now remove the Dummy Package you create by using

     $ php artisan fligno:package:remove Dummy Package

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email jamescarlo.luchavez@fligno.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.