Skip to content

sakanjo/laravel-readable-migrations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ Readable migrations

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