Use PSR-0 SplClassLoader and Integrate with PEAR. #6

Open
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants

c9s commented Jan 10, 2012

  • let this library can be built as a PEAR package, through onion.phar
    builder.
  • since the simple package.ini is defined, we can use onion.phar bundler
    to install PEAR dependencies into vendor directory.
  • can run ./vendor.sh script to install PSR-0 Spl classloader into
    vendor/pear.
  • tests/bootstrap.php loads the Spl classloader to run tests.
  • defined a basic phpunit.xml
  • need a PEAR channel to distribute this PEAR package.
  • the information in package.ini might need to change.

Hope you like it. :-)

c9s added some commits Jan 10, 2012

@c9s c9s Use PSR-0 SplClassLoader and Integrate with PEAR.
- let this library can be built as a PEAR package, through onion.phar
  builder.
- since the simple package.ini is defined, we can use onion.phar bundler
  to install PEAR dependencies into vendor directory.
- can run ./vendor.sh script to install PSR-0 Spl classloader into
  vendor/pear.
- tests/bootstrap.php loads the Spl classloader to run tests.
- defined a basic phpunit.xml
- need a PEAR channel to distribute this PEAR package.
- the information in package.ini might need to change.
291aaca
@c9s c9s Add vendor.sh 00886bb
@c9s c9s Fxi package info 8af7720

csrui commented Jan 23, 2012

Please leave PEAR alone, this is fine as it is.

c9s commented Jan 24, 2012

Hi,

PEAR is the most usual way to distribute/install a package, why not PEAR ? many vendors distribute their packages with PEAR too.

If you still hate PEAR, you can skip the PEAR stuff, this pull request also contains namespaces,which makes name collisions less likely and autoloading easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment