1. Go to this page and download the library: Download adems/dapur-asset 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/ */
adems / dapur-asset example snippets
return [
AdeMS\Dapur\Asset\ConfigProvider::class,
// ... modul lain, mis. AdeMS\Dapur\Dashboard\DashboardUtamaConfigProvider::class
];
return [
'asset' => [
// Folder aset dari dashboard. Bawaan: <inti>/data/asset
'folder' => '/path/ke/data/asset',
// Aset terkunci dari folder mana pun di server.
'aset' => [
'adems/logo' => ['folder' => '/path/ke/logo', 'akses' => 'publik', 'berversi' => false],
],
// Versi pilihan website ini (di config/autoload website); menang atas pilihan di dashboard.
'versi' => ['twbs/bootstrap' => '5.3.8'],
// Batas ukuran satu unggahan (sesudah ZIP dibongkar), dalam MB. Bawaan 100.
'unggah_maks_mb' => 100,
],
];