sakanjo/laravel-readable-migrations

Change migrations filenames to more readable numeric format.

v1.0.0 2024-05-02 14:54 UTC

This package is auto-updated.

Last update: 2024-05-02 17:16:11 UTC


README

Workflow status Laravel v11.x PHP 8.2

Change migrations filenames to more readable numeric format.

✨ Help support the maintenance of this package by sponsoring me.

Preview

Table of Contents

📦 Install

composer require --dev sakanjo/laravel-readable-migrations

🦄 Usage

php artisan make:readable-migrations

That's it

Options

1. --pad

php artisan make:readable-migrations --pad=4

This option allows you to specify the number of digits to pad the migration number with.

2. --gap

php artisan make:readable-migrations --gap=5

This option allows you to specify the number of digits to multiply the migration number by.

💖 Support the development

Do you like this project? Support it by donating

Click the "💖 Sponsor" at the top of this repo.

©️ Credits

📄 License

MIT License © 2023-PRESENT Salah Kanjo