Download the PHP package jtant/dockerize-me without Composer

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

Dockerize Me!

dockerize-me is a simple, yet powerful utility that let you use docker for your php project, leveraging docker-compose.

It will do 4 things...

...and provides 4 containers:

Installation

Globally

The first option is to install it globally using composer:

composer global require jtant/dockerize-me

You must make sure that the $HOME/.composer/vendor/bin folder is present in your $PATH env variable.

Per project

If you don't want to install it globally, you can also choose to install it per project using : composer require jtant/dockerize-me in your project.

Which version will can I get ?

You can change versions by using --php, --mysql, --redis, --node while calling dockerize-me.

How to use it ?

Globally

Go to your project and type dockerize-me.

Per project

Go to your project and type ./vendor/bin/dockerize-me.

Available options

This list may not be exhaustive, I recommend you use dockerize-me -h to see all options.

Both

After that first step, you may want to change the docker-compose.yml file to update the database information - or change your framework to use those informations.

To start the containers, just run docker-compose run -d or ./dcp up.

What is dcp ?

dcp is a utility that has been installed on your project, it will give your some shortcuts to work with docker, and help your keep a not complicated workflow.

Here is what it can do:

As a fallback, any other command will be passed to docker-compose.

I invite you to change the dcp file if needed to fit it to your needs!

If you use dcp a lot, feel free to add this alias in your .bashrc/.zshrc file : alias dcp="./dcp".

How to customize your containers

The Dockerfiles are all located in the docker/ folder. You can do anything you want in there.

After you've done your changes, you must rebuild the containers using ./dcp build --no-cache.

If you containers are running, you can restart them using ./dcp rs, or just run ./dcp up if they were not.


All versions of dockerize-me with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ~2.5||~3.0
cocur/slugify Version ^3.0
league/plates Version ^3.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 jtant/dockerize-me contains the following files

Loading the files please wait ....