Skip to content

Instantly share code, notes, and snippets.

@minhoryang
Created December 1, 2019 08:38
Show Gist options
  • 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