Download the PHP package lch/docker-wordpress without Composer

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

Ready-To-Start LAMP stack with Wordpress, WP-CLI and PHPMyAdmin

This boilerplate is a ready-to-start customizable LAMP stack with Wordpress, WP-CLI and PHPMyAdmin integration. Warning : for Linux users only.

Installation

Use composer create-project command :

This will clone the stack in your directory

Requirements

Mac users : During installation, the script requires the use of envsubst which is not installed by default on MacOS. You can install it directly with Homebrew:

Configuration

Custom parameters

.env file

First of all, specify parameters needed for the project

Directories
PHP
Host
Wordpress
Database
Ports

You can have multiple projects using this boilerplate, but without changing ports, only one project can be up at a time, because port 80 is used to expose Apache.

Usage

There are 2 ways to use this : initialisation and day-to-day usage. A Makefile is created to help manipulate things

Initialisation

Blank project

Just execute make install to completly setup blank project. Please look to other entry points in Makefile to see what you can do

Project with Sage 9 theme

Just execute make sage to set a complete project with Sage 9.

Day-to-day usage

Note : All volumes set will ensure to persist both app files and database.

Reset from scratch

If you want to reset everything, just

  1. Run docker-compose down.
  2. Remove the WORDPRESS_HOST_RELATIVE_APP_PATH and the __MYSQL_HOST_VOLUME_PATH__.
  3. Then goes back on make install.

Wordpress

Accessible on localhost by default.

Important note : to execute wp-cli, be sure to connect to php container with www-data user. The mapping described above targets www-data on container. Command to use : make bash-php

PhpMyAdmin

Accessible on localhost:81 by default. Use MYSQL_USER and MYSQL_PASSWORD to connect.


All versions of docker-wordpress with dependencies

PHP Build Version
Package Version
No informations.
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 lch/docker-wordpress contains the following files

Loading the files please wait ....