Download the PHP package ronasit/laravel-telescope-extension without Composer

On this page you can find all versions of the php package ronasit/laravel-telescope-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-telescope-extension

Laravel Telescope Extension

Coverage Status

The library extends the Laravel Telescope's package.

Installation

Install the package using the following command

Publish the package configuration:

That's it!

Features

๐Ÿ”’ Restricting Access by IP in the Production environment

Package allows to restrict access to the Telescope only in the production environment using an IP whitelist.

Modify the allowed_ips config for this.

Empty config value will allow to have access from any IP address.

๐Ÿงน Updated prune command

Manually call the console command telescope:prune with your options or specify it into schedule. For example:

The explanation: remove all records with entry type request older than 240 hours, with entry type query older than 24 hours, and entry type unresolved-exception older than 480 hours. Also, remove records of all other entry types older than 100 hours.

Command's options have the following formats:

Option Format Description
--set-hours [entry-type]:[hours],[entry-type]:[hours]... List of rules for specified entry types
--hours [hours] Rule for all other entry types

Here is the list of possible entry-type values:

Entry Type
batch
cache
dump
event
exception
job
log
mail
model
notification
query
redis
request
schedule
gate
view
unresolved_exception
resolved_exception
completed_job

๐Ÿงฉ Store content in JSON field

The content field in the telescope_entries table now has the jsonb type which makes it easier to work with using the database management system's tools.

๐Ÿ” Production Filter

Feel free to use the predefined telescope filter for the production environment. It'll collect next entries:

โ€ข Exceptions

โ€ข Incoming HTTP requests with the status >= 400

โ€ข Outgoing HTTP requests with the status >= 400

โ€ข Failed jobs

โ€ข Slow DB queries

โ€ข Scheduled tasks

To enable the filter just use it in your own TelescopeServiceProvider

๐Ÿ‘€ Extended Request Watcher

The extended Request watcher provides new configurable logic.

๐Ÿ™ˆ Ignoring requests by response message

Watcher will ignore incoming HTTP requests if the message field in the response is equal to one of the ignorable messages.

Just add the full message to the ignore_error_messages config.

๐Ÿ™ˆ Ignoring requests by path

Works the same as the ignore config of the CommandWatcher. The watcher will skip incoming HTTP requests if they are made to one of the ignorable paths.

Use the ignore_paths config for this.

The main difference between this config and the global telescope ignore_paths config is that the request watcher's config will ignore only incoming HTTP requests and will still store all other entries related to the request (such as queries, jobs, exceptions, etc.)


All versions of laravel-telescope-extension with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
laravel/framework Version >=11.44.1
laravel/telescope Version ^5
muhammadhuzaifa/telescope-guzzle-watcher Version ^3.2
ronasit/laravel-helpers Version ^3.5.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ronasit/laravel-telescope-extension contains the following files

Loading the files please wait ....