Download the PHP package sandstorm/heroku without Composer

On this page you can find all versions of the php package sandstorm/heroku. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package heroku

Introduction

We at sandstorm|media use Dokku to deploy applications quickly and easily to our server. Nevertheless, it is often time-consuming to manually make applications ready for the deployment with Dokku or Heroku. Thus, we created this package to minimize your effort of making TYPO3 Flow and Neos based projects ready for deployment in a few seconds.

Prerequisites

A Flow version greater or equal to 3.0 is mandatory.

Compatibility and Maintenance

This package is currently being maintained for Neos 2.3 LTS and Neos 3.x.

Neos / Flow Version Sandstorm.Heroku Version Maintained
Neos 3.x, Flow 4.x 2.0.x Yes
Neos 2.3 LTS, Flow 3.3 LTS 0.4.x Yes

Usage

  1. When using composer, you can conveniently add this package to your application by typing the following command in your command line:
    composer require sandstorm/heroku
  2. After adding this package to your application, make your project ready for Dokku with this command:
    ./flow heroku:addToProject composer update
  3. Add the base URI placeholder to your Settings.yaml

Deployment on Dokku

Execute the following steps to deploy the App to Dokku (commands below):

  1. create your Dokku App
  2. make Data/Persistent persistent over updates
  3. create a database
  4. link the database with the App
  5. add domain to App
  6. set the baseUri
  7. set flow context
  8. set database config
  9. add dokku as git remote
  10. push your project to Dokku
  11. (optional) access your project with ssh to configure your Flow instance

Prune and Import Site-Package on every Deploy

Careful: This deletes all content on every redeploy. Don't use in staging environments where customers work.

Debugging and Trouble-Shooting

check status of App

Access database

If you want to access the database for debugging run:

Access with SequelPro

Increase Memory Limit of Container

By default, the memory limit is 512 MB. To increase it, do the following:


TODOs


All versions of heroku with dependencies

PHP Build Version
Package Version
Requires neos/flow Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sandstorm/heroku contains the following files

Loading the files please wait ....