php-the-right-way
php-the-right-way copied to clipboard
An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web
- Static Code Analysis - [PhpMetrics](http://www.phpmetrics.org/) is a static analyzer tool. - [PHP Mess Detector](http://phpmd.org/) - [PHPLOC](https://github.com/sebastianbergmann/phploc) A tool for quickly measuring the size of a PHP project. - [phpcpd](https://github.com/sebastianbergmann/phpcpd)...
In the [Windows Setup](https://phptherightway.com/#windows_setup) section, IIS 7 and its PHP manager are mentioned as a solution for the production environment. However, both tools reached EOL. IIS 7 lost its support...
The polish version, which is available at https://pl.phptherightway.com/, has an invalid SSL certificate. It seems that the default GitHub cert is used instead of a customized one for the domain....
Every project should have its newline settings defined in `.gitattributes` to avoid a mess of windows and unix newlines. There's an added benefit of using `.gitattributes` to simplify your `git...
With all that goodies documented, we still have a topic to think about. Type casting in PHP is horrible and hard (means prone to errors). You shouldn't use that in...
The site currently mentions "Web Root" twice and "DocumentRoot" twice. It says that one should run `php -S localhost:8000` from the "Web Root". Is the "Web Root" the same as...
Hello, Thanks for this beautiful and important repo, php is kind of widely used and most loved language in my country so I was interested really for adding the Bengali...
The advice given is that: > You should use the `mb_internal_encoding()` function at the top of every PHP script you write (or at the top of your global include script),...
Good day Sirs, I've followed the instructions in the contributing.md in previewing locally bundle install --path vendor/bundle bundle exec jekyll serve but I got an error in nokogiri  Thank...
https://github.com/php-pm/php-pm PHP-PM is a process manager, supercharger and load balancer for PHP applications (especially for asynchronous ones). It stated that it provides: * Performance boost up to 15x (compared to...