PHP code example of railpage / railpagecore
1. Go to this page and download the library: Download railpage/railpagecore 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/ */
railpage / railpagecore example snippets
use Railpage\Locos\Factory as LocosFactory;
$Loco = LocosFactory::CreateLocomotive($id);
$Loco = LocosFactory::CreateLocomotive(null, "NR Class", "NR121");