Download the PHP package saritasa/laravel-tools without Composer
On this page you can find all versions of the php package saritasa/laravel-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download saritasa/laravel-tools
More information about saritasa/laravel-tools
Files in saritasa/laravel-tools
Package laravel-tools
Short Description Laravel Tools
License MIT
Homepage https://github.com/Saritasa/php-laravel-tools
Informations about the package laravel-tools
Laravel Tools
This package was designed to help developers scaffold parts of code for Laravel-based projects.
Installation and configuration
Install the package as dev dependency:
If you use Laravel 5.4 or less,
or 5.5+ with package discovery disabled,
add the LaravelToolsServiceProvider in AppServiceProvider.php
:
Publish config with
Available artisan commands
artisan make:form_request ModelName FormRequestName
Allows to generate FormRequest class with rules based on model's attributes.
artisan make:dto ModelName DtoName
Allows to generate DTO class with properties based on model's attributes.
artisan make:api_routes
Allows to build API routes declaration based on swagger specification.
artisan make:api_controllers
Allows to scaffold API Controllers with actions based on swagger specification.
Documentation
Please, read our WIKI for complete documentation.
Known issues
- Enum DB type is casted as String via custom doctrine mapping
- Tinyint type is casted by Doctrine as Boolean
What's next?
What need to improve:
- Declare only necessary packages in composer.json instead of entire laravel
Contributing
See Code of Conduct, if you want to make contribution (pull request) or just build and test project on your own.
Resources
- Changes History
- Bug Tracker
- Authors
All versions of laravel-tools with dependencies
doctrine/dbal Version ^2.6
laravel/framework Version ^5.4
saritasa/php-common Version ^1.1
saritasa/transformers Version ^1.0
symfony/yaml Version ^4.0
wakeonweb/swagger Version dev-master