PHP code example of codersandip / telescope-exporter

1. Go to this page and download the library: Download codersandip/telescope-exporter 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/ */

    

codersandip / telescope-exporter example snippets


'providers' => [
    Codersandip\TelescopeExporter\TelescopeExportServiceProvider::class,
],

return [
    'path' => env('TELESCOPE_EXPORTER_PATH', 'telescope-api'),
];

Laravel\Telescope\Storage\EntryModel

use Laravel\Telescope\Storage\EntryModel;
bash
composer telescope:install
php artisan migrate
bash
php artisan vendor:publish --tag=telescope-exporter-config
text
config/telescope-exporter.php
bash
php artisan vendor:publish --tag=telescope-exporter-views
text
resources/views/vendor/telescope-exporter/export.blade.php
text
/telescope-api/export
text
/telescope-api/export/{uuid}
text
/telescope-api/export/{uuid}
json
{
  "php": "^7.3|^8.0",
  "illuminate/support": "^8.0|^9.0|^10.0|^11.0",
  "laravel/telescope": "^4.0|^5.0"
}
text
config/
  telescope-exporter.php
routes/
  web.php
resources/
  views/
    export.blade.php
src/
  TelescopeExportServiceProvider.php
  Http/
    Controllers/
      TelescopeExportController.php
  Services/
    CurlGeneratorService.php
    PostmanGeneratorService.php
bash
php artisan route:clear
php artisan optimize:clear