panique / mini2

Just an extremely simple naked PHP application, useful for small projects and quick prototypes.
MIT License
417 stars 102 forks source link

[new feature] perfect PSR-4 integration (composer, unit tests, etc) #21

Closed panique closed 9 years ago

panique commented 10 years ago

It would be cool to have a perfect PSR-4 autoloader implementation here. Feel free to commit/push such thing into develop branch. The integration should be as correct as possible and also touch the composer autoloading (psr-4 is recommended here according to some good Stackoverflow answers) and possible unit testing.

panique commented 10 years ago

Useful links:

https://laracasts.com/lessons/psr-4-autoloading

https://getcomposer.org/doc/04-schema.md#autoload

http://stackoverflow.com/questions/22803419/why-use-a-psr-0-or-psr-4-autoload-in-composer-if-classmap-is-actually-faster

VeeeneX commented 10 years ago

I'd recommend UniversalClassLoader

panique commented 9 years ago

veeery basic PSR-4 loader is done, more to come. I'll close this ticket for now as the project has changed masssivly.