Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Composer License Checker Laravel Package

lendable/composer-license-checker

Checks your Composer dependencies’ licenses against configurable allow rules (by SPDX license, vendor, or package) to help ensure OSS compliance and reduce legal risk. Works in CI and can read license data from Composer’s installed.json or composer licenses.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Compliance & Risk Mitigation: Enables proactive enforcement of open-source license policies (e.g., GPL, AGPL, proprietary) to avoid legal/financial exposure in production deployments, now with explicit support for PHP 8.4 and modern Symfony 8 stacks.
  • Developer Experience (DX): Reduces manual license audits during dependency updates, freeing engineers to focus on core features, while maintaining compatibility with Symfony 8—a critical framework for enterprise Laravel/Symfony ecosystems.
  • Scalability: Automates license checks for monorepos or large dependency trees (e.g., enterprise PHP stacks), now explicitly validated against Symfony 8 and PHP 8.4, ensuring stability in modern architectures.
  • Roadmap Alignment: Supports compliance-focused initiatives (e.g., "Zero-Risk Open Source" goals) or regulatory requirements (e.g., GDPR, industry-specific mandates) by future-proofing the tool for PHP 8.4 and newer Symfony versions.
  • Build vs. Buy: Justifies in-house tooling investment if alternatives (e.g., FOSSA, Snyk) lack PHP-specific support or introduce cost overhead, especially for teams adopting PHP 8.4 or Symfony 8.

When to Consider This Package

  • Adopt if:
    • Your PHP/Laravel stack uses Composer and has >50 dependencies (risk of hidden licenses), especially if running PHP 8.4 or Symfony 8.
    • You need automated license enforcement (e.g., block GPL dependencies in proprietary projects) with modern PHP/Symfony compatibility.
    • Your team lacks manual license audit processes or relies on ad-hoc checks, and you’re upgrading to PHP 8.4/Symfony 8.
    • You’re building compliance-critical products (e.g., healthcare, fintech) where open-source risks are non-negotiable, and require explicit support for newer PHP versions.
  • Look elsewhere if:
    • You use non-Composer dependency management (e.g., npm, Go modules).
    • Your license requirements are static (no need for dynamic rule updates).
    • You prioritize advanced vulnerability scanning (consider Snyk/FOSSA instead).
    • Your team lacks PHP/Laravel expertise to integrate custom tools, or if you’re not using PHP 8.4/Symfony 8.
    • You’re stuck on older PHP versions (<8.4) and don’t plan to upgrade.

How to Pitch It (Stakeholders)

For Executives: "This tool now supports PHP 8.4 and Symfony 8, making it the ideal solution to automate license compliance for our modern PHP stack. It blocks risky licenses (e.g., GPL) in proprietary projects, reducing legal exposure—especially critical if we’re adopting newer frameworks like Symfony 8. Low-cost, MIT-licensed, and CI/CD-ready, it turns a 2-hour manual audit into a 5-minute automated check, saving engineering time and mitigating compliance risks."

For Engineering: "The updated composer-license-checker (v1.4.0) now requires PHP 8.4 and officially supports Symfony 8, aligning with our tech stack. We can define custom license rules (e.g., ‘allow only MIT/LGPL’) and fail builds if violated—critical for teams using Laravel/Symfony 8. The CLI output is dev-friendly, and it integrates seamlessly with modern PHP toolchains. Perfect for flagging problematic licenses (e.g., AGPL) in PRs or CI pipelines."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nasirkhan/laravel-sharekit
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony