Ray for PHP quickstart
25 July 2025 (Updated 25 July 2025)
Install the Ray desktop app here.
Install the Ray Composer package:
composer require spatie/ray
Use it:
ray('Hello world');
If you’re using Docker, you’ll need to do some more things – see here.
Otherwise, see here for more usage tips.
Tagged:
PHP tooling