Download the PHP package techpivot/phalcon-ci-installer without Composer

On this page you can find all versions of the php package techpivot/phalcon-ci-installer. 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 phalcon-ci-installer

Phalcon CI Installer

CircleCI Travis CI Scrutinizer Codeship Shippable

Latest Version Total Downloads Software License

Composer integration for PHP applications to install the Phalcon framework as an extension in the PHP runtime for various hosted CI services including CircleCI, Travis CI, Scrutinizer, Codeship, and Shippable.

Features

Version Compatibility

The following table outlines general compability of Phalcon inside various CI environments.

PHP CI Version Phalcon Version(s) CI Environment
5.3 ✖ (Not supported) -
5.4 ✖ (Not supported) -
5.5 master, 2.0.x, 3.0.x ✔ CircleCI, Travis CI, Scrutinizer, Codeship, Shippable
5.6 master, 2.0.x, 3.0.x ✔ CircleCI, Travis CI, Scrutinizer, Codeship, Shippable
7.0 3.0.x ✔ CircleCI, Travis CI, Scrutinizer, Codeship, Shippable

Installation

  1. Add the techpivot/phalcon-ci-installer repository into the require-dev section of your composer.json as follows:

  2. Update your CI script to execute the vendor/bin/install-phalcon.sh installer in the relevant section. See the examples below for various CI providers.

Options

The installer takes one optional argument that can be used to specify a specific branch or tag.

Examples:

Note: The Phalcon CI installer is designed to cache the resulting binaries that correspond to the Phalcon/PHP version. Specifing a release or tagged version will result in the best performance as subsequent builds (depending on CI container/settings) will be cached. Building from a branch (including the default master option) will result in a Phalcon rebuild every time the installer detects a new version that is not yet cached.

CI Environments

CircleCI

circle.yml

Note: In order to cache data for faster builds, ensure the cache_directories directives are specified as outlined above.

Note: Ensure that the vendor/bin/circleci-install-phalcon.sh is executed in the post phase, which will allow for the inclusion of the techpivot/phalcon-ci-installer repository during the composer installation at inference or override phase.

Reference: CircleCI PHP Versions – Ubuntu 14.04Ubuntu 12.04

Travis CI

.travis.yml

Note: Multiple PHP versions can be specified and each one will be cached independently; however, the phalcon target ref (branch or tag) will be applied for all builds

Reference: TravisCI PHP Versions

Scrutinizer

.scrutinizer.yml

Note: No need to include the vendor/ cache directory as this is cached automatically.

Reference: ScrutinizerCI PHP Versions

Codeship

Sample Setup Commands

Reference: Codeship CI PHP Versions

Shippable

shippable.yml

Reference: Shippable PHP Versions


All versions of phalcon-ci-installer with dependencies

PHP Build Version
Package Version
Requires php Version ^5.4|^5.5|^5.6|^7.0
phalcon/zephir Version ^0.9.6
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 techpivot/phalcon-ci-installer contains the following files

Loading the files please wait ....