Skip to content

pinf/loader-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EARLY STALLED EXPLORATION

PHP Module, Package & Program Loader

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:

For more information about the direction this loader is taking see the JavaScript implementation.

Requirements

  • php - PHP with extensions:
    • curl
    • zip
    • zlib

Development

PHPUnit Tests:

cd ./tests

phpunit PINF

TODO

Questions

  • How do you tell PHPUnit to disable output buffering when running tests?

Support, Feedback & News

Contribute

Collaboration Platform: https://github.com/pinf/loader-php/

Collaboration Process:

  1. Discuss your change on the mailing list
  2. Write a patch on your own
  3. Send pull request on github & ping mailing list
  4. 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

Author

This project is a part of the PINF project maintained by Christoph Dorn.

Documentation License

Creative Commons Attribution-NonCommercial-ShareAlike 3.0

Copyright (c) 2011+ Christoph Dorn

Code License

MIT License

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.

Releases

No releases published

Packages

No packages published

Languages