2017 © Pedro Peláez
 

library laravel-tools

Laravel Tools

image

saritasa/laravel-tools

Laravel Tools

  • Tuesday, May 1, 2018
  • by saritasa
  • Repository
  • 4 Watchers
  • 0 Stars
  • 145 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 8 Open issues
  • 18 Versions
  • 138 % Grown

The README.md

Laravel Tools

Build Status CodeCov Release PHPv Downloads, (*1)

This package was designed to help developers scaffold parts of code for Laravel-based projects., (*2)

Installation and configuration

Install the saritasa/laravel-tools package as dev dependency:, (*3)

$ composer require saritasa/laravel-tools --dev

If you use Laravel 5.4 or less, or 5.5+ with package discovery disabled, add the LaravelToolsServiceProvider in AppServiceProvider.php:, (*4)

    public function register()
    {
        if ($this->app->environment() === 'local') {
            // If we are in local environment, enable some developer's tools
            ...
            $this->app->register(LaravelToolsServiceProvider::class);
            ...
        }
    }

Publish config with, (*5)

$ artisan vendor:publish --tag=laravel_tools

Available artisan commands

artisan make:form_request ModelName FormRequestName

Allows to generate FormRequest class with rules based on model's attributes., (*6)

artisan make:dto ModelName DtoName

Allows to generate DTO class with properties based on model's attributes., (*7)

artisan make:api_routes

Allows to build API routes declaration based on swagger specification., (*8)

artisan make:api_controllers

Allows to scaffold API Controllers with actions based on swagger specification., (*9)

Documentation

Please, read our WIKI for complete documentation., (*10)

Known issues

What's next?

What need to improve: 1. Declare only necessary packages in composer.json instead of entire laravel, (*11)

Contributing

See CONTRIBUTING and Code of Conduct, if you want to make contribution (pull request) or just build and test project on your own., (*12)

Resources

The Versions

27/04 2018
28/03 2018

dev-feature/dto-with-getters-setters

dev-feature/dto-with-getters-setters https://github.com/Saritasa/php-laravel-tools

Laravel Tools

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladimir Berdnik

php saritasa

13/03 2018
13/03 2018
12/03 2018
12/03 2018
10/03 2018
10/03 2018
10/03 2018
10/03 2018