A curated list of amazingly awesome PHP libraries, resources and shiny things.
- Composer
- Composer Related
- Frameworks
- Framework Components
| #!/bin/bash | |
| # PhalconPhp with PHP7 installation on ubuntu:16.04 | |
| sudo apt-get update | |
| sudo apt-get install -y php7.0-fpm \ | |
| php7.0-cli \ | |
| php7.0-curl \ | |
| php7.0-gd \ |
| <?php | |
| // API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = array( $_GET['id'] ); | |
| // prep the bundle | |
| $msg = array |
| <?php | |
| class Template { | |
| function __construct($code, $escape = null) { | |
| $this->code = $code; | |
| $this->preparsed = null; | |
| $this->escape = $escape; | |
| } |
| <?php | |
| class Category extends Phalcon\Mvc\Model | |
| { | |
| public $id; | |
| public $lft; | |
| public $rgt; |
| # set cache proxy | |
| sudo vi /etc/apt/apt.conf << EOT | |
| Acquire::http::Proxy "http://192.168.88.10:3142"; | |
| Acquire::HTTP::Proxy::192.168.88.10 "DIRECT"; | |
| EOT | |
| sudo apt-get update | |
| sudo apt-get upgrade |
Author: Michael van Rooijen (@meskyanichi)
DISCLAIMER: I am a programmer, not a sysadmin in my day-to-day life. I provide this guide simply as a self-reference, and as a way to contribute to the community of developers. The main motivation for writing this guide is because of the lack of properly written guides/tutorials. They were either out-dated, inaccurate, in a non-English language or simply too vague to understand (at least for me, as a programmer and not a sysadmin).
I hope this guide helps getting you up and running with your own collection of VPS's on your own Dedicated Server over at Hetzner.de.
Requirements:
Author: Michael van Rooijen (@meskyanichi)
DISCLAIMER: I am a programmer, not a sysadmin in my day-to-day life. I provide this guide simply as a self-reference, and as a way to contribute to the community of developers. The main motivation for writing this guide is because of the lack of properly written guides/tutorials. They were either out-dated, inaccurate, in a non-English language or simply too vague to understand (at least for me, as a programmer and not a sysadmin).
I hope this guide helps getting you up and running with your own collection of VPS's on your own Dedicated Server over at Hetzner.de.
Requirements: