Demos for Composer package nowo-tech/serial-number-bundle (source on GitHub) on Symfony 7 and 8.
| Demo | Symfony | Port (default in .env.example) |
|---|---|---|
| symfony7 | 7.0 | 8007 |
| symfony8 | 8.0 | 8008 |
# Start Symfony 8 demo
make -C demo up-symfony8
# Start Symfony 7 demo
make -C demo up-symfony7Then open http://localhost:<PORT> (e.g. http://localhost:8008 for Symfony 8, or the PORT in the demo’s .env).
Each demo mounts the bundle root at /var/serial-number-bundle in the container. The demo’s composer.json uses a path repository pointing there, so you must run make up-* (or docker-compose up) from the bundle repository root so that ../.. resolves to the bundle.
make -C demo up-symfony7/make -C demo up-symfony8– start a demomake -C demo down DEMO=symfony8– stop (useDEMO=symfony7orsymfony8)make -C demo update-bundle DEMO=symfony8– update the bundle from path and clear cachemake -C demo test DEMO=symfony8– run that demo’s testsmake -C demo verify-all– start both demos and check HTTP 200make -C demo release-verify– used by rootmake release-check: up → healthcheck → down per demo
From a demo directory (e.g. demo/symfony8):
make up/make down/make install/make test/make update-bundle/make shell
Each demo includes:
- Symfony Framework, Twig, Web Profiler
- nowo-tech/serial-number-bundle (from path)
- nowo-tech/twig-inspector-bundle (dev/test; §2.3.1)
- FrankenPHP (Caddyfile :80, worker)