PHP code example of bag / admin-panel-skeleton
1. Go to this page and download the library: Download bag/admin-panel-skeleton 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/ */
bag / admin-panel-skeleton example snippets
use BAG\AdminPanelSkeleton\AdminPanelSkeleton;
$data = [
// AdminSkeleton's configuration options
];
echo AdminPanelSkeleton::render($data);
/* Include the template directly */
$data = [
// AdminSkeleton's configuration options
];
include 'path-to-adminskeleton/php/skeleton.html.php';
/* Include the class and use the built in render method */
function renderAdminSkeleton($data) {
ton's configuration options
]);
// or as a closure
$renderAdminSkeleton = function($data) {