Download the PHP package jklejczyk/security-toolkit-for-laravel without Composer

On this page you can find all versions of the php package jklejczyk/security-toolkit-for-laravel. 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 security-toolkit-for-laravel

Security Toolkit for Laravel

A security audit for Laravel 12 and 13 applications in one Artisan command. It reads your application from the inside (configuration, file storage, authentication, models, routes, dependencies) and reports what is wrong, why it is dangerous and how to fix it.

Early release (0.x). The checks below are tested and stable, but the report format and options may still change before 1.0. More modules (routes and authorization, dynamic probes, static analysis) are on the way.

Principles

Requirements

Installation

For scanning on your machine or in CI:

To scan on a production server, where dev dependencies are not installed, require it as a regular dependency instead (composer require). The package only adds the security:scan command; it registers no routes, middleware or listeners.

Usage

Where checks run

Rules that read code or committed config files (password rules, storage links, Sanctum, dependencies) run in every environment, so a plain php artisan security:scan on your machine or in CI already reports them.

Rules that read values Laravel takes from .env (debug mode, APP_KEY, cookie flags, dashboards) run only for a production configuration; elsewhere they are listed as skipped, because those values differ locally on purpose. To audit them:

Options

Option Default Description
--only=config,files all Run only the listed scanners
--list List registered scanners and whether they can run here
--format=json console Machine-readable report
--min-severity=medium info Hide findings below this severity (they still count in the summary)
--fail-on=critical high Exit with code 1 when a finding of this severity or higher exists; none never fails

Severities, from the highest: critical, high, medium, low, info. A finding rated unknown (an advisory published without a severity) is always shown and always meets the --fail-on threshold, because it could be critical.

Exit codes

Code Meaning
0 No finding at or above --fail-on
1 At least one finding at or above --fail-on
2 Invalid option, or a scanner failed (listed under "Errors")

In CI

This checks code and dependencies on every push. Do not add --env=production here: CI has no production .env, so the configuration rules would judge CI's values and report problems production does not have.

--format=json prints the whole report as one JSON document with findings (including confidence, cwe, cvss and cve), skipped, unavailable, errors and a summary.

Checks

The scan is split into modules, each focused on one area of the application:

CHECKS.md lists every rule with what it detects, its severity, CWE and CVSS score, and explains how severity is decided.

Security

Please report vulnerabilities privately, see SECURITY.md.

Credits

The list of known application keys is derived from laravel-crypto-killer by Synacktiv, see THIRD_PARTY_NOTICES.md.

Contributing

License

MIT, see LICENSE.


All versions of security-toolkit-for-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
composer-runtime-api Version ^2.0
illuminate/console Version ^12.0 || ^13.0
illuminate/contracts Version ^12.0 || ^13.0
illuminate/process Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
illuminate/validation Version ^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 jklejczyk/security-toolkit-for-laravel contains the following files

Loading the files please wait ...