PHP code example of gemvc / stcms
1. Go to this page and download the library: Download gemvc/stcms 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/ */
gemvc / stcms example snippets
// public/index.php - Only 8 lines!
rojectRoot = dirname(__DIR__);
$bootstrap = new Bootstrap($projectRoot);
$bootstrap->runApp();
bash
php vendor/bin/stcms init
bash
# Install English docs
php vendor/bin/stcms install:help en