Skip to content

Commit

Permalink
added new features on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelheitor committed Jun 25, 2016
1 parent 75140ef commit 30c29bb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,21 @@ And don't forget to run:
php artisan migrate
```

### Other Examples (new)

```
php artisan make:scaffold Tweet --schema="title:string:default('Tweet #1'), body:text" --prefix="admin"
```
Same as above with use of the prefix. It will create the prefix in redrects of controller and the links of views.

```
php artisan make:scaffold Tweet
```
Create the empty scaffold: views, controller, seed, migration and model.
```
php artisan make:scaffold Tweet --prefix="admin"
```
Create the empty scaffold (with prefix): views, controller, seed, migration and model.

## Scaffold
![image](http://i62.tinypic.com/11maveb.png)
Expand Down

0 comments on commit 30c29bb

Please sign in to comment.