GitHub - pipe-dream/laravel: Create Laravel projects really fast
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.
readme.md
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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK