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
- Compatible with
spatie/ray
package - Compatible with Sentry (See https://docs.sentry.io/platforms)
- Compatible with Monolog via
\Monolog\Handler\SlackWebhookHandler
- Laravel 8
- Inertia
- Swoole Http/Websocket server
- Vue
- TailwindCSS
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
- Install
spatie/ray
or other Ray debug tool in your project - Configure your .env for Ray package
RAY_HOST=127.0.0.1
- Ray server hostRAY_PORT=23517
- Ray server port
- Configure your .env for Sentry package
SENTRY_LARAVEL_DSN=http:https://[email protected]:23517/1
- Sentry DSN
- Configure your .env for monolog logs
LOG_CHANNEL=slack
LOG_SLACK_WEBHOOK_URL=http:https://127.0.0.1:23517/slack
- Open http:https://127.0.0.1:23517 url in your browser
Enjoy!
- PHP 8.0
- Swoole 4.7
- NodeJS
- Clone repository
- Run composer `composer install
- Run npm
npm i
- Run ray server
php artisan server:start --host=127.0.0.1 --port=23517
- Build npm
npm run prod
Ray server is open-sourced software licensed under the MIT license.
- 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