PSR-12
See every discussion that mentions PSR-12
Brand Details
Type: Product
Description: PSR-12 is a coding standard developed by the PHP Framework Interop Group (PHP-FIG). It's an extended coding style guide for PHP, building upon and replacing the earlier PSR-2 standard. The goal is to reduce confusion when reading code from different authors by providing a shared set of rules and expectations for formatting PHP code. This improves readability, maintainability, and collaboration among developers working on PHP projects. PSR-12 covers various aspects of code style, including indentation, line length, namespace declarations, use statements, class and method declarations, and control structures. It aims to create a consistent and logical approach to PHP coding, promoting interoperability across different projects and frameworks. The standard was approved in 2019.
Website: https://www.php-fig.org/psr/psr-12/
Mention Analytics
Total Mentions: 5
Subreddit Mentions:
Positive Mentions: 4
Negative Mentions: 1
Sign up to filter, search, and track the sentiment of all brand mentions for PSR-12 over time.
💬 8 comments
⬆︎ 24 upvotes
The commenter states that the extension disregards PSR-12.
Found in /r/PHP/Feb 9, 2025
Need Feedback on a Simple PHP OOP Application (No Composer) – Am I Following Best Practices?
💬 26 comments
⬆︎ 0 upvotes
Mentioned as a coding style guide.
Found in /r/PHP/💬 13 comments
⬆︎ 11 upvotes
This is mentioned as a potential ruleset for PER 1.0, but not for PER 2.0.
Found in /r/PHP/May 23, 2024
Formatting
💬 97 comments
⬆︎ 36 upvotes
A standard used to ensure consistent code formatting. Multiple users reference this as an ideal standard to adhere to.
Found in /r/PHP/Jul 29, 2019
PSR-12, extended coding style is in voting phase
💬 85 comments
⬆︎ 95 upvotes
The user expresses interest in PSR-12 and shares a blog post link.
Found in /r/PHP/Subscribe to our newsletter!
Stay up to date on how the latest changes in AI might impact your marketing plan.