Updates for PHP Autoload Manager

In: PHP

23 Mar 2010

Thanks to Pierrick, some new minor fixes and enhancements have been added to the PHP autoloadManager.

You may find the updated version on github :

http://github.com/alfallouji/PHP-Autoload-Manager

Documentation has been updated also (Please take a look at the README file).

  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

1 Response to Updates for PHP Autoload Manager

Avatar

Jim Osborne

November 24th, 2011 at 11:14 am

Downloaded PHP-Autoload-Manager from github yesterday and tested in line with README file. It did not work out of the box.

Eventually got it to generate array in ‘SaveFile’ by adding ‘$this->generate();’ at end of function ‘register’

Used the following test code:

$autoloadManager = new AutoloadManager();
$autoloadManager->setSaveFile(’autoload.php’);
$autoloadManager->addFolder(’BridgeDesignPattern’);
$autoloadManager->register();

Is that all that is required?

Comment Form

Who am I?

My name is Bashar Al-Fallouji, I work as a Service Architect at Origin Energy (Sydney, Australia).

I am particularly interested in Cloud Computing, Web applications, Open Source Development, Software Engineering, Information Architecture, Unit Testing, XP/Agile development, etc.

On this blog, you will find mostly technical articles and thoughts around PHP, OOP, OOD, Unit Testing, etc. I am also sharing a few open source tools and scripts.

  • dipan: Hi Bashar It's really awesome that you wrote this code. IT'll save tones of time of all developer. [...]
  • Bashar: Glad that you liked it ! [...]
  • Angel S. Moreno: well, there goes wasting a couple of hours of development and a couple of days of testing. I owe you [...]
  • Bashar: Thats right, the setSaveFile create a files containing an associative array of classname => filen [...]
  • Loggy: Jim's clarification in particular was pretty useful although I did have to dig down into the tree to [...]