EARLY STALLED EXPLORATION
Status: DEV - API will likely change somewhat.
The PINF PHP Loader combines what you would traditionally call a package installer and class loader and is intended to be used as the core to all your PHP applications.
The loader allows for bootstrapping a state-of-the-art, consistent and portable modular environment for PHP with the ability to load third party PHP packages from PEAR and other communities that follow typical PHP class naming conventions.
The loader brings CommonJS Packages, CommonJS Package Mappings and further concepts to the PHP platform.
The loader implements or is compatible with the following specs:
- CommonJS Packages/1.1 (draft)
- CommonJS Packages/Mappings/C (proposal)
- PHP Framework Interop Group (FIG): Autoloader interoperability (PSR-0)
For more information about the direction this loader is taking see the JavaScript implementation.
php
- PHP with extensions:curl
zip
zlib
PHPUnit Tests:
cd ./tests
phpunit PINF
Questions
- How do you tell PHPUnit to disable output buffering when running tests?
- Mailing list: http://groups.google.com/group/pinf-dev/
- Twitter: http://twitter.com/pinf
- Blog: http://christophdorn.com/Blog/
Collaboration Platform: https://github.com/pinf/loader-php/
Collaboration Process:
- Discuss your change on the mailing list
- Write a patch on your own
- Send pull request on github & ping mailing list
- Discuss pull request on github to refine
You must explicitly license your patch by adding the following to the top of any file you modify in order for your patch to be accepted:
// - <GithubUsername>, First Last <Email>, Copyright YYYY, MIT License
This project is a part of the PINF project maintained by Christoph Dorn.
Creative Commons Attribution-NonCommercial-ShareAlike 3.0
Copyright (c) 2011+ Christoph Dorn
Copyright (c) 2011+ Christoph Dorn
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.