2 Commits
1.0.4 ... main

Author SHA1 Message Date
802581b1d2 readme and comment updates 2025-02-02 18:22:15 -05:00
1093d127bf composer updates 2025-02-02 07:47:24 -05:00
6 changed files with 12 additions and 11 deletions

View File

@ -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();
```

View File

@ -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]

View File

@ -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]

View File

@ -6,12 +6,13 @@
"minimum-stability": "dev",
"keywords":
[
"thetempusproject",
"php",
"tools",
"routing",
"thetempusproject"
"autoloader",
"routing"
],
"homepage": "https://git.thetempusproject.com/the-tempus-project/hermes",
"homepage": "https://thetempusproject.com/libraries/hermes",
"authors":
[
{

View File

@ -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]

View File

@ -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]