Weave 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

Safebrowsing Laravel Package

snipe/safebrowsing

Laravel integration for Google Safe Browsing that checks URLs against malware and phishing lists. A simple, config-driven API that drops easily into validation or link-scanning workflows, helping block unsafe destinations before users reach them.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Narrow fit. This is a Laravel 5-era wrapper around the Google Safe Browsing API, suitable only for a legacy Laravel 5 monolith that needs synchronous URL reputation checks. It is not a good architectural fit for modern Laravel, service-oriented systems, or platforms with strict vendor-risk controls.
  • Integration feasibility: Composer installation is feasible only if the host application’s PHP/Laravel dependency graph still resolves against a package last released in 2016. Expect friction with modern PHP, Laravel, Guzzle, and framework contracts. A thin in-house adapter over Google’s REST API is likely simpler than forcing this package into a current stack.
  • Technical risk: High. The package is effectively unmaintained, has low adoption, and likely targets older Google Safe Browsing endpoints or API semantics. GPL-3.0 also creates copyleft obligations that require legal review before embedding in a proprietary product. Security risk is elevated because old transitive dependencies may be unresolved or unpatchable.
  • Key questions: Which Google Safe Browsing API version and endpoints does the package use? Which PHP/Laravel versions are supported in practice? Is GPL-3.0 acceptable for the intended distribution model? What are the Google API quotas, latency expectations, and caching requirements? What is the fallback behavior when Safe Browsing is unavailable or returns an ambiguous result?

Integration Approach

  • Stack fit: Treat this as a legacy-only bridge for Laravel 5/PHP 5.6–7.x applications. Do not select it as the strategic integration path for new Laravel versions or greenfield services.
  • Migration path: Wrap the package behind an internal UrlReputationService interface, then plan replacement with a maintained HTTP client calling the current Google Safe Browsing Lookup API. Keep provider-specific response mapping isolated so the package can be removed without touching domain code.
  • Compatibility: Validate Composer resolution, PHP constraints, Laravel service-provider behavior, Guzzle version compatibility, and GPL obligations in a spike before committing. If the package cannot install cleanly, fork or vendor only the minimal client logic, subject to license review.
  • Sequencing: 1) Legal/license review and API-version validation; 2) time-boxed technical spike in a non-production branch; 3) adapter and contract tests with mocked Safe Browsing responses; 4) feature-flagged rollout with caching and fallback; 5) scheduled replacement or deprecation plan. Avoid making this package a hard dependency in critical request paths without a fallback.

Operational Impact

  • Maintenance: High burden relative to value. The package is abandoned, so the team must own patching, dependency updates, API changes, and compatibility fixes. Budget for a fork or replacement rather than assuming upstream support.
  • Support: Community-only and effectively nonexistent. Operational support depends on internal ownership, documented runbooks, and vendor documentation for Google Safe Browsing.
  • Scaling: Scaling is constrained more by Google API quotas, network latency, and request volume than by the package itself. Introduce local caching, asynchronous checks where possible, and rate-limit handling; do not call the API inline for every high-volume request without a cache and timeout policy.
  • Failure modes: API quota exhaustion, endpoint deprecation, network timeouts, malformed or changed responses, package incompatibility after framework upgrades, unresolved dependency CVEs, and false positives/negatives that block or allow unsafe URLs. Define fail-open vs. fail-closed behavior explicitly and log decisions for audit.
  • Ramp-up: Low for a Laravel developer to call the package, but moderate for operating it safely. The team needs Safe Browsing API knowledge, quota management, caching strategy, license compliance, and a replacement plan. TPM recommendation: use only as a short-term, isolated bridge in a legacy Laravel 5 system; otherwise build a small maintained client against the current Google API.
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.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle