pint VS Standard

Compare pint vs Standard and see what are their differences.

pint

Laravel Pint is an opinionated PHP code style fixer for minimalists. (by laravel)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
pint Standard
13 75
2,670 28,856
1.6% 0.2%
8.7 8.0
5 days ago 3 months ago
PHP JavaScript
MIT License MIT License
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

Standard

Posts with mentions or reviews of Standard. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-19.
  • Why is Prettier rock solid?
    13 projects | news.ycombinator.com | 19 Feb 2024
    I picked up standard[1] a while back for this reason, I don't want to have to think about it. It works fine, I have no complaints (took me a while to get used to not using semi-colons but now I prefer it) Same reason I use `cargo fmt` as well.

    [1] https://standardjs.com/

  • Eslint & Prettier Configuration React Native(Airbnb Style)
    5 projects | dev.to | 4 Dec 2023
    # question 1: ? How would you like to use ESLint? … To check syntax only To check syntax and find problems ❯ To check syntax, find problems, and enforce code style # question 2: ? What type of modules does your project use? … ❯ JavaScript modules (import/export) CommonJS (require/exports) None of these # question 3: ? Which framework does your project use? … ❯ React Vue.js None of these # question 4 (select "No", because we won't add TypeScript support for this project): ? Does your project use TypeScript? › No / Yes # question 5: ? Where does your code run? … Browser ✔ Node # question 6: ? How would you like to define a style for your project? … ❯ Use a popular style guide Answer questions about your style Inspect your JavaScript file(s) # question 7 (we'll rely on Airbnb's JavaScript style guide here): ? Which style guide do you want to follow? … ❯ Airbnb: https://github.com/airbnb/javascript Standard: https://github.com/standard/standard Google: https://github.com/google/eslint-config-google # question 8: ? What format do you want your config file to be in? … JavaScript YAML ❯ JSON # the final prompt here is where eslint will ask you if you want to install all the necessary dependencies. Select "Yes" and hit enter: Checking peerDependencies of eslint-config-airbnb@latest The config that you have selected requires the following dependencies: eslint-plugin-react@^7.21.5 eslint-config-airbnb@latest eslint@^5.16.0 || ^6.8.0 || ^7.2.0 eslint-plugin-import@^2.22.1 eslint-plugin-jsx-a11y@^6.4.1 eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0 ? Would you like to install them now with npm? › No / Yes
  • Prepare your Meteor.js project for the big 3.0 release!
    3 projects | dev.to | 1 Nov 2023
  • My prepared repositories for hacktoberfest 23 - any contributions are welcomed 🚀
    16 projects | dev.to | 1 Oct 2023
    A Thin JavaScript Document Storage with Middleware Stack
  • VanillaDB: A Tiny Browser-Based Database
    1 project | dev.to | 27 Aug 2023
  • My opinionated JavaScript package template repository - zero config, start immediately
    8 projects | dev.to | 8 Aug 2023
  • React Proto - React TypeScript Boilerplate (Redux, RTK Query, SSR, SWR, Preact inside and much more)
    3 projects | /r/javascript | 16 Feb 2023
  • <3 Deno
    11 projects | news.ycombinator.com | 12 Feb 2023
    https://github.com/standard/standard/issues/384
  • Dumb question
    2 projects | /r/learnjavascript | 7 Feb 2023
    For example, if you use https://standardjs.com/ - it will error on your second code snippet and if you ask it for an autofix - it will transfer the minus sign to the first line.
  • Unleash the Power of Java: A JavaScript Developer's Guide to Best Practices in Java Development
    2 projects | dev.to | 5 Feb 2023
    In comparison, JavaScript doesn't have a strict coding standard, although it does have widely accepted code style guides like the Airbnb JavaScript Style Guide and the JavaScript Standard Style. These guides provide recommendations for code formatting and naming conventions, but they are not as strictly enforced as the Java coding standard.

What are some alternatives?

When comparing pint and Standard you can also consider the following projects:

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

XO - ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults

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

eslint-config-xo - ESLint shareable config for XO

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

ESLint - Find and fix problems in your JavaScript code.

astropy - Astronomy and astrophysics core library

prettier - Prettier is an opinionated code formatter.

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

semistandard - :icecream: All the goodness of `standard/standard` with semicolons sprinkled on top.

phpinsights - 🔰 Instant PHP quality checks from your console

eslint-config-google - ESLint shareable config for the Google JavaScript style guide