composer/spdx-licenses
SPDX licenses list and validation library extracted from Composer. Look up licenses and exceptions by identifier or name, check OSI approval and deprecation, and validate SPDX license expressions using official SPDX License List data.
Compliance Automation for Open-Source Projects:
MIT vs. GPL-3.0).Dependency Governance in Laravel/Ecosystem:
AGPL-3.0 in proprietary modules).Regulatory and Legal Risk Reduction:
Unlicense in corporate projects).Tooling and Developer Experience:
composer validate with a --check-licenses flag to enforce SPDX compliance during composer install.php artisan spdx:audit to scan vendor/ for deprecated/non-compliant licenses.composer.json (e.g., VS Code/Laravel IDE Helper plugins).Build vs. Buy Decision:
Roadmap for License Governance Platforms:
/api/licenses/validate) to validate licenses in real-time for SaaS platforms.Adopt if:
composer.json files (e.g., license field).Look elsewhere if:
LICENSE files for clauses) rather than identifier validation.For Executives: *"This package lets us automate SPDX license compliance—reducing legal risk, audit costs, and dependency issues. By integrating it into our CI/CD pipeline, we can:
composer require, we gain enterprise-grade license governance."*For Engineering/DevOps: *"This is a drop-in solution for SPDX license validation. Key benefits:
MIT → MIT-0). Let’s prototype this in our next audit tool."*For Legal/Compliance: *"This package eliminates manual license audits by automating SPDX validation. It helps us:
Apache-1.1 as obsolete).How can I help you explore Laravel packages today?