Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

nguonchhay's avatar

Laravel code standard checker

I have a quick search on how to apply php code checkstyle with Laravel and I found one package https://github.com/antonioribeiro/laravelcs. I am wonder whether we can still use that package for Laravel 5.6 or not.

Could someone provide any input on that?

Thanks

0 likes
1 reply
Nash's avatar

It seems a little outdated (links to Laravel 4.2 and open issues about compatibility problems with PHP 7).

Laravel 5 follows PSR-2. You could just install a formatting plugin in your editor of choice or use a service like StyleCI.

Please or to participate in this conversation.