Download the PHP package webman-tech/docker without Composer

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

webman docker

简介

将 docker 用于 webman 的开发和生产部署

镜像地址和 tag

docker hub

此镜像会通过 github actions 动态更新 php 的小版本,镜像 tag 名不变

2.3.0 之后增加类似 7.4-cli-alpine-v2.3.0 形式的镜像版本,用于固定一个在发布版本时当前镜像中的各个组件版本(求稳可以用这种版本的镜像)

镜像中的组件

安装

会在项目根目录下提供 Dockerfile 用于构建镜像,提供 docker-compose.yml 用于开发

使用

当开发环境使用:目前代码未建立

启动镜像

创建项目

启动项目

访问 http://localhost:8787 即可

当开发环境使用:已有 webman 代码

在项目下自建 docker-compose.yml,参考例子如下:

启动:

访问 http://localhost:8787 即可

打包项目成镜像

在项目下自建 Dockerfile,参考例子如下:

编译:

运行:

访问 http://localhost:8787 即可

For Developer

修改 Dockerfile 后测试方式:

  1. 新建 .env 文件,其中配置 docker-compose.yml 中的 env 变量
  2. 执行build:docker-compose build webman
  3. 本机测试:docker run --rm -it {ImageName}:{ImageTag} /bin/sh

All versions of docker 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 webman-tech/docker contains the following files

Loading the files please wait ....