Laravel Pint vs Scalafmt
Laravel Pint
laravel.comScalafmt
scalameta.orgSide by side
| Figure | Laravel Pint | Scalafmt |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | Yes | Yes |
| Linux | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Code Formatting Tools | 8.3 (#5) | 7.6 (#22) |
| License | The Laravel Pint repository identifies Pint as open-source software licensed under the MIT license. | The GitHub repository identifies the project license as Apache-2.0. |
| Purpose | Laravel Pint is an opinionated PHP code style fixer built on PHP CS Fixer. | Scalafmt is a code formatter for Scala that formats code consistently across a team. |
Plans
In their own words
Laravel Pint
Laravel Pint has no write-up on Specifiction yet; its figures are above.
Scalafmt
Scalafmt is a free Scala code formatter for keeping formatting consistent across a team. It handles Scala 2, Scala 3, sbt files and Scala scripts, with one dialect selected for each file. Formatting options are stored in a plain-text .scalafmt.conf file using HOCON syntax. Since version 3.1.0, the configuration must explicitly specify both the version and runner.dialect. Scalafmt can run from an editor, build tool or terminal. Documented editor integrations include IntelliJ, VS Code, Vim, NeoVim, Emacs, Sublime Text and Eclipse; Metals supports formatting requests from editors. It integrates with sbt and documents integrations for Maven, Gradle and Mill. Command-line check and test modes report misformatted code without writing changes. It also supports ignoring files, changed-lines formatting and a library API. IntelliJ range formatting uses IntelliJ’s own formatter by default: Scalafmt is designed primarily for whole files, and selected ranges may produce undesirable results. The project license is Apache-2.0.