PHP code example of infinitietech / custom-view-laravel
1. Go to this page and download the library: Download infinitietech/custom-view-laravel 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/ */
infinitietech / custom-view-laravel example snippets
return [
'default_type' => 'simple',
'default_permissions' => [
'chmod' => '644',
'owner' => 'www-data',
'group' => 'www-data',
],
'template_paths' => [
'custom' => resource_path('views/templates'),
],
];
bash
php artisan vendor:publish --provider="infinitietech\CustomView\CustomViewServiceProvider"