GitHunt
SY

Run laravel/pint using Docker, regardless of system/project PHP version.

pinter

Lightweight (based on Alpine) Docker image for running laravel/pint code-style fixer regardless of Laravel or PHP version you may have.

GitHub Workflow Status
Docker Pulls

Usage

To use this image, you must have Docker installed.
If already, run the below command in your Laravel or PHP project folder:

$ docker run -it --rm -v $PWD:/workspace syncloudsoftech/pinter

You can pass options to pint such as a --preset (default is laravel) or --test easily as below:

$ docker run -it --rm -v $PWD:/workspace syncloudsoftech/pinter pint --preset psr12

Development

Building or modifying the container yourself from source is also quite easy.
Just clone the repository and run below command:

$ docker build -t pinter .

Run the locally built container as follows:

$ docker run -it --rm -v $PWD:/workspace pinter

License

See the LICENSE file.

Languages

Dockerfile100.0%

Contributors

MIT License
Created December 24, 2022
Updated August 27, 2025