Laravel Pipe Dream is a dev package by Anders Jürisoo to create Laravel application schemas rapidly:
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.
Here’s a two-minute introduction video to see Pipe Dream in action:
The gist of it is that you start with a “sketch syntax,” which is a straightforward text that defines your schema and relationships. For example:
1// use PascalCase for models2Garage3location4capacity56// Separate your entities into chunks7Car8color9user_id // foreign key1011// use snake_case model1_model2 to setup a ManyToMany relationship12car_garage1314// use button to add a default user system15User16name17email18email_verified_at19password20remember_token2122// use snake_case to create a table23password_resets24email25token
Pipe Dream uses the text to generate a schema and creates the files based on the schema you provide (which is editable). You can also edit the generated files by hand before you generate them and manage templates used to create files on disk.
To learn more about the full capabilities of this package, including source code, documentation, and examples, check out the project on GitHub at pipe-dream/laravel.