Download the PHP package imarc/craft-boost without Composer

On this page you can find all versions of the php package imarc/craft-boost. 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 craft-boost

README

Boost is a Craft plugin that enables a very simplified deployment system based on our typical process. While this software is functional, it should be treated as beta at best. It has strict requirements on how Craft is configured as well as the server environment.

Boost is designed to work with three environments – dev, stage, and prod. It automates copying assets and databases between evironments as well as pulling fresh code from a git repository.

For more information, see the iMarc Handbook.

Boost can

Boost does not support

Craft Configuration

First, you must be using per environment configuration settings. While it should be possible to use Craft's built-in, domain-based environments, we have only tested using Boost with custom code like this:

The benefit here is that environment is determined solely off of CRAFT_BASE_PATH, which avoids issues with domain aliases. Both craft/config/general.php and craft/config/db.php need to be setup like this.

Keep Assets Relative

Second, if you want to avoid needing to reconfigure Craft after every deployment, you should use relative paths when defining Asset Sources. For example, you might use '../public/writable/documents' instead of '/var/www/example.com/prod/public/writable/documents'.

Installing and Configuring Boost

Installing Boost is straight forward:

  1. Put the plugin in craft/plugins/boost/.
  2. Through Craft's admin panel, install the plugin.
  3. Click on 'Boost', the now-hyperlinked name for the plugin to get to Boost's settings.
  4. Fill out the settings.

Composer, NPM, and Gulp

If a composer.json, package.json, or gulpfile.js are found in the new environment, then composer install --ignore-platform-reqs, npm install --production, and gulp will be called respectively. For these files to exist in the new environment, you will need to add them to the VCS Direcories setting below. If you do not add them, then these command won't be automatically called.

Boost Settings

Database Settings

For each database, you can specify the name, user, password, and host. All of these are optional except for the production database name. If The development or staging database names are omitted, then they use the production name prefixed with 'dev' or 'stage' respectively.

Advanced Settings

Hooks

Usage

To call this command, we use Craft's default CLI:

php /var/www/<sitename>/prod/craft/app/etc/console/yiic.php boost

To deploy to a specific environment, use

php /var/www/<sitename>/prod/craft/app/etc/console/yiic.php boost deploy --env=stage

To deploy to a branch to a specific environment, use

php /var/www/<sitename>/prod/craft/app/etc/console/yiic.php boost deploy --env=stage --branch=branch-name

To show the log of commits that will be deployed to an env

php /var/www/<sitename>/prod/craft/app/etc/console/yiic.php boost log --env=stage

Shows the current versions of each of the environments

php /var/www/<sitename>/prod/craft/app/etc/console/yiic.php boost versions

All versions of craft-boost with dependencies

PHP Build Version
Package Version
Requires composer/installers Version ~1.0
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 imarc/craft-boost contains the following files

Loading the files please wait ....