Skip to content

JurianArie/rector-eloquent-generics

 
 

Repository files navigation

Installation

composer require --dev devfrey/rector-eloquent-generics
return RectorConfig::configure()
    // ...
    ->withRules([
        Devfrey\RectorLaravel\Eloquent\AddBuilderPropertyRector::class,
        Devfrey\RectorLaravel\Eloquent\AddGenericHasBuilderTraitRector::class,
        Devfrey\RectorLaravel\Eloquent\DocumentRelationGenericsRector::class,
    ]);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%