Natural PHP Library Toolkit.

Open source auto-loaded library system for php.

NaturePHP is a classes wrapper using PHP's autoload to create a non-intrusive, simple, organized and extensible library system.

NaturePHP Pack V0.4
Stable
NaturePHP Pack Why?
Features
Only one file with a few lines of code to include at runtime;
Autoloads classes from the library on class instance or method call;
Simple library system - each class is a file;
A collection of essential plugins;
NaturePHP Library Management UI - download and install plugins directly from the website; (rescheduled for v0.5)

See all the details here
PHP is great.
The problem is everything is scattered around the web: frameworks, classes, snippets, etc.

Many of these restrict you to work "their way" and most take up much unnecessary memory with all the includes they require at startup, even if you only really need a couple of functions.

Up to now there is no efficient system gathering all these functionalities in a simple to use library - this is where NaturePHP comes in.
So what does NaturePHP bring to the picture?
NaturePHP acts a bit like python's standard modules system but without needing the "import lib" thing - __autoload() takes care of this.

It only requires one small file for all library contents to be available at runtime. From this point on all functionalities in the library are available, just call one whenever you need to - don't worry, they are auto-loaded only when you call them.

NaturePHP is standard php, not a php extension - it does not require any specific installation.
How does it work? What's the catch?
→ You include('nphp/init.php'); into runtime;
→ You instance any new Class(); or call Class::Method(); and NaturePHP automatically loads the class for you. (if not yet loaded)

There is no limit to how many classes you can have in your library, each class is a file.

To set a class available to NaturePHP, just drop it on the library folder and it's working - or you can use the NaturePHP Library Management UI to search, download and install NaturePHP plugins (rescheduled for v0.5).
Everything's got a catch.

NaturePHP uses PHP's __autoload() so you you won't be able to use it anymore. But you can just drop the auto-loaded classes into "nphp/libs/" - so you really don't need __autoload() anymore.