PHPackages                             quantick/deploy-migrations - 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. quantick/deploy-migrations

ActiveLibrary

quantick/deploy-migrations
==========================

Deploy migration commands

v1.0.13(3y ago)4359↓100%[1 issues](https://github.com/drumser/deploy-migrations/issues)MITPHPPHP ^7.2 || ^8.0

Since Feb 11Pushed 3y ago2 watchersCompare

[ Source](https://github.com/drumser/deploy-migrations)[ Packagist](https://packagist.org/packages/quantick/deploy-migrations)[ RSS](/packages/quantick-deploy-migrations/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (18)Used By (0)

Laravel package for execute one-time commands in deploy time
============================================================

[](#laravel-package-for-execute-one-time-commands-in-deploy-time)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/94f12d41dcab8e9dc09307d6962f6c6ebfc5f410b4853298e0026f59d08f949e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6472756d7365722f6465706c6f792d6d6967726174696f6e732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/drumser/deploy-migrations/?branch=master)[![Build Status](https://camo.githubusercontent.com/cc6733fe96a40b4918eae0c1b6419590c1b9a266db2541151f068badcf7fba42/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6472756d7365722f6465706c6f792d6d6967726174696f6e732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/drumser/deploy-migrations/build-status/master)[![codecov](https://camo.githubusercontent.com/e4c2fc411690253042654424d03a9fbfcf8d0d295f3c31e5acbee25bf9094f17/68747470733a2f2f636f6465636f762e696f2f67682f6472756d7365722f6465706c6f792d6d6967726174696f6e732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/drumser/deploy-migrations)[![Build Status](https://camo.githubusercontent.com/6a2c80ff79d5086d1e7da6629b3891e121609e7b3b4c059f65e4995515747b03/68747470733a2f2f7472617669732d63692e6f72672f6472756d7365722f6465706c6f792d6d6967726174696f6e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/drumser/deploy-migrations)

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

[](#installation)

You can install the package via composer:

```
composer require quantick/deploy-migrations

```

The package will automatically register itself.

You can publish config and migration with:

```
php artisan vendor:publish --provider="Quantick\DeployMigration\DeployMigrationServiceProvider"

```

In config/deploy-migration.php сonfigure the path to the directory with migrations. By default it will be deploy/migrations

How to use
----------

[](#how-to-use)

1. Generate migration via command:

```
php artisan make:deploy-migration

```

It will create migration class in your project.

2. Next configure getCommands method:

```
