PHP code example of khoirulaksara / awrel

1. Go to this page and download the library: Download khoirulaksara/awrel 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/ */

    

khoirulaksara / awrel example snippets


AwrelPlugin::make()
	    ->faviconSpinner()              // Enable animated favicon spinner (can be overridden by DB settings)
	    ->stickyTableActions()          // Enable sticky table actions column (can be overridden by DB settings)

AwrelPlugin::make()->stickyTableActions();

AwrelPlugin::make()->faviconSpinner();
bash
php artisan awrel:install
bash
# Publish all assets
php artisan vendor:publish --tag=awrel-config
php artisan vendor:publish --tag=awrel-views
php artisan vendor:publish --tag=awrel-js
php artisan vendor:publish --tag=awrel-public

# Or publish specific tags
php artisan vendor:publish --tag=awrel-config