PHP code example of decodelabs / fabric
1. Go to this page and download the library: Download decodelabs/fabric 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/ */
decodelabs / fabric example snippets
// src/Bootstrap.php
is\Bootstrap\Seamless;
use DecodeLabs\Fabric\Genesis\Hub;
new Seamless(
hubClass: Hub::class
)->run();
use DecodeLabs\Fabric;
$app = Fabric::getApp();