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:
// 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
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.Filed in: News
Join 31,000+ others and never miss out on new tips, tutorials, and more.
A Package to Help set up SEO in Your Laravel Project
Easily set up SEO in your Laravel applications with the code4mk/lara-head package by Mostafa Kamal.
Git Stash and Rebase in GitHub Desktop 2.0
GitHub released GitHub Desktop 2.0, the next major version of their Git GUI client. This release includes two of the…