Laravel Pipe Dream

Laravel Pipe Dream

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


Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Mid / Sen. Software Engineer
Clearwater, FL
ShineOn
Remote PHP / Laravel Developer
Remote
SpringboardVR
Senior PHP/Laravel Developer: Your Dream Work Environment
Remote
iPhone Photography School
Senior Laravel Developer
Leidseplein, Amsterdam
Orderchamp.com
PHP Developer
Remote
X-Team
Senior Laravel Developer (Canada and India)
London, Ontario, Canada
Factory Bucket Inc.
Laravel, PHP, PostgreSQL, Neo4J Developer
Pune, India (intern in Denver, CO)
Life AI