Perspectives
  • Home
  • WordPress
  • WebDev
  • PHP
  • WeChat
  • Vue

PHP

A collection of 3 posts

PHP
Xdebug with VS Code (Remote - SSH)
PHP
25 Aug 2021 • 1 min read

Xdebug with VS Code (Remote - SSH)

quickly setup php debugging on remote server with Xdebug and VS Code with Remote-SSH enable

Read more
Assessing Grey Level of an Image with PHP
PHP
22 Aug 2018 • 1 min read

Assessing Grey Level of an Image with PHP

> 16) & 0xFF; $green = ($rgb >> 8 ) & 0xFF; $blue = $rgb & 0xFF; //formula to calculate gray level $gray = round(.299*$red + .587*$green

Read more
15 Jan 2017 • 1 min read

Basis of Composer for PHP

The Core File * composer.json The Keys The require Key Specifying the dependency of the project, the packages that the project depends on. { "require": { "monolog/monolog": "1.0.*" // "package name" : "version" } } Package Name (monolog/monolog) Consist of a vendor name and a library name Version (1.0.*) Range: >, >=, <, <=, != Hyphen(-)

Read more
  • Home
  • WordPress
  • WebDev
  • PHP
  • WeChat
  • Vue

FOLLOW ME ON

WeChat bilibili facebook youtube
DESIGNED BY WAICHUNG, PUBLISHED WITH GHOST