pint VS null-ls.nvim

Compare pint vs null-ls.nvim and see what are their differences.

pint

Laravel Pint is an opinionated PHP code style fixer for minimalists. (by laravel)

null-ls.nvim

Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua. (by jose-elias-alvarez)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
pint null-ls.nvim
13 164
2,673 3,554
1.7% -
8.8 0.0
2 days ago 9 months ago
PHP Lua
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pint

Posts with mentions or reviews of pint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-13.
  • How to setup efm-langserver for pint formatter?
    3 projects | /r/neovim | 13 Jul 2023
    I've been using pint for formatting php files with null-ls.nvim. Few days ago null-ls.nvim has announced that the plugin will be archived in few months so I started migrating all my formatters and linter from null-ls to efm-langserver. I got other things such as prettier, black, isort, mypy, etc. working but can't get pint to work with php files: If I run pint via efm-langserver, everything is deleted from the buffer, and the saved file is formatted separately. How do I setup efm-langserver correctly to work with pint? Below is my config.yml for pint currently. yaml tools: pint: &pint format-command: "pint --no-interaction --quiet ${INPUT}" format-stdin: false languages: php: - <<: *pint Thank you.
  • Laravel Pint... aka Standards + 1
    1 project | /r/laravel | 27 Sep 2022
    Well, the rules are defined here: https://github.com/laravel/pint/blob/main/resources/presets/laravel.php
  • Laravel Pint v1.0 Released
    1 project | dev.to | 9 Aug 2022
    Be sure to check out the Pint documentation at https://github.com/laravel/pint. We hope you enjoy this new package. At Laravel, we're committed to providing you with the most robust and developer-friendly PHP experience in the world. Enjoy!
  • 7 Laravel Packages to Improve Coding Standards and Reduce Bugs
    10 projects | dev.to | 1 Aug 2022
    Laravel Pint is an opinionated PHP code style fixer for minimalists. Pint is built on top of PHP-CS-Fixer and makes it simple to ensure that your code style stays clean and consistent. Pint is a new addition to the Laravel framework.
  • How do you feel about laravel/pint?
    3 projects | /r/laravel | 19 Jul 2022
  • How to Fix and Clean Code Style in laravel 9
    1 project | dev.to | 13 Jul 2022
    For details vist https://github.com/laravel/pint
  • Modern PHP practices... where to start, what to look out for?
    2 projects | /r/PHP | 24 Jun 2022
    Static Analysis Tools - there are a number of tools that help you to manage code style (PHPCS, PHP-CSFixer, and a new one, Laravel Pint), as well as tools to analyse the "correctness" of your code (Psalm, PHPstan, in particular LaraStan).
  • How to Add Laravel Pint to VS Code Formatter
    1 project | dev.to | 24 Jun 2022
    and as per me, Pint is the so far most sophisticated code formatter i have ever user in the reference of PHP. You can find more details about laravel/pint here.
  • Laravel Pint is a minimalist code style fixer for PHP
    1 project | news.ycombinator.com | 23 Jun 2022
    1 project | /r/programming | 23 Jun 2022

null-ls.nvim

Posts with mentions or reviews of null-ls.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.
  • cpp setting problem
    4 projects | /r/neovim | 6 Dec 2023
  • Being a bash developer in the 21st century
    4 projects | news.ycombinator.com | 22 Sep 2023
    you can use nvim then, it has shellcheck for diagnostics and formatting, like in vscode :)

    here the link to the config: https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main...

  • Linting/formatting and LSP
    1 project | /r/neovim | 8 Sep 2023
    I use a lot of different languages generally and I'm running into issues around formatting. Is there any standard way to use LSP formatting by default and otherwise fallback to specific linter/formatting programs? I believe null-ls is the normal way of dealing with this, but since it's been archived, I'd rather not rely on it.
  • How to setup efm-langserver for pint formatter?
    3 projects | /r/neovim | 13 Jul 2023
    I've been using pint for formatting php files with null-ls.nvim. Few days ago null-ls.nvim has announced that the plugin will be archived in few months so I started migrating all my formatters and linter from null-ls to efm-langserver. I got other things such as prettier, black, isort, mypy, etc. working but can't get pint to work with php files: If I run pint via efm-langserver, everything is deleted from the buffer, and the saved file is formatted separately. How do I setup efm-langserver correctly to work with pint? Below is my config.yml for pint currently. yaml tools: pint: &pint format-command: "pint --no-interaction --quiet ${INPUT}" format-stdin: false languages: php: - <<: *pint Thank you.
  • Archiving Null-Ls
    1 project | news.ycombinator.com | 10 Jul 2023
  • null-ls will be archived
    1 project | /r/ThePrimeagenReact | 10 Jul 2023
    14 projects | /r/neovim | 9 Jul 2023
  • Why is nobody using CoC anymore?
    3 projects | /r/neovim | 3 Jul 2023
    Because null-ls.nvim & mason.nvim together do everything I wanted CoC for
  • Your favourite Neovim plugins?
    42 projects | /r/neovim | 21 Jun 2023
  • How can I get yapf, black, and other formatters working with pylsp?
    1 project | /r/neovim | 19 Jun 2023
    There is a good answer. I think you know lua and neovim config enough to pick things that you need. If you need a short answer, null-ls is the way.

What are some alternatives?

When comparing pint and null-ls.nvim you can also consider the following projects:

larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.

formatter.nvim

PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues

nvim-lspconfig - Quickstart configs for Nvim LSP

phplint - :bug: A tool that can speed up linting of php files by running several lint processes at once.

neoformat - :sparkles: A (Neo)vim plugin for formatting code.

astropy - Astronomy and astrophysics core library

StyLua - An opinionated Lua code formatter

PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!

nvim-lint - An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.

phpinsights - 🔰 Instant PHP quality checks from your console

efm-langserver - General purpose Language Server