solved it with "laravel/cashier": "~5.0", in my composer.json.
But isnt cashier a laravel default component?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I deleted spark from my current project, but it seems that cashier is also removed because if i now run composer update i get the following error message
php artisan clear-compiled
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Laravel\Cashier\CashierServiceProvider' not found
Script php artisan clear-compiled handling the post-install-cmd event returned with an error
How can i fix this error / install Laravel Cashier again.
If you need Cashier, you'll need to comment out the service provider line from your config/app.php, then composer require laravel/cashier=~5.0.
Once installed, you can uncomment the service provider line and you should be good to go again.
Please or to participate in this conversation.