Skip to content

Detect Laravel Ray Action

Actions
Scan your Laravel application and fails if it detects remaining Spatie\ray calls ( ray() or @ray() )
v1.0.2
Latest
Star (8)

Tags

 (1)

Detect Laravel Ray Action

This GitHub Action allows you to scan Laravel application codebase and detect remaining Spatie's ray calls. By default, it includes the following directories:

  • ./app
  • ./resources/views
  • ./database
  • ./routes
  • ./tests

It will detect:

  • ray() in PHP files
  • @ray() in blade templates

It won't detect:

  • Ray::*
  • rd()
  • dd()

It is an alternative to x-ray, which is great but requires PHP and doesn't scan blade templates.

Usage

- name: Detect remaining Spatie\ray calls
  uses: code16/detect-laravel-ray-action@v1

License

The scripts and documentation in this project are released under the MIT License

Contributing

Please feel free to create an issue if you find a bug or send a pull request if you wish to improve the existing code/add a new feature.

Detect Laravel Ray Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Scan your Laravel application and fails if it detects remaining Spatie\ray calls ( ray() or @ray() )
v1.0.2
Latest

Tags

 (1)

Detect Laravel Ray Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.