Download the PHP package sourcebroker/deployer-typo3-deploy without Composer

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

deployer-typo3-deploy

l:

What does it do?

This package provides deploy task for deploying TYPO3 CMS with deployer (deployer.org).

Installation

1) Install package with composer:

composer require sourcebroker/deployer-typo3-deploy

2) Put following lines on the beginning of your deploy.php:

require_once(__DIR__ . '/vendor/autoload.php');

new \SourceBroker\DeployerLoader\Loader([
  ['get' => 'sourcebroker/deployer-typo3-deploy'],
]);

3) Remove task "deploy" from your deploy.php. Otherwise you will overwrite deploy task defined in vendor/sourcebroker/deployer-typo3-deploy/deployer/default/deploy/task/deploy.php. Look at Example of working configuration to see how simple can be working deploy.php file.

Example of working configuration

This is example of working configuration for TYPO3 13. The aim of sourcebroker/deployer-typo3-deploy is to have very slim deploy.php file in order to have nice possibility to upgrade to future versions of sourcebroker/deployer-typo3-deploy.

<?php

namespace Deployer;

require_once('./vendor/autoload.php');

new \SourceBroker\DeployerLoader\Load([
  ['get' => 'sourcebroker/deployer-typo3-deploy'],
]);

set('repository', '[email protected]:sourcebrokergit/t3base13.git');

task('deploy:writable')->disable(); // Disable deploy:writable task if httpd user is the same as ssh user.

host('production')
    ->setHostname('vm-dev.example.com')
    ->setRemoteUser('deploy')
    ->set('branch', 'main')
    ->set('bin/php', '/usr/bin/php84')
    ->set('public_urls', ['https://production-t3base13.example.com'])
    ->set('deploy_path', '~/t3base13/production');

host('staging')
    ->setHostname('vm-dev.example.com')
    ->setRemoteUser('deploy')
    ->set('branch', 'develop')
    ->set('bin/php', '/usr/bin/php84')
    ->set('public_urls', ['https://staging-t3base13.example.com'])
    ->set('deploy_path', '~/t3base13/staging');

Changelog

See https://github.com/sourcebroker/deployer-typo3-deploy/blob/main/CHANGELOG.rst


All versions of deployer-typo3-deploy with dependencies

PHP Build Version
Package Version
Requires deployer/deployer Version ~7.0 || dev-master
sourcebroker/deployer-loader Version ^5 || dev-master
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 sourcebroker/deployer-typo3-deploy contains the following files

Loading the files please wait ....