From 30c29bb2ee6ba385f1607b1223bf960922f6da6f Mon Sep 17 00:00:00 2001 From: Raphael Heitor Date: Sat, 25 Jun 2016 13:53:42 -0400 Subject: [PATCH] added new features on readme --- readme.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/readme.md b/readme.md index 172a123..88621a0 100644 --- a/readme.md +++ b/readme.md @@ -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)