Download the PHP package stratos/laravel-toolbox without Composer

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

Laravel Toolbox

A collection of powerful CLI development tools for Laravel that help you maintain code quality, security, and consistency through static analysis.

Requirements

Installation

Optionally publish the configuration file:

Commands

All commands are prefixed with toolbox: and support JSON output for CI/CD integration.

toolbox:scan-env

Scan for environment variable issues: undefined, undocumented, and unused variables.

Option Description
--path Paths to scan (default: app/, config/, routes/, database/)
--env-file Path to .env file
--example-file Path to .env.example file
--type Filter by issue type: all, undefined, undocumented, unused
--json Output results as JSON
--fail-on-issues Exit with error code if issues found (for CI/CD)
--ignore-dynamic Ignore dynamic env() calls

Issue Types:


toolbox:scan-n1

Scan code for potential N+1 query problems using static analysis.

Option Description
--path Path to scan (default: app)
--models-path Path to Eloquent models (default: app/Models)
--views-path Path to Blade views (default: resources/views)
--json Output results as JSON
--severity Filter by severity: all, high, medium, low
--fail-on-issues Exit with error code if issues found

Detection Features:


toolbox:scan-queries

Scan code for query performance issues and SQL injection risks.

Option Description
--path Path to scan (default: app)
--json Output results as JSON
--severity Filter by severity: all, critical, high, medium, low
--type Filter by type: all, select-star, missing-limit, loop-query, raw-query, inefficient
--fail-on-issues Exit with error code if issues found

Issue Types:


toolbox:scan-routes

Scan routes for missing handlers and orphaned resources.

Option Description
--pages-path Path to Inertia pages (default: resources/js/Pages)
--views-path Path to Blade views (default: resources/views)
--json Output results as JSON
--missing-only Only show missing handlers
--orphans-only Only show orphaned items

Detection Features:


toolbox:scan-security

Scan code for common security vulnerabilities.

Option Description
--path Paths to scan (default: app/, config/, resources/views/, .env)
--type Filter by vulnerability type
--severity Filter by severity: all, critical, high, medium
--json Output results as JSON
--fail-on-issues Exit with error code if issues found

Security Detectors:


toolbox:scan-dead-code

Scan for unused classes, methods, functions, traits, interfaces, constants, and properties.

Option Description
--path Path to scan (default: app)
--type Filter by type: all, class, method, function, trait, interface, constant, property
--severity Filter by severity: all, high, medium, low
--json Output results as JSON
--fail-on-issues Exit with error code if issues found

Detection Features:

Issue Types:


toolbox:scan-dependencies

Scan for dependency issues: high coupling, circular dependencies, and dependency injection problems.

Option Description
--path Path to scan (default: app)
--type Filter by type: all, high-coupling, circular, concrete, unused, unstable
--severity Filter by severity: all, critical, high, medium, low
--max-dependencies Threshold for high coupling detection (default: 7)
--json Output results as JSON
--fail-on-issues Exit with error code if issues found

Detection Features:

Issue Types:


toolbox:scan-translations

Scan for translation issues: missing keys, unused translations, and inconsistencies.

Option Description
--path Paths to scan for translation usages
--lang Path to lang directory (default: lang/)
--locale Check specific locale only
--type Filter by type: all, missing, unused, inconsistent
--json Output results as JSON
--fail-on-issues Exit with error code if issues found

Issue Types:


toolbox:remove-comments

Remove comments from PHP files while preserving DocBlocks.

Option Description
--path Directory or file to process (default: app)
--dry-run Preview changes without modifying files
--force Skip confirmation prompt
--backup Create .bak files before modifying

Features:


CI/CD Integration

All scan commands support --json and --fail-on-issues flags for pipeline integration:


Configuration

The configuration file allows you to customize scan paths, ignored patterns, and severity levels for each scanner.

Key configuration sections:


Roadmap

Future commands and features planned for Laravel Toolbox:

Code Quality

Database & Models

API & Routes

Testing

Performance

Code Generation

Maintenance

Documentation

DevOps


Contributing

Contributions are welcome! Please ensure:

  1. Code follows PSR-12 and uses strict types
  2. All new commands extend BaseCommand
  3. Tests are written using Pest
  4. Run composer format before submitting

License

MIT License. See LICENSE for details.


All versions of laravel-toolbox with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/console Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
nikic/php-parser Version ^5.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 stratos/laravel-toolbox contains the following files

Loading the files please wait ...