Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frqnck/apix-autoloader
Light PSR-* compliant autoloader for PHP5.3+ namespaces and older PEAR-style classes.
https://github.com/frqnck/apix-autoloader
Last synced: 4 months ago
JSON representation
Light PSR-* compliant autoloader for PHP5.3+ namespaces and older PEAR-style classes.
- Host: GitHub
- URL: https://github.com/frqnck/apix-autoloader
- Owner: frqnck
- License: other
- Created: 2013-01-10T20:41:50.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-22T13:27:09.000Z (almost 12 years ago)
- Last Synced: 2024-04-23T10:54:01.089Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 114 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
APIx Autoloader, PSR-0 for PHP5.3+
==================================Apix Autoloader is a light [PSR-0][] compliant autoloader which can autoload both PHP5.3 namespaces and older PEAR-style classes.
Basic usage
--------------* At its most basic, it will autoload PSR-0 complient class names in the current include-path:
```php
prepend('path/my/libs')
->prepend('path/vendors')
->append('some/other/path');$loader->register(true); // True to take precedence on registered autoloaders.
// False (the default) to follow the stack order.
```Installation
------------* If you are creating a component that relies on Apix Autoloader locally:
* either update your **`composer.json`** file:
```json
{
"require": {
"apix/autoloader": "1.0.*"
}
}
```* or update your **`package.xml`** file as follow:
```xml
apix_autoloader
pear.ouarz.net
1.0.0
1.999.999
```
* For a system-wide installation, use PEAR as follow:```
sudo pear channel-discover pear.ouarz.net
sudo pear install --alldeps ouarz/apix_autoloader
```
Checkout [pear.ouarz.net](http://pear.ouarz.net) for more details.License
-------
Apix Autoloader is licensed under the New BSD license -- see the `LICENSE.txt` for the full license details.[PSR-0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
[PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md