alibori/laravel-file-generator

Package to create custom files that doesn't have default stub.

v1.0.1 2023-03-31 13:20 UTC

This package is auto-updated.

Last update: 2024-04-30 00:56:50 UTC


README

Latest Version on Packagist run-tests PHPStan Total Downloads

Package to create custom files that doesn't have default stub.

Installation

You can install the package via composer:

composer require alibori/laravel-file-generator --dev

You can publish the config file with:

php artisan vendor:publish --tag="file-generator-config"

Optionally, you can publish the stubs using

php artisan vendor:publish --tag="file-generator-stubs"

Usage

php artisan file-generator:generate {type} {name}

Available types

  • service
  • repository (This will make an interface too).
  • action
  • response

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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