PHP code example of lfukumori / laravel-blade-include-relative

1. Go to this page and download the library: Download lfukumori/laravel-blade-include-relative 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/ */

    

lfukumori / laravel-blade-include-relative example snippets


<!-- Stored in resources/views/site/some-file.blade.php -->

{{-- full cluded-view'])
{{-- full e --}}
@ncluded-view'])
{{-- relative each --}}
@each('partials.

<!-- Stored in resources/views/site/partials/</div>

<!-- Stored in routes/web.php -->

Route::view('/test', 'site.some-file');
shell
php artisan view:clear