• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

pipe-dream/laravel-create: Create Laravel projects really fast

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

pipe-dream/laravel-create

开源软件地址(OpenSource Url):

https://github.com/pipe-dream/laravel-create

开源编程语言(OpenSource Language):

PHP 74.5%

开源软件介绍(OpenSource Introduction):

Latest Stable Version Total Downloads License

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

Help me continue this work | Patreon




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap