Download the PHP package jaydeep/laravel-guarddog without Composer

On this page you can find all versions of the php package jaydeep/laravel-guarddog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-guarddog

# 🐕 Laravel GuardDog ### A security scanner for Laravel that finds vulnerabilities and generates beautiful HTML reports. [![CI](https://github.com/JaydeepGadhiya/laravel-guarddog/actions/workflows/ci.yml/badge.svg)](https://github.com/JaydeepGadhiya/laravel-guarddog/actions) [![Latest Version on Packagist](https://img.shields.io/packagist/v/jaydeep/laravel-guarddog.svg?style=flat-square)](https://packagist.org/packages/jaydeep/laravel-guarddog) [![Total Downloads](https://img.shields.io/packagist/dt/jaydeep/laravel-guarddog.svg?style=flat-square)](https://packagist.org/packages/jaydeep/laravel-guarddog) [![License](https://img.shields.io/packagist/l/jaydeep/laravel-guarddog.svg?style=flat-square)](LICENSE.md) [![GitHub Stars](https://img.shields.io/github/stars/JaydeepGadhiya/laravel-guarddog?style=flat-square)](https://github.com/JaydeepGadhiya/laravel-guarddog/stargazers) **Scan your Laravel app in seconds. Catch SQL injection, missing auth middleware, exposed secrets, and more — before they hit production.** ⭐ Star the repository if GuardDog helps secure your Laravel apps. [Quick Start](#-quick-start) • [Features](#-features) • [Example Report](#-example-report) • [Configuration](#-configuration) • [FAQ](#-faq)

🚀 Why GuardDog?

You shouldn't need to be a security expert to ship a secure Laravel app. GuardDog is a zero-config static security analyzer that scans your codebase for the OWASP style mistakes Laravel developers actually make and produces a clean, shareable HTML report with a security score your team can rally around.


📦 Installation & Setup

Requires PHP 7.4+ and Laravel 8–13.

Laravel auto-discovers the service provider. Publish the config (optional):


⚡ Quick Start

Run a full scan:

That's it. GuardDog scans your project and writes an HTML report to public/security-report.html.

Command What it does
php artisan guarddog:scan Full scan + HTML report
php artisan guarddog:scan --no-html Console output only
php artisan guarddog:scan --output=storage/report.html Custom report path

📸 Screenshots

Console Output

Console Scan

HTML Security Report

HTML Report


🔍 Features

GuardDog scans for the most common Laravel security vulnerabilities:

Code-level checks

Configuration checks

Routes & middleware

Dependencies

Don't see a check you need? Open an issue — new checks ship regularly.


📋 Example Report

The HTML report includes per-issue remediation guidance, code snippets, and a shareable score badge.


🤖 Continuous Integration

Fail your CI build when GuardDog finds critical issues:

GitLab, CircleCI, and Bitbucket Pipelines work the same way — just call the artisan command in your job.


⚙️ Configuration

After publishing the config (config/guarddog.php), you can:


📊 Security Score

GuardDog scores your app from 0 to 100. Every issue subtracts points based on severity:

Severity Points lost Examples
🔴 Critical -15 SQL injection, eval(), debug in prod
🟡 Warning -5 Missing auth middleware, weak session config
🔵 Notice -1 Style/best-practice nits

A score of 80+ is good. 90+ is excellent. 100 means GuardDog found nothing — though no scanner catches everything, so manual review still matters.


❓ FAQ

How is this different from enlightn/enlightn? Enlightn is a fantastic, broader tool covering security, performance, and reliability. GuardDog is **security-focused, lightweight, and zero-config** — designed to drop into any project and run in seconds, with a beautiful report you can hand to a non-technical stakeholder. Use both together for the best coverage.
Does GuardDog replace Roave Security Advisories? No — they complement each other. `roave/security-advisories` blocks installation of vulnerable packages at the Composer level. GuardDog scans **your application code** for vulnerabilities you wrote yourself.
Will GuardDog catch every security issue? No static analyzer can. GuardDog catches a wide set of common Laravel-specific mistakes, but production security also requires manual code review, dependency scanning, penetration testing, and runtime protection. Treat GuardDog as one layer of defense.
Does it send my code anywhere? No. GuardDog runs 100% locally. No telemetry, no phone-home, no external API calls.
Can I add custom checks? Yes — GuardDog ships with an extensible check API. See the [Custom Checks guide](docs/custom-checks.md).

🤝 Contributing

If you've found a security issue, please do not open a public issue. Email [email protected] directly.


Changelog

See CHANGELOG.md for recent updates.


📜 License

The MIT License (MIT). See LICENSE.md.


**Built with ❤️ for the Laravel & Open Source community by [Jaydeep Gadhiya](https://github.com/JaydeepGadhiya)**

All versions of laravel-guarddog with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
laravel/framework Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jaydeep/laravel-guarddog contains the following files

Loading the files please wait ...