Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the "smallest working example" actually work, see #553 #663

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 20, 2024

  1. Make the "smallest working example" actually work, see thecodingmachi…

    …ne#553
    
    This example had implicit-and-undocumented dependencies on composer.json, and explicit-but-unexplained dependencies on "a container" and "a cache", leaving the installation and configuring of these as an exercise to the reader. I have changed it so that the example code can be copy-pasted verbatim, and the user will end up with an example which runs, which I find much easier to learn from :)
    
    I'm still not actually sure if I'm doing this correctly, because thecodingmachine#553 mentioned loading classes via the PSR-4 autoloader, and I found that it only worked when I manually listed out my controller classes inside the PSR-11 container, but it works...
    shish committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    92c29ba View commit details
    Browse the repository at this point in the history