Bootstrapping a Frameworkless PHP Application
Bootstrapping a Frameworkless PHP Application The source code for this article is available at github.com/maximegosselin/php-bootstrap Laravel and Symfony are well-engineered, but they make decisions for your entire application: routing, authentication, ORM, templating, event dispatching, and so on. The PHP ecosystem is now rich enough that this tradeoff is optional. Quality libraries exist for every layer, each doing one thing well, assembled into exactly what you need. That still leaves the glue work: bootstrapping, autoloading, configuration, wiring services together. You can do it yourself with a single file. ...