composer/spdx-licenses
PHP library providing the official SPDX license and exception lists plus validation of SPDX license expressions. Look up licenses by identifier or name, check OSI approval and deprecation status, and validate complex license strings.
Architecture fit: This package is purpose-built for Composer-based PHP ecosystems, with zero external dependencies beyond standard PHP. Its data-centric design aligns perfectly with Composer's dependency management workflow and integrates natively with tooling that processes composer.json metadata. The lightweight structure (no heavy runtime dependencies) ensures minimal architectural friction when added to existing projects.
Integration feasibility: High feasibility due to Composer-native installation (composer require composer/spdx-licenses) and straightforward API for license validation/lookup. Existing CI pipelines or compliance tools can adopt it with <5 lines of code for basic validation. Compatibility with Symfony Console, Laravel Artisan commands, and custom CLI tools is trivial.
Technical risk: Repository URL listed
How can I help you explore Laravel packages today?