Download the PHP package robsontenorio/lighthouse-dashboard without Composer

On this page you can find all versions of the php package robsontenorio/lighthouse-dashboard. 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 lighthouse-dashboard

Dashboard for Laravel Lighthouse GraphQL

:warning: WORK IN PROGRESS! BREAKING CHANGES ARE EXPECTED!

This package adds a standalone analytics dasbhoard with metrics collected from Laravel Lighthouse GraphQL Server.

Requirements:

Questions? Join us in Slack Channel.










Install

Require the package.

Publish package assets and config file.

Configure the package.

Run package migrations.

Open the dashboard.

To keep the assets up-to-date and avoid issues in future updates, we highly recommend adding the command to the post-autoload-dump section in your composer.json file:

Note about phpunit tests

This dashboard collects metrics by listening Nuwave\Lighthouse\Events\ManipulateResult . Make sure to disable this on your parent TestCase, in order to prevent metrics collecting while testing your app.

How does it works?

See more ...

This package enables built-in `Tracing` extension from Laravel Lighthouse GraphQL Server. So, every operation automatically is profiled with its execution metrics. - GraphQL request is made. - Dashboard listen to `ManipulateResult` event and collect metrics from current operation. - Metrics are stored on dashboard. The GraphQL server performance is not affected by this package, once metrics are collect after response is sent by server. You can also disable tracing output from server response. See "Configurations" section.

Configurations

See more ...

/config/lighthouse-dashboard.php

Tests

See more ...

If you need to tweak UI see "Local development" section.

Local development

See more ...

Once this package includes UI, the only way to see it is by running it through target app. ### Uninstall If you previous installed this package, **first uninstall it from target app**. Remove this entry from `composer.json`. Remove package. Remove package public assets from target app. ### Install locally Clone the repository, then on target app add to `composer.json` Require local package version. Then, create a symlink from package vendor folder to app public assets folder. From target app enter to package vendor folder. Install frontend dependencies and start it on dev mode. Now all assets built inside package vendor folder will be symlinked to target app public vendor folder. Then point to http://localhost:3000/lighthouse-dashboard/ ## Reference model

Roadmap

Credits

Developed by Robson Tenório and contributors.

This work is highly inspired on Apollo Studio and powered by:


All versions of lighthouse-dashboard with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ~8|~9
inertiajs/inertia-laravel Version ^0.2.12|^0.6.9
nuwave/lighthouse Version dev-master||^5
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 robsontenorio/lighthouse-dashboard contains the following files

Loading the files please wait ....