{"id":13828080,"url":"https://github.com/orisintel/laravel-migration-snapshot","last_synced_at":"2025-10-09T00:38:56.819Z","repository":{"id":45962804,"uuid":"179099197","full_name":"orisintel/laravel-migration-snapshot","owner":"orisintel","description":"Simplify and accelerate applying many migrations at once using a flattened dump of the database schema and migrations","archived":false,"fork":false,"pushed_at":"2023-06-08T01:41:07.000Z","size":105,"stargazers_count":176,"open_issues_count":5,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-08T08:55:07.259Z","etag":null,"topics":["laravel","schema-migrations"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orisintel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-04-02T14:46:51.000Z","updated_at":"2025-02-11T21:34:32.000Z","dependencies_parsed_at":"2024-01-18T05:13:20.697Z","dependency_job_id":"bc898843-b9eb-4c95-81b3-1b95400c718e","html_url":"https://github.com/orisintel/laravel-migration-snapshot","commit_stats":{"total_commits":94,"total_committers":4,"mean_commits":23.5,"dds":"0.24468085106382975","last_synced_commit":"5e6606217c210ad9457365e16581ec0f2ee28309"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/orisintel/laravel-migration-snapshot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisintel%2Flaravel-migration-snapshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisintel%2Flaravel-migration-snapshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisintel%2Flaravel-migration-snapshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisintel%2Flaravel-migration-snapshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orisintel","download_url":"https://codeload.github.com/orisintel/laravel-migration-snapshot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisintel%2Flaravel-migration-snapshot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000639,"owners_count":26082879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","schema-migrations"],"created_at":"2024-08-04T09:02:31.304Z","updated_at":"2025-10-09T00:38:56.791Z","avatar_url":"https://github.com/orisintel.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Laravel Migration Snapshot\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/orisintel/laravel-migration-snapshot.svg?style=flat-square)](https://packagist.org/packages/orisintel/laravel-migration-snapshot)\n[![Build Status](https://img.shields.io/travis/orisintel/laravel-migration-snapshot/master.svg?style=flat-square)](https://travis-ci.org/orisintel/laravel-migration-snapshot)\n[![Total Downloads](https://img.shields.io/packagist/dt/orisintel/laravel-migration-snapshot.svg?style=flat-square)](https://packagist.org/packages/orisintel/laravel-migration-snapshot)\n\nSimplify and accelerate applying many migrations at once using a flattened dump\nof the database schema and migrations, similar in spirit to Rails' `schema.rb`.\n\nWorks with the `mysql`, `pgsql`, and `sqlite` database drivers.\n\n## Installation\n\nYou can install the package via composer:\n\n``` bash\ncomposer require --dev orisintel/laravel-migration-snapshot\n```\n\nDatabase command-line utilities (such as `mysqldump` and `mysql`) must be in the\npath where Artisan will be run.\n\n## Configuration\n\nPut `migration-snapshot.php` into `config` with:\n``` bash\nphp artisan vendor:publish --provider=\"\\OrisIntel\\MigrationSnapshot\\ServiceProvider\"\n```\n\n## Usage\n\nImplicitly migrate as load from an earlier, flattened copy:\n``` bash\nphp artisan migrate\n```\n(When `migrations` table is empty and migrating a configured environment;\ndefaults to 'development', 'local', and 'testing'.)\n\nMigrate without loading from, or dumping to, flattened copy:\n``` bash\nMIGRATION_SNAPSHOT=0  php artisan migrate\n```\n\nUpdate the flattened SQL file:\n``` bash\nphp artisan migrate:dump\n```\n\nLoad from the flattened SQL file, **dropping** any existing tables and views:\n``` bash\nphp artisan migrate:load\n```\n\n### Testing\n\n``` bash\ncomposer test\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email\nopensource@orisintel.com instead of using the issue tracker.\n\n## Credits\n\n- [Paul R. Rogers](https://github.com/paulrrogers)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forisintel%2Flaravel-migration-snapshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forisintel%2Flaravel-migration-snapshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forisintel%2Flaravel-migration-snapshot/lists"}