PHP projects targeting version 8.3 or later can now replace traditional tool stacks with Pun, a single Rust binary in public beta that handles formatting, linting, analysis, and Composer package installations through a single configuration file.
Pushpak Chhajed, a software engineer at Laravel, launched the beta on November 24, 2026, urging users to “Try it and break it.” Nuno Maduro, creator of Pint and Larastan, described the tool in a video as “bun, but for php,” according to Sulat AI & Tech News.
Developers typically rely on separate utilities like Laravel Pint, PHP-CS-Fixer, Rector, PHPStan, Larastan, and Composer, each requiring individual configuration files and runtime processes. Pun combines these functions into a native binary governed by a single pun.toml file, utilizing parser and analysis libraries ported from Mago.
Pun is now in public beta: The ultrafast unified PHP toolchain. Format, lint, analyse and install packages. One pun.toml. Try it and break it. The beta is how we find and fix the bugs. What each command does 👇 pic.twitter.com/yI87ckNARm
The documentation states that formatting, linting, and analysis commands do not require PHP to be installed locally. The binary handles package management via pun install by downloading dependencies in parallel, verifying checksums, and linking them from a shared local store.
In his announcement, Chhajed urged users to “Try it and break it,” framing the beta period as the way to find and fix bugs.
The package is available on Packagist as shipfastlabs/pun and is MIT licensed. While the repository is in the shipfastlabs organization and not Laravel’s, Chhajed’s own profile confirms his work at Laravel. At the time of reporting, the project had 193 GitHub stars and 31 open issues, with seven releases made between November 23 and 25, 2026.
The documentation states Pun’s format command layouts, casing, and spelling byte-for-byte like Laravel Pint, while pun lint reports code that could be written better and pun lint –fix applies those fixes. The analyse command, comparable to PHPStan, reports type errors such as undefined methods and never edits a file.
For Laravel applications, the tool automatically detects the framework and Pest if they are present, and it runs Larastan checks without a separate installation by reading macro calls from service providers and bootstrap files.
Projects transitioning from legacy setups can use pun migrate to parse existing configuration files, though custom rules and closures are skipped with warnings.
When running on Laravel applications, the tool automatically detects framework extensions and integrates Larastan checks without requiring separate installations. For AI coding workflows, the package includes a guideline prompting coding agents to execute checks efficiently after making code modifications.
Worth a look