Home

Awesome

<h1 align="center">āœØ Readable migrations</h1> <p align="center"> <a href="https://github.com/sakanjo/laravel-readable-migrations/actions"><img alt="Workflow status" src="https://img.shields.io/github/actions/workflow/status/sakanjo/laravel-readable-migrations/tests.yml?style=for-the-badge"></a> <a href="https://laravel.com"><img alt="Laravel v11.x" src="https://img.shields.io/badge/Laravel-v11.x-FF2D20?style=for-the-badge&logo=laravel"></a> <a href="https://php.net"><img alt="PHP 8.2" src="https://img.shields.io/badge/PHP-8.2-777BB4?style=for-the-badge&logo=php"></a> </p> <p align="center">Change migrations filenames to more readable numeric format.</p>

āœØ 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