phpctl

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

MIT License

Stars
273

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

/bin/bash -c "$(curl -fsSL https://phpctl.dev/install.sh)"

And that is it!

Try it out:

phpctl doctor
php --version
composer --version

Using Dev Containers? We have a pre-built image:

{
  "image": "opencodeco/phpctl:php83-devcontainer"
}

In fact, we use it ourselves to develop phpctl itself: devcontainer.json.

Getting started

Contributing

Click here to read the contributing guidelines.

Related Projects