Hi try to run this
heroku run php artisan clear-compiled --app heroku-name-app
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
guys the app works ok on the computer, and composer update runs just fine, but when i try to deploy on heroku it wont deploy because it cant get through installing the dependencies, here's what I get
Generating optimized autoload files
PHP Fatal error: Class 'Cartalyst\Sentinel\Laravel\SentinelServiceProvider' not found in /tmp/build_648472b09f7de5f2769d57407cd297ad/haredigital-Checkpoint_Live-8659a3562c45acea0fc589984d25a3c37fe0c806/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 146
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Cartalyst\Sentinel\Laravel\SentinelServiceProvider' not found
Script php artisan clear-compiled handling the post-install-cmd event returned with an error
anyone got any clue?
The problem is in the composer.json
and try to put the require-dev and require in stable version like this
"require-dev": {
"phpunit/phpunit": "4.7.7",
"phpspec/phpspec": "2.2.1"
},
Please or to participate in this conversation.