Download the PHP
package driftingly/rector-laravel without Composer
On this page you can find all versions of the php package
driftingly/rector-laravel. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor driftingly Package rector-laravel Short Description Rector upgrades rules for Laravel Framework License
MIT
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
This package is a Rector extension developed by the Laravel community.
Rules for additional first party packages are included as well e.g. Cashier and Livewire.
Install as a dev dependency:
Automate Laravel Upgrades
To add a set to your config, use RectorLaravel\Set\LaravelLevelSetList and pick the constant that matches your target version.
Sets for higher versions include sets for lower versions.
The sets in RectorLaravel\Set\LaravelSetList only contain changes related to a specific version upgrade.
For example, the rules in LaravelSetList::LARAVEL_110 apply when upgrading from Laravel 10 to Laravel 11.
Additional Sets
To improve different aspects of your code, use the sets in RectorLaravel\Set\LaravelSetList.
A special thank you to Caneco for designing the logo!
Hire The Rector Team
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 the Rector team to get there faster.
Learn Rector Faster
Not everyone has time to understand Rector and AST complexity. You can speed up the process by reading the book The Power of Automated Refactoring. Not only will it help you learn and understand Rector but it supports the project as well.
Requiresphp Version
^7.2 || ^8.0 rector/rector Version
^1.0
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package driftingly/rector-laravel contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.