mindy/application
Mindy Application is a lightweight foundation for PHP web apps, handling bootstrap, configuration, and service container wiring. It simplifies request lifecycle and dependency management so developers can build modular, maintainable applications with minimal boilerplate.
This is a read-only subtree split of the Application component from the MindyPHP monorepo, not a general-purpose library and not a Laravel package. The description's "Laravel/PHP" framing is misleading — there is no Laravel integration surface here. Treat it as the bootstrap/kernel layer of a small, opinionated MVC framework.
Minimal steps to get productive:
mindy/framework or the published skeleton), not mindy/application directly. Requiring this package alone gives you a kernel class with no router, no HTTP layer, and no container wiring — you'd rebuild the framework to use it.composer.json — PHP floor, PSR-4 namespace, and the sibling components actually required (Container, Config, Routing, Http). This tells you the real dependency graph.Application class — this is the composition root. Each public method reveals what the framework expects from the outside world: request in, response out, lifecycle around it.Interface under src/ — these are your extension points if you later swap components.public/index.php that requires the autoloader, constructs the Application with a base path and config array, dispatches one route to one closure, and echoes the response. Then swap the closure for a controller class. Resist building the whole app on day one — the component is thin, and you'll discover missing pieces one at a time (validation, session, DB, logging).run()/handle() entry point. After that, treat the application object as opaque. Don't scatter new Application() across the codebase.vendor/mindy/application vanishes on the next composer update — and because it's a subtree split, upstream fixes arrive via a monorepo release, not via this repo. If the kernel is 90% right, subclass it in your app/ layer and override hook methods.env() and facades out of habit — neither exists here. Resolve services off the container if one is exposed, or inject explicitly.TestCase base class, so favor integration tests that boot the Application in-process and assert on the response object rather than mocking the kernel. Reserve a small number of unit tests for your own controllers/services where the framework isn't in play.vendor/ is temporary by construction. Any real patch means owning a fork — a staffing and roadmap commitment, not a two-line change.How can I help you explore Laravel packages today?