gibass/domain-maker-bundle
gibass/domain-maker-bundle is a Laravel package for scaffolding domain-driven design architecture. It provides Artisan commands to quickly generate domains, use cases, entities, repositories, and related classes, helping teams organize business logic and speed up development.
composer require the package at ^1.0.1, then run composer dump-autoload immediately — v1.0.1 ships an autoload/namespace change and a stale classmap is the most common cause of "class not found" right after upgrading.composer.json autoload.psr-4 block and its src/ root. That tells you the authoritative namespace you should be importing (DomainCore\...) and matches the directory layout of the source you'll be reading.extra.laravel.providers, or manually in bootstrap/providers.php on Laravel 11+). If the package publishes config, run php artisan vendor:publish --tag=... before your first call.php artisan tinker — e.g. app(\DomainCore\...\Client::class) — before wiring anything into a controller. That validates namespace, autoloading, and container bindings in a single step.app(). Resolve DomainCore classes through your controller/job/command constructor so the namespace lives in one use statement per file and is trivially greppable during future renames.DomainCore implementations in your AppServiceProvider (or a small DomainServiceProvider) rather than referencing concrete classes in application code. This is the cheapest insurance against the next namespace move.failed_jobs or queued payloads break silently after a namespace rename.$this->app->instance(...), swap, or the package's fake if it ships one) so tests assert against the contract, not the fully-qualified DomainCore class name. Keep one smoke test that resolves the real binding so namespace drift fails fast in CI.class => ... keys pointing at vendor classes, those are the first lines to audit on every upgrade.config/*.php, database/seeders, tests/, Blade templates, and any string-keyed array — for the old namespace before deploying.Relation::morphMap(), factory model properties, validation rule strings, and container keys built with ::class concatenation will all survive a use-statement rewrite and fail at runtime.composer dump-autoload -o, php artisan config:clear, php artisan cache:clear, and any cached bootstrap files. On Octane, restart the workers — long-lived processes hold the old class strings.bootstrap/cache/config.php.composer.lock diffs, not just the version number. A patch bump that only touches namespaces can still shift transitive constraints.config/app.php under aliases are string-based; rename them in lockstep with the namespace or you'll get "Alias not found" only on the code paths that use them.grep -rn "OldNamespace" vendor/ app/ config/ first. If it appears in vendor/, you have a mixed-version install (partial update or a stale composer.lock); delete vendor/ and reinstall rather than patching files by hand.How can I help you explore Laravel packages today?