PHPackages                             7ute/laravel-provision - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. 7ute/laravel-provision

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

7ute/laravel-provision
======================

Migrate provisioning data separately

v1.0.1(5y ago)01.6k↓50%MITPHPPHP ^8.0 || ^7.4

Since Mar 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/7ute/laravel-provision)[ Packagist](https://packagist.org/packages/7ute/laravel-provision)[ Docs](https://github.com/7ute/laravel-provision)[ GitHub Sponsors](https://github.com/7ute)[ RSS](/packages/7ute-laravel-provision/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Migrate provisioning data separately
====================================

[](#migrate-provisioning-data-separately)

A set of commands to provision data separately from your migrations or test seeds.

Laravel comes with `Migrations`, which are perfect for data structure, but feel odd for seeding data. It also provides `Seeders` which are suited for tests data ands fakes, but can’t track version, and can create confusion. LaravelProvision is here to fill the gap by providing a way to provision sequentially, your production data.

Installation
------------

[](#installation)

1. Require the package with Composer

```
composer require 7ute/laravel-provision
```

2a. Use the install command (that will create the `database/provisions` folder and publish the migration and config)

```
php artisan provision:install
```

2b. (alternate method) you can publish the migrations and config separately by running `vendor:publish`

```
php artisan vendor:publish --provider="SevenUte\LaravelProvision\ProvisionServiceProvider" --tag="laravel-provision-migrations"
php artisan vendor:publish --provider="SevenUte\LaravelProvision\ProvisionServiceProvider" --tag="laravel-provision-config"
```

Once you’re fine with the config (`config/provision.php`), run the migration

```
php artisan migrate
```

Usage
-----

[](#usage)

- `php artisan provision {--force} {--silent}` Run the provisions that haven’t been run yet (use `--force` to discard the `production` environment confirmation input)
- `php artisan provision:status` Checks the provisions ran so far
- `php artisan provision:make {name}` Creates a provision with the unique classname `name`
- `php artisan provision:rollback {name}` Removes a provision from database with the classname or the filename `name`, allowing it to run again

Provision files
---------------

[](#provision-files)

The provision files are run in their chronological order. Only the files that have not been yet provisioned are run. You can access the current app through `$this->container` and current console through `$this->command`.

Q&amp;A
-------

[](#qa)

### • What if I want X feature ?

[](#-what-if-i-want-x-feature-)

Fork the repository and create a pull request

### • What if it does not run as it should ?

[](#-what-if-it-does-not-run-as-it-should-)

Check the [issues](https://github.com/7ute/laravel-provision) and create one if you don't find any suitable solution

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Spatie](https://github.com/Spatie) for everything they've done so far
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1903d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e4dabb80d8cec66d3791cb3c81d028339261fa499f3b6906ee1098c7f481031?d=identicon)[7ute](/maintainers/7ute)

---

Top Contributors

[![7ute](https://avatars.githubusercontent.com/u/8693407?v=4)](https://github.com/7ute "7ute (9 commits)")

---

Tags

laravelmigrationsproductionseeder7utelaravel-provision

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/7ute-laravel-provision/health.svg)

```
[![Health](https://phpackages.com/badges/7ute-laravel-provision/health.svg)](https://phpackages.com/packages/7ute-laravel-provision)
```

###  Alternatives

[rehankanak/laravel-notion-renderer

Laravel Package for Converting Notion Pages to Web Pages

164.5k](/packages/rehankanak-laravel-notion-renderer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
