Skip to content

Apotik v1.0

Latest
Compare
Choose a tag to compare
@daviddprtma daviddprtma released this 04 Oct 01:15

In this new release you'll be get:
Laravel Telescope -> You can debug your program with so easy method with just do the following:
1.) You may use Composer to install Telescope into your Laravel project:
composer require laravel/telescope "^3.0" --dev
2.) After installing Telescope, publish its assets using the telescope:install Artisan command. After installing Telescope, you should also run the migrate command:
php artisan telescope:install
php artisan migrate
3.) After running telescope:install, you should remove the TelescopeServiceProvider service provider registration from your app configuration file. Instead, manually register the service provider in the register method of your AppServiceProvider:

/**

  • Register any application services.

  • @return void
    */
    public function register()
    {
    if ($this->app->isLocal()) {
    $this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
    $this->app->register(TelescopeServiceProvider::class);
    }
    }
    4.)You should also prevent the Telescope package from being auto-discovered by adding the following to your composer.json file:

    "extra": {
    "laravel": {
    "dont-discover": [
    "laravel/telescope"
    ]
    }
    },
    5.) Run your laravel telescope by just typing -> localhost:8000/telescope/requests and you should good to go to debug your program easily without inspect elements again:)