Repository navigation
Conversation
Brings over the app skeleton structure from tyrsson/mezzio-bleeding-edge (1.1.x) -- the layout, not that repo's tool config. - `config/config.php` -- the ConfigAggregator stack, with App\ConfigProvider in the provider list - `config/container.php` -- ServiceManager built from the aggregated config - `config/pipeline.php` -- the stock Mezzio pipeline (error handler, routing, dispatch, not-found) - `config/autoload/dependencies.global.php`, `config/autoload/mezzio.global.php` and the `local.php` ignore - `config/development.config.php.dist` -- laminas-development-mode stub - `public/index.php` and `public/.htaccess` - `bin/clear-config-cache.php`, wired as `composer clear-config-cache` - `data/cache/` as the config cache target, ignored except for `.gitkeep` - composer: mezzio/mezzio (+ fastroute, helpers), laminas/laminas-config-aggregator, laminas-diactoros, laminas-servicemanager, laminas-stdlib, and a `serve` script Deliberately left out until they are needed: the view layer (laminas-view, mezzio-laminasviewrenderer), the templates, the sample handlers, and the Traccio/swoole dev middleware. Without a renderer Mezzio falls back to its plain 404/error bodies, which is why `mezzio.global.php` carries no `error_handler` template map yet. Verified by booting the container and dispatching a request: GET / returns "404 Cannot GET http://localhost/" (no routes registered yet). Mago format/lint/analyze/guard clean, both suites green, the config cache writes to data/cache/ and `composer clear-config-cache` removes it. Signed-off-by: Joey Smith <jsmith@webinertia.net>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Checkpoint of the in-progress application surface. - compose.yml gains MySQL, phpMyAdmin and Mailpit alongside the tooling container, published on the host so PHP running there reaches the database on 127.0.0.1. - composer.json consumes the webware components from sibling path repositories and adds php-db, with composer.lock following. - config/config.php registers the Webware, php-db and view providers. - App\ConfigProvider maps the layout, home page and error templates. - Adds the layout, home page, 404, error and htmx body templates.
Member
Author
|
Closing: this branch is not ready for a PR. Reopening once the application loads in a browser. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Everything needed to stand the application up, in one PR.
config/,public/,bin/clear-config-cache.php,data/, the entry point and theservescript.compose.ymlgains MySQL, phpMyAdmin and Mailpit alongside the tooling container, published on the host so PHP running there reaches the database on127.0.0.1.composer.jsonconsumes the webware components from siblingpathrepositories and addsphp-db, withcomposer.lockfollowing.config/config.phpregisters the Webware, php-db and view providers.App\ConfigProvidermaps the layout, home page and error templates, and the templates themselves are added: layout, home page, 404, error and the htmx body.State
Work in progress. Not ready to merge, and CI is expected to be red.
webware-consolePRs chore: install phpmailer/phpmailer for the mailer adapter #27 and chore: make the verification email subject generic #28 are merged and released as1.0.0-alpha.1, and bothacl:init-dbanduser:init-dbseed through the PDO driver.magoand the unit suite are not yet green against this snapshot.config/autoload/mysql.local.phpis deliberately untracked, since it holds local credentials.