Download the PHP package sbominator/laravel without Composer
On this page you can find all versions of the php package sbominator/laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sbominator/laravel
More information about sbominator/laravel
Files in sbominator/laravel
Package laravel
Short Description Integrate SBOMinator with your Laravel application
License MIT
Informations about the package laravel
SBOMinator for Laravel
A Laravel package to easily generate Software Bill of Materials (SBOM) for your Laravel applications. This package provides a convenient Artisan command that automatically analyzes your project dependencies and generates a standards-compliant SBOM file in either CycloneDX or SPDX format.
What is an SBOM?
A Software Bill of Materials (SBOM) is a formal, machine-readable inventory of all components and dependencies used in your application. SBOMs are becoming increasingly important for:
- Security and vulnerability management
- Software supply chain transparency
- Regulatory and compliance requirements
- Open source license management
Features
- 🔄 Generates standards-compliant SBOM files (CycloneDX or SPDX format)
- 📦 Automatically parses both Composer and NPM dependencies
- 🛠️ Simple integration via Laravel's service provider system
- ⚡ Convenient Artisan command interface
Installation
You can install the package via composer:
The package will automatically register its service provider if you're using Laravel's package auto-discovery.
If you're not using auto-discovery, add the service provider to your config/app.php
file:
Usage
To generate an SBOM for your Laravel application with default settings (CycloneDX format), run:
By default, this will create a CycloneDX SBOM file called sbom.json
in your project's base directory.
Choose Output Format
You can specify the output format using the --format
option:
Custom Output Path
You can specify a custom output path using the --output
option:
You can combine both options:
Dependencies Analyzed
The package analyzes the following dependency sources:
- Composer dependencies (using
composer.lock
) - NPM dependencies (using
package-lock.json
, if present)
Requirements
- PHP 8.2 or higher
- Laravel 9.0 or higher
- Composer lock file (
composer.lock
) must be present and readable
How It Works
The sbominator:generate
command:
- Locates and parses your
composer.lock
file to extract PHP dependencies - If present, parses your
package-lock.json
file to extract NPM dependencies - Combines these dependencies into a standardized format
- Generates a standards-compliant SBOM file in your chosen format at the specified location
Example Output
CycloneDX Format
SPDX Format
Why Use SBOMinator?
- Security: Identify vulnerable components quickly when new CVEs are published
- Compliance: Meet regulatory requirements for software transparency
- Flexibility: Generate SBOMs in different formats based on your needs
- Auditability: Maintain accurate records of dependencies for each release
- Simplicity: Generate SBOMs with a single command
Testing
Contributing
please see CONTRIBUTING.md for more information.
License
This project is open source and available under the MIT License.
All versions of laravel with dependencies
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
sbominator/sbom-lib Version ^0.4.1