PHP code example of hmones / laravel-facade

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

    

hmones / laravel-facade example snippets




return [
    'provider' => [
        'name'      => 'FacadeServiceProvider',
        'namespace' => 'App\Providers',
    ],
];
App\Providers\FacadeServiceProvider.php
config\app.php
bash
php artisan vendor:publish --tag=laravel-facade-config
 
Http\Controllers\ExampleController.php
bash
php artisan make:facade FacadeName Custom/ImplementedClass.php
 
bash
php artisan remove:facade FacadeName
 
bash
php artisan vendor:publish --tag=laravel-facade-provider