Skip to content

alibori/laravel-file-generator

Repository files navigation

Laravel File Generator Package

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.

About

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

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Languages