All Projects → rectorphp → rector-laravel

rectorphp / rector-laravel

Licence: other
Rector upgrades rules for Laravel

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to rector-laravel

rector-doctrine
Rector upgrades rules for Doctrine
Stars: ✭ 37 (-50.67%)
Mutual labels:  ast, rector, instant-upgrades
Rector
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Stars: ✭ 4,739 (+6218.67%)
Mutual labels:  ast, rector, instant-upgrades
rector-cakephp
Rector upgrades rules for CakePHP
Stars: ✭ 18 (-76%)
Mutual labels:  ast, rector, instant-upgrades
rector-nette
Rector upgrades rules for Nette
Stars: ✭ 16 (-78.67%)
Mutual labels:  ast, rector, instant-upgrades
SwordCoastStratagems
Sword Coast Stratagems (SCS) adds over 130 optional components to Baldur's Gate: Enhanced Edition, Baldur's Gate II: Enhanced Edition, Baldur's Gate II: Throne of Bhaal, Baldur's Gate Trilogy, mostly focused around improving monster AI and encounter difficulties, but also including cosmetic and ease-of-use components, tweaks to abilities or spells.
Stars: ✭ 43 (-42.67%)
Mutual labels:  rules
redot
Graphviz dot file processor powered by plugins based on @unifiedjs
Stars: ✭ 60 (-20%)
Mutual labels:  ast
gradle2kts
Gradle Groovy to Gradle Kotlin conversion tool - discontinued spike
Stars: ✭ 34 (-54.67%)
Mutual labels:  ast
ocean
Programming language that compiles into a x86 ELF executable.
Stars: ✭ 164 (+118.67%)
Mutual labels:  ast
C90Compiler-EIE2
C90 to MIPS I Compiler done as a coursework for EE2-15
Stars: ✭ 15 (-80%)
Mutual labels:  ast
Headache
Programming Language that compiles to 8 Bit Brainfuck
Stars: ✭ 59 (-21.33%)
Mutual labels:  ast
coAST
Universal and language-independent abstract syntax tree
Stars: ✭ 30 (-60%)
Mutual labels:  ast
puma
Meta-programming framework for JavaScript based on LayerD concepts
Stars: ✭ 30 (-60%)
Mutual labels:  ast
babel-codemod-example
An example of how to use babel as a codemod
Stars: ✭ 24 (-68%)
Mutual labels:  ast
dedupimport
Deduplicate named/unnamed imports that have the same import path in Go files
Stars: ✭ 20 (-73.33%)
Mutual labels:  ast
TypeInferencer
Algorithm W and Algorithm M in F#
Stars: ✭ 33 (-56%)
Mutual labels:  ast
laravel-password-history-validation
Prevent users from reusing recently used passwords
Stars: ✭ 69 (-8%)
Mutual labels:  rules
phone
Validate phone number format
Stars: ✭ 63 (-16%)
Mutual labels:  rules
commitlint-plugin-function-rules
Commitlint plugin to define rules as functions.
Stars: ✭ 21 (-72%)
Mutual labels:  rules
eval-estree-expression
Safely evaluate JavaScript (estree) expressions, sync and async.
Stars: ✭ 22 (-70.67%)
Mutual labels:  ast
wx2bd
微信和百度小程序的互转工具,脚本转换率目标为100%,持续更新中~~
Stars: ✭ 21 (-72%)
Mutual labels:  ast

Rector Rules for Laravel

See available Laravel rules

Install

This package is already part of rector/rector package, so it works out of the box.

All you need to do is install the main package, and you're good to go:

composer require rector/rector --dev

Use Sets

To add a set to your config, use Rector\Laravel\Set\LaravelSetList class and pick one of constants:

use Rector\Laravel\Set\LaravelSetList;
use Rector\Config\RectorConfig;

return static function (RectorConfig $rectorConfig): void {
    $rectorConfig->sets([
        LaravelSetList::LARAVEL_80
    ]);
};

Read a First Book About Rector

Are you curious, how Rector works internally, how to create your own rules and test them and why Rector was born? In May 2021 we've released the very first book: Rector - The Power of Automated Refactoring.

By buying a book you directly support maintainers who are working on Rector.


Support

Rector is a tool that we develop and share for free, so anyone can automate their refactoring. But not everyone has dozens of hours to understand complexity of abstract-syntax-tree in their own time. That's why we provide commercial support - to save your time.

Would you like to apply Rector on your code base but don't have time for the struggle with your project? Hire us to get there faster.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].