tourze/hotel-card-delivery-bundle
Integrate hotel card delivery into your PHP or Symfony application with this Tourze bundle. It wires the services, configuration, and workflows needed to issue and deliver guest hotel cards, keeping the integration clean, reusable, and easy to drop into existing projects.
There is essentially nothing to go on here except the version tag: 0.0.1, first public release, changelog link only (no notes, no README excerpt, no dependency data). Treat everything below as a starting checklist to verify, not as documented behaviour.
composer require tourze/hotel-card-delivery-bundle:0.0.1 (pin the exact version — see Gotchas).*Bundle.php) in src/, then DependencyInjection/Configuration.php and DependencyInjection/*Extension.php. Tourze bundles are consistently structured this way, and the extension tells you more about the package's real surface area (entities, services, config tree) than any README will at 0.0.1.Resources/config/doctrine/*.orm.xml). For a "hotel card delivery" domain the entities (HotelCard, CardDelivery, CardDeliveryTask-ish) are the actual product; the bundle is the glue.ServiceProvider, no config/*.php to publish, no facade, no migrations directory. If you are committed to Laravel, the realistic first use case is: install the pure-domain sibling package (typically tourze/hotel-card-delivery without the -bundle suffix) and hand-wire it — see Implementation Patterns.If you are actually on Symfony (the supported path):
config/bundles.php, add a minimal config block (the extension almost certainly has a nearly-empty tree at 0.0.1), and let the bundle's Doctrine mapping autoload.If you are on Laravel (the stated framing), the bundle is mostly unusable as-is; three workable patterns:
composer dump-autoload, and bind the domain interfaces in your own AppServiceProvider. You get the entities and services, and you skip the Symfony container entirely.app/Models or a database/migrations set by hand. Do this once and own it — do not try to point Laravel's Doctrine integration at a path inside vendor/, it will bite you on every composer update.Integration tips regardless of framework:
CardDeliveryService) of your own. At 0.0.1 the public API will move; your wrapper is the thing that survives.*Bundle named "delivery" typically models the record and its state, not the physical act — assume the actuation is yours.0.0.1 means zero BC promise. Pin 0.0.1 exactly (no caret) and keep composer.lock committed. Expect the namespace or entity property names to change before 0.1.load() method; whatever it registers is exactly what you must replicate in a service provider.tourze/* packages at dev-master or *@dev in require-dev. If composer require drags in unstable constraints, that's why — check composer why-not and set "minimum-stability": "dev" with "prefer-stable": true only as a last resort.tests/, treat the package as unverified sample code and write your own characterisation tests before depending on it in production.bin/console debug:container --tag=... and debug:config <alias> are the fastest way in. On Laravel, php artisan tinker plus app()->make() on the domain interface will fail loudly and usefully if a binding is missing.0.1.0 — the first minor bump is where the entity shape and namespace will settle, and where a real changelog is likely to appear.How can I help you explore Laravel packages today?