PHPackages                             it-brains/laravel-release-scripts - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. it-brains/laravel-release-scripts

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

it-brains/laravel-release-scripts
=================================

Laravel Release Scripts, easy to set up one-off execute scripts that will be running during deploy script.

v0.1.12(1y ago)11.7k↓100%MITPHPPHP &gt;=7.1CI failing

Since Feb 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/it-brains/laravel-release-scripts)[ Packagist](https://packagist.org/packages/it-brains/laravel-release-scripts)[ Docs](https://github.com/spatie/laravel-backup)[ RSS](/packages/it-brains-laravel-release-scripts/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (4)Versions (14)Used By (0)

Release Script
==============

[](#release-script)

This package allows creating one-off execute scripts. This should be useful when after some changes need run additional commands (for example, need add a new role to app when we implemented a new feature).

Install
-------

[](#install)

Require this package with composer using the following command:

```
composer require it-brains/laravel-release-scripts

```

How use
-------

[](#how-use)

Step 1. Create a new release script:

```
php artisan make:release-script add_manage_role

```

```
On './database/scripts' path will be create a class in migration format with 'run' method. The file can look like:

```

```
