PHP code example of cleaniquecoders / splate

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

    

cleaniquecoders / splate example snippets


Route::get('dashboard','HomeController@index')->middleware('theme');

Route::get('dashboard','HomeController@index')->middleware('theme:theme_name,layout_name');

{{ Theme::asset()->container('footer')->add('delete-script', 'js/delete.js') }}

{!! Theme::partial('components.checkboxes',['options' => $roles,'label' => 'Role', 'selected' => [], 'name' => 'role_id']) !!}

php artisan theme:create theme_name