PHP code example of energy / air
1. Go to this page and download the library: Download energy/air library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
energy / air example snippets
bash
MariaDB> create database ab;
# from any dir:
mkdir -p ab/public
cd ab/public
php moon.php ab.sky root:@localhost/ab:ab_
# dsn syntax: user:password@databasehost:3306/databasename:tblprefix_