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.
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.
- 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.
- Commit the files to disc.
- You are now ready to migrate and seed. Check out the API with placeholder values at
/api
Alfa disclaimer
This package is still very much in development. Please post issues and send PRs.
License
MIT