sakanjo / laravel-readable-migrations
Change migrations filenames to more readable numeric format.
Fund package maintenance!
sakanjo
Requires
- php: ^8.2
- illuminate/console: ^10.0 || ^11.0
- illuminate/support: ^10.0 || ^11.0
- symfony/console: ^7.0
- symfony/finder: ^7.0
Requires (Dev)
- laravel/pint: ^1.1
- orchestra/testbench: ^9.0
- pestphp/pest: ^2.3
- phpstan/phpstan: ^1.1
This package is auto-updated.
Last update: 2024-05-02 17:16:11 UTC
README
Change migrations filenames to more readable numeric format.
✨ Help support the maintenance of this package by sponsoring me.
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