PHP code example of earthperson / modx-bootstrap
1. Go to this page and download the library: Download earthperson/modx-bootstrap 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/ */
earthperson / modx-bootstrap example snippets
Shell
php build.transport.php
Shell
MODX_CORE_PATH='/path/to/modx/core/';\
composer create-project earthperson/modx-bootstrap MODX-Bootstrap --prefer-dist;\
cd MODX-Bootstrap/_build/;\
sed "3s|/.*/|$MODX_CORE_PATH|" build.config.sample.php > build.config.php;\
php build.transport.php