Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/opencodeco/phpctl

🐳 It is a Docker (containers) based development environment for PHP 🐘
https://github.com/opencodeco/phpctl

cli containers ctl development-environment docker php php8 podman terminal

Last synced: 12 days ago
JSON representation

🐳 It is a Docker (containers) based development environment for PHP 🐘

Awesome Lists containing this project

README

        



phpctl logo



phpctl
phpctl docker badge
phpctl docker badge
phpctl frankenphp badge


🐳 A Docker-based development environment for PHP 🐘


Heavily inspired by opencodeco/hfctl.

Open in GitHub Codespaces



## Frictionless PHP Development

Seamlessly run and switch between different versions of PHP, with different installed extensions, thanks to the power of containers.
Take the advantage of goodie commands like `phpctl create` to start a new project, `phpctl repl` to start a REPL, `phpctl init` to initialize a new configuration file **and a lot more**.

### Just install
```shell
/bin/bash -c "$(curl -fsSL https://phpctl.dev/install.sh)"
```
### And that is it!
Try it out:
```shell
phpctl doctor
php --version
composer --version
```

Using [Dev Containers](https://containers.dev/)? We have a pre-built image:
```json
{
"image": "opencodeco/phpctl:php83-devcontainer"
}
```
In fact, we use it ourselves to develop `phpctl` itself: [devcontainer.json](.devcontainer/devcontainer.json).

## Getting started

- [Installation guide](https://phpctl.dev/#installation)
- [How to use](https://phpctl.dev/#usage)
- [Available commands](https://phpctl.dev/commands)
- [The `.phpctlrc` file](https://phpctl.dev/phpctlrc)
- [The `phpctl.ini` file](https://phpctl.dev/phpctlini)
- [Available extensions](https://phpctl.dev/extensions)
- [Why it exists?](https://phpctl.dev/why)

## Contributing
Click here to read the [contributing guidelines](CONTRIBUTING.md).