All Projects → mpaleo → scaffolder

mpaleo / scaffolder

Licence: MIT License
Scaffold out a laravel application. Craft your next application easier and faster

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to scaffolder

laravel-scaffold-v1
The base for developing awesome projects
Stars: ✭ 15 (-6.25%)
Mutual labels:  scaffold
generator-omaha
Yeoman generator designed to help you craft sustainable code for the modern web
Stars: ✭ 12 (-25%)
Mutual labels:  scaffold
drevops
💧 + 🐳 + ✓✓✓ + 🤖 + ❤️ Build, Test, Deploy scripts for Drupal using Docker and CI/CD
Stars: ✭ 55 (+243.75%)
Mutual labels:  scaffold
wordpress-scaffold
The scaffold for GRRR's WordPress Pro setup.
Stars: ✭ 16 (+0%)
Mutual labels:  scaffold
moon-cli
✨ Easily scaffold a Moon project
Stars: ✭ 27 (+68.75%)
Mutual labels:  scaffold
generator-veams
Scaffold modern frontend web apps or web pages with a static site generator (Assemble or Mangony), Grunt and/or Gulp, Sass and Bower. Use modern frameworks like Bourbon, Bootstrap or Foundation and structure your JavaScript with ES Harmony support.
Stars: ✭ 45 (+181.25%)
Mutual labels:  scaffold
uniapp-scaffold
基于Vue.js的跨平台小程序脚手架、设计语言、组件库及插拔式模板
Stars: ✭ 87 (+443.75%)
Mutual labels:  scaffold
brutal
A code-first approach to automate the writing of unit tests.
Stars: ✭ 54 (+237.5%)
Mutual labels:  scaffold
dr scaffold
scaffold django rest apis like a champion 🚀
Stars: ✭ 116 (+625%)
Mutual labels:  scaffold
koa2-rest-scaffold
Koa2 RESTful API 脚手架。
Stars: ✭ 27 (+68.75%)
Mutual labels:  scaffold
go-echo-server-sandbox
A scaffold of golang web server using labstack/echo
Stars: ✭ 12 (-25%)
Mutual labels:  scaffold
choo-cli
Command line scaffolding tools for choo
Stars: ✭ 65 (+306.25%)
Mutual labels:  scaffold
create-nodejs-ts
Starter Project for Node.js With TypeScript.
Stars: ✭ 34 (+112.5%)
Mutual labels:  scaffold
g5-component
Event based Browserify component scaffold. ⚾
Stars: ✭ 15 (-6.25%)
Mutual labels:  scaffold
tfstage
TFStage: TensorFlow Project Scaffolding
Stars: ✭ 64 (+300%)
Mutual labels:  scaffold
VineRelayStore
🔥 VineRelay is Content Management Boilerplate which enables you to quickly scaffold a shop with the basic features using React, Relay and GraphQL.
Stars: ✭ 16 (+0%)
Mutual labels:  scaffold
django-naqsh
Naqsh is a bootstrapping tool for quickly creating production-ready Django web services.
Stars: ✭ 47 (+193.75%)
Mutual labels:  scaffold
makeapp
Simplifies Python application rollout and publishing.
Stars: ✭ 12 (-25%)
Mutual labels:  scaffold
reph
Phoenix/React application starter kit
Stars: ✭ 15 (-6.25%)
Mutual labels:  scaffold
slush-vertx
No description or website provided.
Stars: ✭ 36 (+125%)
Mutual labels:  scaffold

Laravel scaffolder

Scaffolder for laravel Software license Laravel version Waffle board Gitter chat

Remove the headache of creating over and over again the base code for most of your projects. 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 !

Installation

  1. Get laravel up and running

  2. Add the following packages to your composer.json

    ...
    "laravelcollective/html": "5.2.*",
    "yajra/laravel-datatables-oracle": "~6.0",
    "mpaleo/view-tags": "~1.0",
    "mpaleo/scaffolder-theme-material": "~1.0",
    "mpaleo/scaffolder": "~2.0",
    ...
  3. Update your packages

    composer update
  4. Add the service providers to the providers array in {laravel-root}\config\app.php

    ...
    ViewTags\ViewTagsServiceProvider::class,
    ScaffolderTheme\ScaffolderThemeServiceProvider::class,
    Scaffolder\ScaffolderServiceProvider::class,
    Yajra\Datatables\DatatablesServiceProvider::class,
    ...
  5. Add the following aliases in {laravel-root}\config\app.php

    ...
    'ViewTags'   => ViewTags\ViewTags::class,
    'Form'       => Collective\Html\FormFacade::class,
    'Html'       => Collective\Html\HtmlFacade::class,
    ...

Getting started

First you need to publish the configuration files and assets

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

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

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

Command line way

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

- 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:

This command generate the application using the files that you have provided.

./artisan scaffolder:generate

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

./artisan scaffolder:cache-clear
User interface way

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

Next steps

Contributing

Just let me know your ideas and let's work together

Coding style

It would be great if we follow the PSR-2 coding standard and the PSR-4 autoloading standard.

License

The scaffolder package is licensed under the MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].