Recommend this page to a friend! |
Classes of John Diaz | PHP Silex REST Multi Lazy Load | README.md | Download |
|
Downloadsilex-rest-api-multi-lazyloadThis is a SILEX based Rest API with module lazy load, it uses micro services and has authentication. It uses token authentication and is useful for Angularjs Applications, it also uses Yandex service to translate strings for internationalization. This api can be used for exposing different web services, that means that every service can have its own workspace and database configuration, it is built in a modular fashion, where removing any part won't affect the whole functionality. Api Refecencehttps://secureaudit.co/api-docs For multiple API interfaces, just create a new dir:
.htaccess file contents:
index.php contents:
Create a prod2.php config file under ./config/ _About the Lazy Load._ This rest API uses lazy loading for services, it has a Factory pattern implemented so all naming conventions must be kept for controllers and services. Do the following to run:
Run tests:
Point to:
HTTP Request Headers:
License see LICENSE file. Authentication method:
How to generate passwords
Login Headers, company token:
I owe you unit tests, sorry, test writers are welcome!!, any questions just contact me. |