peltonsolutions/laravel-enums
A Laravel package for working with PHP enums, offering convenient helpers and framework integration for defining, validating, casting, and using enum values across models, requests, and application code.
composer require vendor/package
php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider"
new. Bind interfaces or use the package facade so your app picks up published config and any swaps you make in a service provider.config/package.php rather than overriding internals; keep environment-specific values in .env and reference them from config so config caching stays safe.App\Services\YourService). This keeps controllers testable and gives you one place to adapt if the package changes again.RefreshDatabase for anything touching package persistence, and Bus::fake() / Http::fake() when the package dispatches jobs or makes outbound calls. Assert on your service layer's output rather than package internals.onOneServer() / withoutOverlapping() where appropriate, and confirm queue connections are configured before enabling in production.Kernel.php. If you registered the package's middleware or exception hooks in the old Kernel, move them to Application::configure()->withMiddleware() / ->withExceptions().config/ files are slimmer and many defaults live in the framework now. If the package reads a config key that used to be published by default, it may silently fall back — verify after upgrade.null once config is cached. Confirm the package only touches env() from within its config file.config:clear when testing config changes. Published config changes won't surface behind a stale bootstrap cache; this is the most common "the update broke it" false alarm.Log::withContext() around your service layer call site; failures inside package internals are easier to isolate at the boundary than in the stack trace.How can I help you explore Laravel packages today?