kavenegar / kavenegar-laravel

MIT License
82 stars 28 forks source link

Undefined class constant 'VERSION' error on Lumen #21

Open mehradsadeghi opened 4 years ago

mehradsadeghi commented 4 years ago

There is an error in ServiceProvider line 65 in Lumen ^7: Undefined class constant 'VERSION'

65    $version = intval($app::VERSION);
taha-moghaddam commented 3 years ago

I've same problem on Lumen 8

mohammad-69 commented 2 years ago

same here on lumen 8

ftmmlslhi commented 4 months ago

is there any solution for this? I got same error on lumen 8.3.

mehradsadeghi commented 4 months ago

@ftmmlslhi Just forget about lumen and migrate to Laravel if possible. It's recommended by themselves.