PHPackages                             purrweb/yii2-heroku - 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. purrweb/yii2-heroku

ActiveYii2-extension[DevOps &amp; Deployment](/categories/devops)

purrweb/yii2-heroku
===================

Generate yii2 environments for easy deployment on heroku

1.0.0(10y ago)69.8k4[1 issues](https://github.com/PurrWeb/yii2-heroku/issues)MITPHP

Since Jun 30Pushed 10y ago8 watchersCompare

[ Source](https://github.com/PurrWeb/yii2-heroku)[ Packagist](https://packagist.org/packages/purrweb/yii2-heroku)[ Docs](https://github.com/PurrWeb/yii2-heroku)[ RSS](/packages/purrweb-yii2-heroku/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

yii2-heroku
===========

[](#yii2-heroku)

This extension allows you to generate environment files into your yii2 advanced application for easy deployment on Heroku. The extension may be helpful if you don't have stage or test server and you need to show somebody how your app works. Before using the extension make sure you have a Heroku account and you know how to create an app and work with it.

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

[](#installation)

```
php composer.phar require --dev --prefer-dist purrweb/yii2-heroku "*"

```

or add in composer.json (require-dev section)

```
"purrweb/yii2-heroku": "*"

```

Usage
-----

[](#usage)

Add the following in console/config/main-local.php:

```
