Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

EARLY STALLED EXPLORATION

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 demos
Octocat-spinner-32 lib
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
README.md

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.

Something went wrong with that request. Please try again.