快速创建Laravel项目
快速创建新的Web项目。 通过以草图/实体列表的形式为Pipe Dream提供最少的输入,它将预测您的应用程序架构并将其提供给一组管道。 这些管道将生成快速入门所需的所有文件。
PHP 开发框架
共1340Star
详细介绍
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
Install Pipe Dream
composer require --dev pipe-dream/laravel-create
Install the Laravel File Factory
npm install --dev @pipe-dream/laravel-file-factory
More File Factories can be found here
Build Pipe Dream
php artisan pipedream:build
Thats it, now open your browser and go to /pipe-dream
and start designing.
Usage
If you havent already, watch the 2 minute video.
- List your models and tables in the sketch window. Note the schema is created in real-time and is being displayed on the right side of the screen.
- 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 list of files that are going to be created.
- Commit the files to disk.
- You are now ready to migrate and seed. Go ahead and check out the API (at
/api
), that contains placeholder values
Contributing
PRs and issues are welcome. In addition to the issue section we have a Trello board listing things that we need help with. To get started and to learn more about the platform check out pipe-dream/docs
License
MIT
Stay tuned!
Follow me on twitter: @ajthinking
-
3 Star
-
3 Star
-
8 Star
-
102 Star
-
44 Star
-
1163 Star
-
81 Star
-
39 Star