This pops up every now and again, the points are at least 4 years old
As this user points out, the 2 major points are mostly:
- Eloquent/Active Record
Answer: Don't use it then. You can just use the Query Builder.
- Facades
Answer: Don't use it then. They are also disabled in Lumen (though can be enabled with $app->withFacades()).
Apart from that, Larastan is a static analyzer that understands Laravel magic and you can use barryvdh/laravel-ide-helper for your IDE as he pointed out in his article.