Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

tighten/checkmate

Repository files navigation

Checkmate

Checkmate is a tool that allows users to quickly see which Laravel projects are behind their prescribed Laravel version.

ARCHIVED because we're now just using Laravel Shift's Shifty Plan for this.

Installation

  1. Clone the repository locally
  2. Run ./bin/setup.sh
  3. Make a new GitHub token with the repo and read:org scope selected and save it in .env as GITHUB_TOKEN
  4. Create a database for the application and enter the database connection details in .env
  5. Run ./bin/db.sh
  6. Configure a web server, such as the built-in PHP web server or Laravel Valet, to use the public directory as the document root

For the built-in PHP web server:

php -S localhost:8080 -t public

Usage

  1. Run the following commands to populate the database:
    1. Import Laravel Versions: php artisan sync:laravel-versions
    2. Import projects and their version details: php artisan sync:projects
    3. Visit the website in the browser

Slackbot (optional)

Slackbot is configured to send a weekly (Friday, 6:00 am) list of your Insecure and Behind apps to a selected Slack channel. To set up:

  1. Create an app in your Slack organization
  2. Configure your Slack app for the channels you want to receive the notification.
  3. Create an Incoming Webhook for your app
  4. Paste the webhook as the SLACK_WEBHOOK_URL value in your .env file

Testing

vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email hello@tighten.co instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Check the version of all your Laravel apps and notify if they're out of date

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages