Download the PHP package dgtlss/warden without Composer

On this page you can find all versions of the php package dgtlss/warden. 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 warden

Warden

Latest Version on Packagist Total Downloads License PHP Version Require GitHub repo size

Warden is a comprehensive Laravel security audit package that proactively monitors your dependencies and application configuration for security vulnerabilities. Built for enterprise-grade security scanning, Warden provides powerful features for modern Laravel applications, ensuring your projects remain secure from development to production.

🚀 Key Features

✅ Core Security Audits

✅ Performance & Scalability

✅ Integration & Automation

Perfect for continuous security monitoring and DevOps pipelines.


📋 Table of Contents


🚀 Installation

To install Warden, use Composer:

Publish configuration:

This creates config/warden.php with all available options.

Note: The package includes .idea in .gitignore for improved support with IntelliJ IDEA and JetBrains IDEs.


⚡ Quick Start

Dive into Warden's powerful security auditing capabilities with these simple commands:

Basic Security Audit

Run a comprehensive security scan of your Laravel application:

With NPM Dependencies

Include JavaScript vulnerabilities in your audit:

JSON Output for CI/CD

Generate machine-readable reports for automated pipelines:

No Notifications

Run audits without sending notifications (useful for CI or local checks):

Note: --silent still works for backward compatibility.


📌 Command Reference

Quick reference for all commands and options.

Command Options Description
warden:audit Run all security audits
--no-notify Suppress notifications (CI/local use)
--npm Include NPM dependency scan
--ignore-abandoned Don't fail on abandoned packages
--output=json\|github\|gitlab\|jenkins Machine-readable output
--severity=low\|medium\|high\|critical Filter by minimum severity
--force Clear cache and re-run all audits
warden:syntax PHP syntax validation only
warden:schedule --enable Enable scheduled audits
--disable Disable scheduled audits
--status Show schedule status

⚙️ Configuration

Environment Variables

Add these to your .env file:

🔔 Notifications

⚡ Performance

🔬 PHP Syntax Audit

⏰ Scheduling

Ignoring Accepted Findings

If your team has reviewed a finding and wants to suppress it without forking the package, add an ignore_findings rule to config/warden.php.

All provided keys in a rule must match for the finding to be ignored. String values support wildcard matching.


🔍 Security Audits

Warden performs comprehensive security analysis across multiple areas:

1. Composer Dependencies

2. NPM Dependencies

3. Environment Configuration

4. Storage & Permissions

5. Laravel Configuration

6. PHP Syntax Analysis


💡 Usage Examples

Basic Commands

Output Formats

Advanced Usage


🔔 Notifications

Warden supports multiple notification channels with rich formatting:

✅ Slack (Recommended)

✅ Discord

✅ Microsoft Teams

✅ Email

Multiple Channels

Configure multiple channels simultaneously - Warden sends to all configured endpoints.


🔧 Custom Audits

Create organization-specific security rules:

1. Implement Custom Audit

2. Register Custom Audit

Add to config/warden.php:


⏰ Scheduling

Enable Automated Audits

Configure Schedule

Laravel Cron Setup

Ensure Laravel's scheduler is running:


🔄 CI/CD Integration

GitHub Actions

GitLab CI

Jenkins


🎯 Advanced Features

Performance Optimization

  1. Parallel Execution: Enabled by default for 5x speed improvement
  2. Intelligent Caching: Configurable cache duration prevents redundant API calls
  3. Severity Filtering: Focus resources on critical issues

Audit Results

Exit Codes:

Severity Levels:

Configuration Examples

Output & severity: Use --output and --severity CLI options (not config). See Command Reference above.


📈 Roadmap

Coming Soon


❓ FAQ

How does Warden differ from built-in Composer audit?

Warden extends beyond Composer audit with NPM scanning, environment checks, storage permissions, Laravel-specific configurations, and custom audit rules for comprehensive security monitoring.

Can Warden run in CI/CD without notifications?

Yes! Use --no-notify to suppress notifications while still generating reports for your pipeline. (--silent also works.)

What are the performance impacts?

Minimal! Parallel execution and intelligent caching ensure audits complete in seconds, with configurable timeouts and retry logic.

How do I handle false positives?

Use severity filtering (--severity=high) and custom audits to tune findings for your organization's security policies.

Is my data secure?

Absolutely. Warden processes everything locally - no external data transmission except for configured notification webhooks.


🛠️ Troubleshooting

Common Issues

Command not found:

Composer audit failures:


📄 License

This package is open source and released under the MIT License.


🤝 Contributing

We welcome contributions! Please see our CONTRIBUTING GUIDELINES for details on:


💬 Support


💝 Support Development

If you find Warden useful for your organization's security needs, please consider supporting its development.


**Made with ❤️ for the Laravel community** [⭐ Star on GitHub](https://github.com/dgtlss/warden) | [📦 Packagist](https://packagist.org/packages/dgtlss/warden) | [🐦 Follow Updates](https://twitter.com/nlangerdev)

All versions of warden with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
illuminate/support Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/cache Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
guzzlehttp/guzzle Version ^7.0
laravel/prompts Version ^0.3
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 dgtlss/warden contains the following files

Loading the files please wait ...