PHP code example of wulacms / rest
1. Go to this page and download the library: Download wulacms/rest 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/ */
wulacms / rest example snippets
return [
'dev'=>env('rest.dev',false),
'domain'=>env('rest.domain',''),
'expire'=>env('rest.expire',300),
'store'=>env('rest.store'),
'zipalign'=>env('rest.zipalign'),
'download'=>env('rest.download')
];