Resource Loader for PHP Web Applications

I wrote a resource loader class for PHP web applications. The class will help to manage loading of JavaScripts and CSSs we include within our web pages. Usually these JavaScripts and CSSs have dependencies with other scripts and or CSSs. For example, we have to load jQuery script file before any script that utilise jQuery functionalities within the code. And we have to ensure that we are including the scripts in the correct order.