Skip to content

pretzelhands/psr-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯¨ pretzelhands/psr-4

This is a custom implementation of a PSR-4 autoloader that can autoload any namespaces specified in conductor.json. The format follows the same conventions as Composer does.

πŸ“¦ Requirements

  • PHP 5.3+ (but please use something more recent)

πŸ‘¨β€πŸ’» Getting started

Run php app.php in your console. You should see a pretzel emoji printed out. That's all the application does.

To see the actual implementation of the autoloader, look at autoloader.php. Try playing around with different namespaces!

πŸ₯¨ Learn more

If you'd like to see more repositories and tutorials like this, consider following me on Twitter or subscribing to my newsletter.

About

A custom implementation of a PSR-4 autoloader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages