tschoffelen / php-pkpass

💳 PHP class for creating passes for Wallet on iOS.
https://includable.com
MIT License
908 stars 187 forks source link

Use PSR-4 for autoloading #49

Closed mikealmond closed 8 years ago

mikealmond commented 8 years ago

This project broke with the release of Composer v1.0.0. This was due to the symlinked file in the src directory.

This PR:

  1. Moves the PKPass class to the root
  2. Moves all the examples to their own directory
  3. Upgraded PHP requirement to 5.4
  4. Cleaned up code as to PSR-2 recommendations
  5. Added proper PHPDoc statements
  6. Updated the composer.json file to use the PSR-4 autoloader
tschoffelen commented 8 years ago

Thanks so much for your effort on this! Just out of curiosity: are you actively using PHP-PKPass in a project?