ideas
laravel-strict-coding-standard
ideas | laravel-strict-coding-standard | |
---|---|---|
8 | 1 | |
928 | 45 | |
- | - | |
1.1 | 1.9 | |
almost 3 years ago | about 1 year ago | |
PHP | ||
- | MIT License |
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.
ideas
-
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
laravel-strict-coding-standard
-
Laravel considered harmful
You can even do it automatically; LaravelStrictCodingStandard.Laravel.DisallowUseOfFacades in PHP_CodeSniffer. https://github.com/vladyslavstartsev/laravel-strict-coding-standard
What are some alternatives?
Laravel - The Laravel Framework.
Slim - Slim Framework 4 Skeleton Application
Sylius - Open Source eCommerce Framework on Symfony
Torch - Examples of using each Illuminate component in non-Laravel applications
phel-lang - Phel is a functional programming language that transpiles to PHP. A Lisp dialect inspired by Clojure and Janet.
composer-patches - Simple patches plugin for Composer
bypass-finals - Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.
votey-uppy