Aperiplus

A unit-tested, OOP library for php5.

If I find a general-purpose class which isn't specific to the current project, it gets dumped in a separate utility library. This is it.

Aperiplus is up on sourceforge primarily because it's needed for Rephactor. I'm not really expecting any interest apart from that. This is an experimental library and will probably stay that way for some time to come. The bits with documentation (see links below) should have a stable API but anything else might not.

If you use SimpleTest you might like to take a look at the SimpleTest extensions. These are mainly concerned with testing around the application boundary. There are test cases and expectation classes for data access, filesystem, shell, and subversion tests - see docs.

Download

No releases as yet but you can checkout the latest subversion revision from the sourceforge project page.

Installing

  1. Add Aperiplus and Phemto to your include path.
  2. If you want to run the tests, create an 'aperiplus/config.php' file using the template 'aperiplus/config-sample.php'. Subversion repositories are created (and then deleted) for some test fixtures so you'll want to add one of your public keys (with no passphrase) to your own ~/.ssh/authorized_keys file to avoid all the password prompts. The runner script (aperiplus/test.php) is command line only at present. See Docs for more info.

Support GoPHP5.org Aperiplus supports the go php5 initiative. As a new project, I don't have older versions to support and from the start I've assumed a minimum of v5.2.

Docs

SimpleTest Extensions

Also:

Contact

You can get in touch via the Aperiplus mailing list. My name is Noel Darlow. You might have met me online under the name mcgruff.

Acknowledgements

Thanks to the developers of Phemto and SimpleTest both of which are used in the Aperiplus library, and to the project host sourceforge.

SourceForge.net Logo