roundly-consulting/coupons-for-laravel
Coupons for Laravel makes it easy to add discount coupons to your application. Create and manage codes, define flexible redemption rules, validate coupons at checkout, track usage, and integrate promotions cleanly with your Eloquent models and Laravel workflows.
php artisan vendor:publish). Start by reading the package config file and service provider to understand how models are configured and swapped.Factory::new()->create() / ->make() over direct new Model calls so configured model resolution is honored.$this->app->bind(...) or the package’s swap helper) and assert the factory returns an instance of the swapped class. This is the workflow 1.1.2 targets.php artisan config:clear). Stale config is a common reason a swap appears not to take effect.get_class($factory->make())). If it is not the swapped class, check binding order, provider registration, and config cache.resolve() so future swaps and the 1.1.2 fix remain effective.How can I help you explore Laravel packages today?