PHP code example of sinevia / php-serverless
1. Go to this page and download the library: Download sinevia/php-serverless 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/ */
sinevia / php-serverless example snippets
composer create-project --prefer-dist sinevia/php-serverless .
php -S localhost:32222
php tests/test.php
echo joinCss(['/css/main.css','/css/secondary.css']);
<img src=" echo image2DataUri('/public/img/avatar.png');