Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jhayann/simple-php
Browse files Browse the repository at this point in the history
  • Loading branch information
yourjhay committed Jun 22, 2019
2 parents e5838f7 + f3e79a9 commit 0fc4a8b
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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...


Expand Down

0 comments on commit 0fc4a8b

Please sign in to comment.