goimports vs Laravel Pint
goimports
pkg.go.devLaravel Pint
laravel.comSide by side
| Figure | goimports | Laravel Pint |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | — |
| macOS | Yes | Yes |
| Linux | Yes | — |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Code Formatting Tools | 7.7 (#17) | 8.3 (#5) |
| Installation | The package page gives `go install golang.org/x/tools/cmd/goimports@latest` as the installation command. | Pint is included in recent Laravel framework releases; older applications can install it with Composer. |
| License | The package page identifies its license as BSD-3-Clause and marks it redistributable. | The Laravel Pint repository identifies Pint as open-source software licensed under the MIT license. |
| Purpose | goimports updates Go import lines by adding missing imports and removing unreferenced imports. | Laravel Pint is an opinionated PHP code style fixer built on PHP CS Fixer. |
Plans
In their own words
Laravel Pint
Laravel Pint has no write-up on Specifiction yet; its figures are above.