48

GitHub - pipe-dream/laravel: Create Laravel projects really fast

 5 years ago
source link: https://github.com/pipe-dream/laravel
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

readme.md

Latest Stable Version Total Downloads License

Create new web projects really fast. By giving Pipe Dream a minimum of input in form of a sketch/entity list it will predict your application schema and feed it into a set of pipes. These pipes will generate all the files needed to get started really quick.

video_splash_joke.png

Installation

composer require --dev pipe-dream/laravel

Thats it, now open your browser and go to /pipe-dream and start designing.

Usage

If you havent already, watch the 2 minute video here.

  • List your models and tables in the sketch window. Note the schema automatically created to the right.

design.png

  • Here are some pointers on the sketch syntax
// use PascalCase for models
Garage
location
capacity

// Separate your entities into chunks
Car
color
user_id // foreign key

// use snake_case model1_model2 to setup a ManyToMany relationship
car_garage 

// use button to add a default user system
User 
name
email
email_verified_at
password
remember_token

// use snake_case to create a table
password_resets
email
token
  • Review the files to be created.

review.png

  • Commit the files to disc.

build.png

  • You are now ready to migrate and seed. Check out the API with placeholder values at /api

api.png

Alfa disclaimer

This package is still very much in development. Please post issues and send PRs.

License

MIT


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK