Expand description
Developer tools for Laravel for Rust applications.
A floating toolbar for applications in development: a pill at the bottom of each page with its last request, and a panel with the history of the application’s requests, console commands, queued jobs and scheduled tasks, each with its timeline, queries, log lines, outgoing HTTP, cache, mail and errors, built on the spans the framework already emits. The crate’s README describes what the panel shows and who sees it.
An application registers the DevtoolsServiceProvider. In local development only, as
DevtoolsConfig allows, it records each request, console command, queued job, scheduled task,
workflow step and tick as a trace into storage/devtools, which the application’s processes
share, marks each page with its trace for whoever may see the developer tools, adds the pill’s
script to their pages, and serves the panel at /_devtools and the traces under
/_devtools/api. A DevtoolsGate decides who that is, beyond the provider’s own rules or
besides them. These three are the crate’s whole API.
Structs§
- Devtools
Config - The developer tools’ settings, read from the environment.
- Devtools
Key DEVTOOLS_KEY, the key that opens the developer tools to a browser on another machine.- Devtools
Service Provider - Turns the developer tools on in an application that registers it.
- Parse
Enabled Error DEVTOOLS_ENABLEDis neithertruenorfalse.
Enums§
- Enabled
DEVTOOLS_ENABLED, read astrueorfalse, or the framework’s other ways to write them, such as1oroff.
Traits§
- Devtools
Gate - Who may see the developer tools, beyond what
DevtoolsServiceProvideralready checks, or instead of it.