Download the PHP package miiimooo/dropcat without Composer

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

Deploy tool for Drupal

Forked from https://gitlab.wklive.net/wk-public/dropcat

Please read our blog-series about dropcat

Install with composer

composer require miiimooo/dropcat:dev-master

After that you may run dropcat as: vendor/bin/dropcat

Install globally (Mac/Linux)

For this forked version of dropcat | curl -L0 https://github.com/miiimooo/dropcat/releases/download/2.0.3/dropcat.phar -o /usr/local/bin/dropcat | chmod +x /usr/local/bin/dropcat | dropcat about

What does it do and why would anybody need it?

Historically we at Wunderkraut Sweden (formerly NodeOne) have used a combination of Jenkins and Aegir to deploy our sites. When we started development of Drupal 8 sites, Aegir was not ready, and we also wanted a simpler deploy workflow, more fitting to our everyday needs. So we started to test out some tools out there that almost worked for us, but we realized that it should take us longer to adapt a tool that almost fits, than to develop our own.

Symfony

We decided to develop the tool using symfony components, because Drupal uses some of them already, and it is therefore a good fit.

Dont't reproduce, re-use

The aim is not to replace an existing tool that do things perfect (or almost), the aim is to be the glue between the other tools. So in our deploy flow we use composer (instead of drush make that we have used for all drupal 7 sites in Wunderkraut Sweden), dropcat and drush, with jenkins (but we could also run our deploys locally, using whatever tools you wish to run commands, like your own terminal).

Wrapping drush, why?

Some of the commands are just wrappers around drush, like dropcat backup and dropcat site-install. We have dropcat as an wrapper because we could use variables from yaml-files in a consistent way. Some parts could be changed to be wrappers for drupal console instead in the future, or changed to use our own defined functions instead - the idea is to keep dropcat consistent, but changing what it is built on the way as needed.

Commands

We have now a bunch of commands to use with dropcat, and we are adding more in the near future.

First Drupal 8, then 7

The first target for this tool is to deploy drupal 8 sites, on the list is also to deploy drupal 7 sites, and maybe also other types of sites after that. "It is all just a bunch of files in different languages", as a famous bulgarian web developer said once!

Run it

dropcat backup This uses the default settings in dropcat.yml. If the system variable DROPCAT_ENV is set to dev, dropcat uses dropcat.dev.yml, if that exists. The config yaml-file must exits in the folder that dropcat is run from.

Different commands for different tasks

To get a list of all tasks that may be used use: dropcat list

To get help on a command, and explanation of commands use: dropcat help backup

Run Dropcat from jenkins

We are using dropcat from jenkins, in a executed shell. In this example dropcat is installed as required in composer.json (and placed in vednor/bin by default) for the drupal site (also a drush alias is setup for the site:

All config for the deploy is in dropcat.stage.yml in application folder.

Config examples

Dropcat need as a minimum a dropcat.yml in the running directory. Example is found in examples folder. Also examples for dev and prod environmengt is in the folder.

PHPunit-testing example

./phpunit This file points to the composer installed phpunit and runs that with the settings from phpunit.xml. This will run all tests found in the Tests folder. This also runs code coverage so you can see how much of your code that has been tested.

Disclaimer

We don't give any gurantee that this tool will work for you, your site could be nuked from orbit by it, and we don't have any support for it, but if you have problems using it, please create an issue.

Packaging

To create a phar release:


All versions of dropcat with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3
ext-phar Version *
symfony/console Version ^3
symfony/process Version ^3
phpseclib/phpseclib Version ^2.0
symfony/config Version ^3
symfony/dependency-injection Version ^3
symfony/event-dispatcher Version ^3
pear/archive_tar Version ^1.4
padraic/phar-updater Version ^1.0
wkse/jenkins-php-api Version ^0.1.13
ocramius/proxy-manager Version 2.0.4
symfony/proxy-manager-bridge Version ^3
symfony/yaml Version ^3
symfony/filesystem Version ^3.4
symfony/swiftmailer-bundle Version 2.6.7
t4web/composer-lock-parser Version 1.0.3
guzzlehttp/guzzle Version ^6.3
composer/xdebug-handler Version ^1.3
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 miiimooo/dropcat contains the following files

Loading the files please wait ....