Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 98 | All time: 9,836 This week: 673![]() |
Version | License | PHP version | Categories | |||
routejs 1.0.0 | MIT/X Consortium ... | 5 | HTTP, PHP 5 |
PHP and JavaScript route for hash module.
"require": {
"symfony/yaml": "^4.0"
}
"dependencies": {
"ajaxsim": "^1.0.0"
}
_Installation_
php: $~ composer require kolserdav/routejs
js: $~ npm i route-fhash
_Route settings_
file name: /config/route/routes.yaml
#Example routes.yaml
nameroutegroup1 : #Require field custom name
hash: #Require field and name
nameroute1 : filename1::module1 #Custom fields with special format
nameroure2 : filename2::module2
nameroutegroup2 :
hash :
nameroute3 : filename3::module3
nameroute4 : filename4::module4
nameroute4 : filename4::module5
_Using php_
script uri: /routejs-data
require_once '../vendor/autoload.php';
use Avir\Hash\Reader;
$s = new Reader();
$s->getRoutes();
_Using javascript_
let route = require('route-fhash');
route('dir/with/route/files');
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
Data | Auxiliary data | ||
![]() |
Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.