Laravel
Rector
Our great sponsors
Laravel | Rector | |
---|---|---|
225 | 112 | |
31,453 | 8,188 | |
1.3% | 1.5% | |
9.9 | 9.9 | |
2 days ago | 6 days ago | |
PHP | PHP | |
MIT License | 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.
Laravel
- Automatizando fluxos de trabalho com GitHub Actions
- Testando filas em projetos Laravel
-
PHP: check dates
It does not mean you should absolutely use it everywhere, but it can make sense for your case. Many frameworks, like Laravel use it to compose new projects.
-
An Internet of PHP
https://github.com/laravel/framework/blob/00894b89e42a9d707c...
Even Tinker is a few lines of code to extend PsySH and credit is barely given.
Taylor Otwell is a fiend for creating wrappers around solid open source libraries, using PHP magic and encouraging bad practices, all just to breed an ecosystem ultimately to land him a Lambo, fuelled by amazing open source foundations that have barely been contributed back to by him.
-
Laravel’s ForwardsCalls trait
This same system has been used in Laravel since version 4.0* albeit in the more PHP plain way, using call_user_func_array (Laravel Model Class).
- From Concept to Image: Exploring OpenAI Image Generation API with Laravel 10 and VueJS
-
Thoughts on proposed new "Thin Skeleton" in Laravel 11.x
laravel/framework: https://github.com/laravel/framework/pull/47309
-
Why is the Laravel Framework code not always optimized?
And as far as what your title states “not optimized” the answer to this is yes, the code is not optimized. In some cases there are minor optimizations that are bizarre, and in other places, PRs for optimization are closed. It’s a bit arbitrary, but c’est la vie.
For instance, I've always learned to separate into methods when things become complicated/unreadable. Sometimes I see code that has something like this (excuse me on my phone, but Ive seen this a couple of times): https://github.com/laravel/framework/commit/8692f67960cb33a598d46dbed3fd12df15eb4a3f
-
Laravel devs are slowly killing best practices
The framework itself runs tests in public. You can see that the workflow with waiting for the machines takes around 6 minutes, but the run on a single platform e.g. PHP 8.2 - prefer-stable takes 2.5-3.5 minutes only. The tests themselves? Thousands in a minute:
Rector
-
Rector keeps your PHP code base fresh and perfect
As part of the journey to PHP perfection, you should embrace Rector. It's a amazing, free, and open-source tool for migrations, code quality, type coverage, pushing PHPStan to the highest levels, and yes, it can even auto-fix your existing code! It seamlessly integrates into the CI process, making your development workflow smoother than ever.
-
Starting with Rector PHP: Improving Your PHP Code with Automation
If you want to explore more the rules, you can take a look at this page: https://github.com/rectorphp/rector/blob/main/docs/rector_rules_overview.md
Website: https://getrector.com/
-
Materials/Topics for Senior dev new to PHP
Yep... Rector
-
Avoiding empty() in PHP
rector/rector
-
7.4 to 8.x upgrade help
https://github.com/rectorphp/rector might be useful.
-
Is it too painful to go from 5.2 to 8.2?
You could give rector a try
- Where to start on upgrading a legacy PHP 5.6 “Laravel” project?
-
Upgrade your project to PHP 8.2 with Rector
Rector is a free and open-source tool written in PHP allowing you to automate various refactoring tasks. It analyses your code and applies whatever rules you've specified in its configuration. It is also possible to create your own rules.
-
What automated tools are there for upgrading old PHP code to the latest PHP versions?
Rector is pretty much the only tool I use anymore.
What are some alternatives?
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
Phpactor - Mainly a PHP Language Server with more features than you can shake a stick at
nuxt3-supabase - Nuxt 3 module and composables for Supabase.
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
octane - Supercharge your Laravel application's performance.
Psalm - A static analysis tool for finding errors in PHP applications
PHPCompatibility - PHP Compatibility check for PHP_CodeSniffer
rector-laravel - Rector upgrades rules for Laravel
fingerprintjs - Browser fingerprinting library. Accuracy of this version is 40-60%, accuracy of the commercial Fingerprint Identification is 99.5%. V4 of this library is BSL licensed.
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Nextcloud - ☁️ Nextcloud server, a safe home for all your data