Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.
/ laravel-app Public archive

The old version of Buggregator, which uses Laravel framework, is no longer being actively developed. The new beta version, built with Spiral framework, is now available at https://github.com/buggregator/spiral-app and offers significant improvements in performance and stability, as well as a lighter docker image size of around 300mb.

License

Notifications You must be signed in to change notification settings

buggregator/laravel-app

Repository files navigation

Ray server (3)

Debug your projects with Ray server

Support me on Patreon Downloads

Ray server is a beautiful, lightweight web server built on Laravel that helps debugging your app. It runs without installation on multiple platforms.

Ray server will help you to debug your projects with a Ray debug tool from spatie. Ray debug tool supports PHP, Ruby, JavaScript, TypeScript, NodeJS, Go and Bash applications. After installing one of the libraries to send information to Ray, you can use the ray function to quickly dump stuff. Any variable(s) that you pass to ray will be displayed. Read more

Features

  • Compatible with spatie/ray package
  • Compatible with Sentry (See https://docs.sentry.io/platforms)
  • Compatible with Monolog via \Monolog\Handler\SlackWebhookHandler

Technological stack

  • Laravel 8
  • Inertia
  • Swoole Http/Websocket server
  • Vue
  • TailwindCSS

Ray server devices (4)

Docker image

You can run Ray server via docker

Run it from Docker Hub or using the provided Dockerfile

docker run --pull always -p 23517:8000 butschster/ray-server:latest

# or 

docker run -p 23517:8000 butschster/ray-server:v1.10.1

Configuration

  1. Install spatie/ray or other Ray debug tool in your project
  2. Configure your .env for Ray package
    • RAY_HOST=127.0.0.1 - Ray server host
    • RAY_PORT=23517 - Ray server port
  3. Configure your .env for Sentry package
  4. Configure your .env for monolog logs
    • LOG_CHANNEL=slack
    • LOG_SLACK_WEBHOOK_URL=http:https://127.0.0.1:23517/slack
  5. Open http:https://127.0.0.1:23517 url in your browser

Enjoy!

Contributing

Server requirements

  1. PHP 8.0
  2. Swoole 4.7
  3. NodeJS

Installation

  1. Clone repository
  2. Run composer `composer install
  3. Run npm npm i
  4. Run ray server php artisan server:start --host=127.0.0.1 --port=23517
  5. Build npm npm run prod

License

Ray server is open-sourced software licensed under the MIT license.

Tasks to do

  • Simple data
  • Colors
  • Sizes
  • Labels
  • New screen
  • Clear all
  • Caller
  • Trace
  • Pause
  • Counter
  • Class name of an object
  • Measure
  • Json
  • Xml
  • Carbon
  • File
  • Table
  • Image
  • Html
  • Text
  • Notifications
  • Phpinfo
  • Exception
  • Show queries
  • Count queries
  • Show events
  • Show jobs
  • Show cache
  • Model
  • Show views
  • Markdown
  • Collections
  • Env
  • Response
  • Request
  • Ban
  • Charles
  • Remove
  • Hide/Show events
  • Sticky header
  • Application log
  • Show Http client requests
  • Mailable
  • Sentry
  • Monolog
  • Show WordPress errors
  • Dark theme

About

The old version of Buggregator, which uses Laravel framework, is no longer being actively developed. The new beta version, built with Spiral framework, is now available at https://github.com/buggregator/spiral-app and offers significant improvements in performance and stability, as well as a lighter docker image size of around 300mb.

Topics

Resources

License

Stars

Watchers

Forks

Packages