2017 © Pedro PelĂĄez
 

library scaffolder

Laravel scaffolder

image

codificar/scaffolder

Laravel scaffolder

  • Tuesday, June 19, 2018
  • by codificar
  • Repository
  • 3 Watchers
  • 1 Stars
  • 134 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 2 Versions
  • 46 % Grown

The README.md

Laravel scaffolder based on Laravel scaffolder by mpaleo

Scaffolder for laravel Software license Quality score Laravel version Waffle board, (*1)

Remove the headache of creating over and over again the base code for most of your projects. Scaffolder is tailored following the principle that the development process must be a happy thing so, code and enjoy ! You are free to extend it the way you need. This package only generate things that you need to start, always keeping the code clean and abstract. Are you hungry ? Fork it !, (*2)

Installation

  1. Get laravel up and running
  2. Add the following packages to your composer.json, (*3)

    "laravelcollective/html": "5.1.*",
    "yajra/laravel-datatables-oracle": "~5.0",
    "codificar/scaffolder-theme-material": "dev-master",
    "codificar/scaffolder": "dev-master",
    
  3. Update your packages, (*4)

    ```bash composer update ````, (*5)

  4. Add the service providers to the providers array in {laravel-root}\config\app.php, (*6)

    ScaffolderTheme\ScaffolderThemeServiceProvider::class,
    Scaffolder\ScaffolderServiceProvider::class,
    yajra\Datatables\DatatablesServiceProvider::class,
    
  5. Add the following aliases in {laravel-root}\config\app.php, (*7)

    'Form'       => Collective\Html\FormFacade::class,
    'Html'       => Collective\Html\HtmlFacade::class,
    'Datatables' => yajra\Datatables\Datatables::class,
    

Getting started

First you need to publish the configuration files and assets, (*8)

./artisan vendor:publish --provider="Scaffolder\ScaffolderServiceProvider"
./artisan vendor:publish --provider="ScaffolderTheme\ScaffolderThemeServiceProvider" --force

Here we are using the theme codificar/scaffolder-theme-material, but you can fork it, and do whatever you want/need :), (*9)

At this point, you already can start to scaffold things. You have two ways to use the package., (*10)

Command line way (Hardcore devs)

When you execute the artisan publish command, the service provider creates the folder {laravel-root}\scaffolder-config that has the following structure:, (*11)

- scaffolder-config
-- app.json
-- models
-- cache

The app.json file contains global settings, also you will get some demo files for models. All you need to scaffold an application is to edit the app.json file, and create the json files for the models you want. After you have all the files ready, you have the following commands:, (*12)

This command generate the application using the files that you have provided., (*13)

./artisan scaffolder:generate

For instance, when you update the package, you should clear the cache files stored in {laravel-root}\scaffolder-config\cache, (*14)

./artisan scaffolder:cache:clear
User interface way (Lazy devs)

All you need to do, is go to your http://{crazyhost}/scaffolder/generator and fill some inputs :), (*15)

Next steps

Check out the wiki to get more information about things that you need to know, (*16)

Contributing

Just let me know your ideas and let's work together, (*17)

License

The scaffolder package is licensed under the MIT license, (*18)

The Versions

19/06 2018

1.0

1.0.0.0

Laravel scaffolder

  Sources   Download

MIT

The Requires

 

The Development Requires

by Michael Paleo
by Raphael Canguçu

laravel crud generator migration model scaffold seed

08/05 2018

dev-master

9999999-dev

Laravel scaffolder

  Sources   Download

MIT

The Requires

 

The Development Requires

by Michael Paleo
by Raphael Canguçu

laravel crud generator migration model scaffold seed