RequirePHP tries to implement the same principles used in the development of the famous RequireJS JavaScript module loader.
RequirePHP will help you improve the maintainability of your PHP application by using configuration files for loading desired versions of desired libraries.
Changing a few lines of code in these configuration files easily changes the entire environment of your code, without having to manually move files around yourself.
This also helps developers in testing their applications, allowing them to easily find the minimum requirements of their code, while also helping them implement easy testing and stubbing procedures.
RequirePHP can be used at runtime as well, loading one or more modules with just a few lines of code, and also not executing your own code until the required external code loads properly.
This way you can easily make changes in your code at any point, without hurting the underlying file structure.
What is new in this release:
- When you update to this, you'll have to update your calls from R:: to RequirePHP::.
What is new in version 1.2.0:
- Namespaced classes in this release. Now accessible through \SciActive\R instead of RPHP.
Comments not found