PHP code example of codemonster-ru / ui
1. Go to this page and download the library: Download codemonster-ru/ui 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/ */
codemonster-ru / ui example snippets
use Codemonster\Razor\Components\ComponentRegistry;
use Codemonster\Ui\UiComponentProvider;
$components = new ComponentRegistry();
$components->register(new UiComponentProvider());
use Codemonster\Ui\Assets\AssetManifest;
use Codemonster\Ui\Assets\AssetPublisher;
$publisher = new AssetPublisher(AssetManifest::packaged());
$publishedPaths = $publisher->publish(__DIR__ . '/public/vendor/codemonster-ui');