readme and comment updates
This commit is contained in:
@ -5,10 +5,12 @@ Hermes is a small package to handle redirects, routing, and autoloading. This li
|
||||
|
||||
## Installation
|
||||
|
||||
To install simply use the composer command:
|
||||
To install, simply use the composer command:
|
||||
|
||||
`php composer.phar require thetempusproject/hermes`
|
||||
|
||||
`composer require thetempusproject/hermes`
|
||||
|
||||
## Usage
|
||||
|
||||
Typical usage would be through including the package via composer.
|
||||
@ -45,9 +47,7 @@ if ( ! defined( 'HERMES_AUTOLOADED' ) ) {
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! App::$isAdmin ) {
|
||||
return Redirect::home();
|
||||
}
|
||||
Redirect::home();
|
||||
|
||||
```
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Uses the Hermes autoloader if it has been defined.
|
||||
*
|
||||
* @version 1.0.4
|
||||
* @version 1.0.5
|
||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
||||
* @link https://TheTempusProject.com/libraries/Hermes
|
||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* This should provide a simple way to add autoloading.
|
||||
*
|
||||
* @version 1.0.4
|
||||
* @version 1.0.5
|
||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
||||
* @link https://TheTempusProject.com/libraries/Hermes
|
||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* This class is used for header modification and page redirection.
|
||||
*
|
||||
* @version 1.0.4
|
||||
* @version 1.0.5
|
||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
||||
* @link https://TheTempusProject.com/libraries/Hermes
|
||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* This class is used to return file and directory locations.
|
||||
*
|
||||
* @version 1.0.4
|
||||
* @version 1.0.5
|
||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
||||
* @link https://TheTempusProject.com/libraries/Hermes
|
||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
||||
|
Reference in New Issue
Block a user