PHP code example of fr3on / laravel-ghost

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

    

fr3on / laravel-ghost example snippets

bash
php artisan ghost:scan
bash
php artisan ghost:install
php artisan migrate
text
+--------+------------------------+---------------------------------+
| Method | URI                    | Action                          |
+--------+------------------------+---------------------------------+
| GET    | /api/legacy/export     | LegacyController@export         |
| POST   | /internal/debug-reset  | DebugController@reset           |
+--------+------------------------+---------------------------------+

Found 2 dead routes, 0 orphaned listeners, 0 zombie jobs.
bash
php artisan vendor:publish --tag=ghost-config