Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pipe-dream/laravel-create
Create Laravel projects really fast
https://github.com/pipe-dream/laravel-create
code-generation composer-package laravel pipe-dream
Last synced: 8 days ago
JSON representation
Create Laravel projects really fast
- Host: GitHub
- URL: https://github.com/pipe-dream/laravel-create
- Owner: pipe-dream
- Archived: true
- Created: 2019-05-24T09:08:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-05T16:59:31.000Z (about 4 years ago)
- Last Synced: 2024-03-15T09:35:08.781Z (8 months ago)
- Topics: code-generation, composer-package, laravel, pipe-dream
- Language: PHP
- Homepage:
- Size: 13.9 MB
- Stars: 1,310
- Watchers: 39
- Forks: 110
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome - pipe-dream/laravel-create - Create Laravel projects really fast (PHP)
README
[![Latest Stable Version](https://img.shields.io/packagist/v/pipe-dream/laravel-create.svg)](https://packagist.org/packages/pipe-dream/laravel-create)
[![Total Downloads](https://img.shields.io/packagist/dt/pipe-dream/laravel.svg)](https://packagist.org/packages/pipe-dream/laravel)
[![License](https://img.shields.io/packagist/l/pipe-dream/laravel-create.svg)](https://packagist.org/packages/pipe-dream/laravel-create)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
```bash
composer require --dev pipe-dream/laravel-create
```Install the Laravel File Factory
```bash
npm install --dev @pipe-dream/laravel-file-factory
```
More File Factories can be found [here](https://github.com/topics/pipe-dream-file-factory)Build Pipe Dream
```bash
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](https://www.youtube.com/watch?v=doUlmZdvP1o).* 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
```js
// 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_verified_at
password
remember_token// use snake_case to create a table
password_resets
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](https://trello.com/b/R11mhfdy/pipe-dream) listing things that we need help with.
To get started and to learn more about the platform check out [pipe-dream/docs](https://github.com/pipe-dream/docs)## License
MIT## Stay tuned!
Follow me on twitter: [@ajthinking](https://twitter.com/ajthinking)