From f3e79a940e7be95006ddb557edb0ec04a58b70fa Mon Sep 17 00:00:00 2001 From: "Rey Jhon A. Baquirin" Date: Sat, 22 Jun 2019 23:40:30 +0800 Subject: [PATCH] Update README.md --- README.md | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index f276c4c..7c863a2 100644 --- a/README.md +++ b/README.md @@ -24,17 +24,6 @@ The Simple PHP is lightweight web application framework. - [TwigTemplateEngine](https://twig.symfony.com) # Installation -Via Git: -``` -git clone https://gitlab.com/jhayann/simple.git -``` -Then run this 2 commands: -``` -cd simple-php - -composer update -``` - Via Composer: (recommended) ``` composer create-project reyjhon/simple-php @@ -146,6 +135,27 @@ example: - **\bSHOW|\bEDIT|\bUPDATE** accepts _show_, _edit_ and _update_ (case insensitive). - You can set your own regex. +## CLI +Simply PHP has a CLI utility. + +To create a controller: +``` +php cli MakeController ControllerName +``` + +To create a model: +``` +php cli MakeModel ModelName +``` + +# Authentication +Simply PHP provides a quick way to scaffold all of the routes and views you need for authentication using one simple command: +``` +php cli MakeAuth +``` + + + ## Documentation will be updated soon...