Download the PHP package liquidlight/deployer-typo3-ci without Composer

On this page you can find all versions of the php package liquidlight/deployer-typo3-ci. 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 deployer-typo3-ci

Liquid Light Deployer

This package is used by Liquid Light to deploy TYPO3 websites via CI - specifically Gitlab.


It is best used within Gitlab CI as it can utilise several environment variables.

The basis for this is PHP Deployer, however a lot of functionality comes from deployer-extended-typo3 and it's many meta-packages.

Options

There are several settings defined by default within this package for the most common hosts.

Hosts

Set the hostname of the server in the deploy.php file - the rest of the connection details should be in your .ssh/config file

Existing Hosts

The following hosts have a config file in the deployer/hosts file with some sensible defaults

Clearing OPCache

If the server has OPCache installed, it will need to be cleared on each deployment to allow PHP and Apache to see the new symlinks.

To do this, you need to declare an array in public_urls in the deploy file, along with adding the cache:clear_php_http task for the environment.

  1. Add ->set('public_urls', ['[URL]']) to the production host in deploy.php
  2. Add the cache:clear_php_http task for production instances (example below)

Pushing the database

Pushing the database to live is prohibited, however there are some cases where this needs to be done.

To allow this, add the following to your local deploy.php file

Common settings

VPS

Configuration

Add the following settings if not set (and adjust if necessary). They can be set globally or chained to the host (e.g. ->set('writable_use_sudo', true))

Additional tasks

deploy:vps:writable

Add an extra post-deploy task to reset permissions and reboot PHP if needed

service:php_fpm_reload

Add PHP reloading to set the correct version as documented in deployer-extended

Upgrading

v2 -> v3

As well as removing some functionality, the v3 upgrade requires some changes to the deploy.php file

  1. In deploy.php, update the require location & class invocation

  2. Review each environment and remove the ll_deployer_environment declaration - this doesn't add any tasks or configuration any more
    • Note: If it was set to vps then follow the Common settings -> VPS steps above

All versions of deployer-typo3-ci with dependencies

PHP Build Version
Package Version
Requires sourcebroker/deployer-extended-typo3 Version ^23.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 liquidlight/deployer-typo3-ci contains the following files

Loading the files please wait ...