TheDragonCode/
laravel-migration-actions
g4t.io

Laravel Migration Actions

by Paul Redmond

Laravel migration actions is like version control for your migration process, allowing your team to modify and share the application's actionable schema.

README from TheDragonCode/laravel-migration-actions Open on GitHub →

🚀 Laravel Deploy Operations

Stable Version Total Downloads Github Workflow Status License

⚡ Performing any actions during the deployment process

Create specific classes for a one-time or more-time usage, that can be executed automatically after each deployment. Perfect for seeding or updating some data instantly after some database changes, feature updates, or perform any actions.

This package is for you if...

  • you regularly need to update specific data after you deploy new code
  • you often perform jobs after deployment
  • you sometimes forget to execute that one specific job and stuff gets crazy
  • your code gets cluttered with jobs that are not being used anymore
  • your co-workers always need to be reminded to execute that one job after some database changes
  • you often seed or process data in a migration file (which is a big no-no!)

Installation

To get the latest version of Deploy Operations, simply require the project using Composer:

composer require dragon-code/laravel-deploy-operations

Documentation

📚 Check out the full documentation to learn everything that Laravel Deploy Operations has to offer.

Basic Usage

Create your first operation using php artisan make:operation console command and define the actions it should perform.

use App\Models\Article;
use DragonCode\LaravelDeployOperations\Operation;

return new class extends Operation {
    public function __invoke(): void
    {
        Article::query()
            ->lazyById(chunkSize: 100, column: 'id')
            ->each->update(['is_active' => true]);

        // and/or any actions...
    }
};

Next, you can run the console command to start operations:

php artisan operations

Downloads Stats

This project has gone the way of several names, and here are the number of downloads of each of them:

License

This package is licensed under the MIT License.

More from the ecosystem

marcreichel/
laya-php
g4t.io
3 53

LayaPHP: Self-Hosted Text Classification for PHP and Laravel

Classify text in PHP without an LLM bill: typed decisions in 100+ languages, self-hosted. Laravel-ready SDK for Laya, a Jev AI alternative.

ai classification decision-engine
marcreichel/laya-php via Laravel News
Josh-Dovey/
postcodes-laravel
g4t.io
5 9

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Postcodes for Laravel adds typed GB postcode lookups, validation, geography data, distance searches, and test fakes through the GB Postcodes API.

Josh-Dovey/postcodes-laravel via Laravel News
RedberryProducts/
mailbox-for-laravel
g4t.io
4 115

Mailbox for Laravel: Preview and Test Rendered Email

Mailbox for Laravel captures outgoing mail in a local dashboard and lets you test rendered HTML, recipients, and attachments with fluent assertions.

RedberryProducts/mailbox-for-laravel via Laravel News