laravel-strict-coding-standard
PHP_CodeSniffer rules for Laravel to force the "right" design of the app (by vladyslavstartsev)
ideas
Issues board used for Laravel internals discussions. (by laravel)
laravel-strict-coding-standard | ideas | |
---|---|---|
1 | 8 | |
45 | 928 | |
- | - | |
1.9 | 1.1 | |
about 1 year ago | almost 3 years ago | |
PHP | ||
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-strict-coding-standard
Posts with mentions or reviews of laravel-strict-coding-standard.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-28.
-
Laravel considered harmful
You can even do it automatically; LaravelStrictCodingStandard.Laravel.DisallowUseOfFacades in PHP_CodeSniffer. https://github.com/vladyslavstartsev/laravel-strict-coding-standard
ideas
Posts with mentions or reviews of ideas.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-10.
-
Go with PHP
I just don't get why people in php use lazy comparison in php when you know that "0e4"=="0e5" in php.
and yes, Laravel use lazy comparison. And yes at least three bugs where caused by this use.
see: https://github.com/laravel/ideas/issues/698 for why I'm a bit grumpy with php ecosystem
-
Laravel considered harmful
I explained why singleton are not well used. There is plenty of example online. TLDR: Laravel hides a lot of dependencies. You want to use another Container? You cannot. The issue is described here: https://github.com/laravel/ideas/issues/1467.
-
I've made a random serial key generator
By the way Laravel is still PSR-2 and will unlikely adopt PSR-12, while I understand your intentions. I'm on the fence about suggesting Laravel's users to use a coding standard not adopted in the framework.
-
Strict models
That's what they did here before the PR: https://github.com/laravel/ideas/issues/455
- @push from ServiceProvider
-
Simple feature/project upvoting system?
Example: https://github.com/laravel/ideas
What are some alternatives?
When comparing laravel-strict-coding-standard and ideas you can also consider the following projects:
Slim - Slim Framework 4 Skeleton Application
Laravel - The Laravel Framework.