PHP code example of milpa / example-agent-ready-blog
1. Go to this page and download the library: Download milpa/example-agent-ready-blog 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/ */
milpa / example-agent-ready-blog example snippets
$storage = [
'driver' => 'sqlite', // ⇄ 'file' ⇄ 'mysql' ⇄ 'memory' — the whole migration is this line
'path' => $storageFile ?? $root . '/var/blog.db',
];
bash
composer create-project milpa/example-agent-ready-blog blog
cd blog
php bin/blog.php