1. Go to this page and download the library: Download abtzco/seed-php 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/ */
abtzco / seed-php example snippets
# Deprecated
use Seed\App;
use Seed\Helper\Http;
# Correct
use SeedPHP\App;
use SeedPHP\Helper\Http;
$app = new App( ... );
// _DIR__ . '/vendor/autoload.php';
// initilise the Seed-PHP App class
$app = \SeedPHP\App::getInstance();
// Define a initial route
$app->route('GET /', function () {
echo 'Hello Word!';
});
// Let's rock ...
$app->run();
// ude __DIR__ . '/seed-php/loader.php';
sh
$ php composer
sh
$ php composer create-project rogeriotaques/seed-php
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.