Skip to content

Instantly share code, notes, and snippets.

@minhoryang
Created December 1, 2019 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minhoryang/eba6f8a9f7dfc3b1c062b506983d8921 to your computer and use it in GitHub Desktop.
Save minhoryang/eba6f8a9f7dfc3b1c062b506983d8921 to your computer and use it in GitHub Desktop.
FACE PALM...

PHP @ 2019~

declare(strict_operators=1); declare(strict_types=1); ini_set('display_errors', "1"); error_reporting(E_STRICT); or E_ALL

PHP Version?

Package manager

composer https://github.com/hirak/prestissimo (phpize?)

Generics?

https://www.daveliddament.co.uk/articles/php-generics-today-almost/

Frameworks?

nette laravel symfony

ORM

https://www.doctrine-project.org/

Testing

https://phpunit.de/getting-started/phpunit-8.html https://github.com/infection/infection https://github.com/nunomaduro/pest https://github.com/krakjoe/tombs

Profiler (Performance)

https://github.com/krakjoe/stat badoo/liveprof

Checker/Linter

https://github.com/squizlabs/PHP_CodeSniffer https://github.com/PHPCompatibility/PHPCompatibility https://github.com/overtrue/phplint https://github.com/kalessil/phpinspectionsea https://github.com/exussum12/coverageChecker https://github.com/nunomaduro/phpinsights https://github.com/FriendsOfPHP/PHP-CS-Fixer (https://cs.symfony.com/)

Refactoring Tool

https://github.com/rectorphp/rector

Logger

https://github.com/Seldaek/monolog

Debugger

xDebug https://github.com/facade/ignition (for laravel) https://jolicode.com/blog/find-segfaults-in-php-like-a-boss

API Router?

http://www.slimframework.com/ https://github.com/goldspecdigital/oooas (Swagger/OpenAPI Spec)

.env

helhum/dotenv-connector

Secure

https://github.com/nbs-system/snuffleupagus (Snuffleupagus) https://github.com/terrylinooo/shieldon

Clean code

https://github.com/jupeter/clean-code-php

Datetime

https://blog.nikolaposa.in.rs/2019/07/01/stop-using-datetime/

Dockerfile

https://blog.docker.com/2019/07/intro-guide-to-dockerfile-best-practices/

Github Actions

https://stefanzweifel.io/posts/github-actions-for-php-developers/

Thanks to

http://haah.kr/2019/10/09/php-annotated-monthly-october-2019/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment