php-fig/fig-standards
View on GitHub ↗ ★ 12,512
Standards either proposed or approved by the Framework Interop Group
15 mentions on Hacker News by 14 people: 3 stories, 12 comments · first 2012-06-26 · latest 2025-07-30
20082026
-
…[1] https://www.phptutorial.net/php-oop/php-composer-autoload/ (I do not use "dump-autoload"), https://github.com/php-fig/fig-standards/blob/master/accepte... , https://www.php-fig.org/psr/psr-4/ ( https://www.php-fig.org/psr/ ) --- I…
comment by johnisgood · 2025-07-30 · in URL-Driven State in HTMX -
…similar auto-loading system as PHP now[2] with constants translating to paths by convention. [0]: https://github.com/php-fig/fig-standards/blob/master/accepte... [1]: https://www.php-fig.org/psr/psr-4/ [2]:…
comment by captn3m0 · 2022-02-07 · in PHP – The Right Way -
…I use Slim framework extensively nowadays, and it has a surprisingly PSR 2,4,7, AND 15 support. https://github.com/php-fig/fig-standards The repo is quite active.
comment by Ayesh · 2020-06-10 · in 25 Years of PHP -
…on line length; the soft limit MUST be 120 characters; lines SHOULD be 80 characters or less.` https://github.com/php-fig/fig-standards/blob/master/accepte... A language that has to permit this kind of thing (or thinks it has to) is just…
comment by xrd · 2019-05-15 · in PHP in 2019 -
…something someone already has. For example, - https://github.com/bbatsov/ruby-style-guide - https://github.com/php-fig/fig-standards These are editable by anyone and people already on GitHub so it makes it easy. I don't want to rain on…
comment by JeremyMorgan · 2014-04-01 · in StackOverflow closed my question, that's why we exist -
…logging interfaces, HTTP request/response interfaces, and so forth. [1] http://www.php-fig.org/ [2] https://github.com/php-fig/fig-standards
comment by ihsw · 2013-08-26 · in A Look at PHP's Continuing Evolution -
…concepts (braces, indentation). But WP is so popular, I don't see how this might ever be resolved. https://github.com/php-fig/fig-standards/blob/master/accepte... http://make.wordpress.org/core/handbook/coding-standards/php...
comment by joemaller1 · 2013-08-03 · in Reasons Why WordPress Made PHP Popular, not PHP Frameworks -
…and a templating system (twig, mustache, smarty, what have you) and class autoloading. PSR-0 ( https://github.com/php-fig/fig-standards/blob/master/accepte... ) is annoying, but it is really convenient once you get past the overhead. If…
comment by krapp · 2013-06-25 · in The new php.net -
…(composer, the dependency manager) - https://packagist.org/ (the main composer repository) - https://github.com/php-fig/fig-standards/tree/master/accepte... (accepted conventions) - http://www.slideshare.net/fabpot/dependency-injection-with…
comment by throwawayG9 · 2013-04-06 · in URLs are for People, not Computers -
…examples. Further, anything from the symphony framework and the composer stuff is quite good. See https://github.com/php-fig/fig-standards for some of the good work that is happening.
comment by captn3m0 · 2013-03-02 · in Beautiful PHP -
…adopted the full range of PHP features, unit testing (TDD and BDD), and coding standards ( https://github.com/php-fig/fig-standards/tree/master/accepte... ). This is nothing new and it's been like this for a while.
comment by debaserab2 · 2012-10-03 · in Drupal's Golden Handcuffs -
…And lastly, I would definately put namespacing and code organization in here somewhere, like PSR https://github.com/php-fig/fig-standards/blob/master/accepte... liked the article!
comment by jfaucett · 2012-08-21 · in Show HN: PHP Best Practices, a short guide for common and confusing PHP tasks