PHP code example of alexanderhorner / laravel-orbit-html-driver
1. Go to this page and download the library: Download alexanderhorner/laravel-orbit-html-driver 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/ */
alexanderhorner / laravel-orbit-html-driver example snippets
return [
'default' => env('ORBIT_DEFAULT_DRIVER', 'html'), # <-- Change here to html
'drivers' => [
'html' => \Alexanderhorner\LaravelOrbitHtmlDriver\Driver\HTMLDriver::class, # <-- Add this line to your drivers array here
'md' => \Orbit\Drivers\Markdown::class,
'json' => \Orbit\Drivers\Json::class,
'yaml' => \Orbit\Drivers\Yaml::class,
'md_json' => \Orbit\Drivers\MarkdownJson::class,
],
...
sh
php artisan vendor:publish --provider="Orbit\\OrbitServiceProvider"