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

Comun Laravel Package

gonzakpo/comun

Comun is a Laravel/PHP package that bundles reusable common helpers and utilities for everyday development, helping reduce boilerplate, keep code consistent, and share practical functionality across projects.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit — poor, and effectively non-existent for Laravel. Despite being catalogued alongside Laravel/PHP packages, gonzakpo/comun is a Symfony bundle (ComunBundle), not a Laravel package. It ships a Symfony Bundle subclass, DI extension/compiler passes, and Symfony-ecosystem helpers. Laravel has no bundle-registration concept; its equivalents are service providers, facades, and config publishing. There is no drop-in path — anything reused must be re-hosted inside a Laravel ServiceProvider with translated container bindings.

Integration feasibility — low. A viable integration would require, at minimum:

  • Replacing the Symfony Bundle + Extension registration with an Illuminate\Support\ServiceProvider and a publishable config file.
  • Converting YAML/XML service definitions into explicit container bindings or singletons.
  • Auditing any Symfony EventDispatcher, HttpFoundation, Form, Validator, or Twig Extension usage and mapping each to Laravel analogues (Illuminate\Events, Illuminate\Http, Blade, Illuminate\Validation). Twig extensions are the only piece with a plausible bridge (via twigbridge), and even that is a net-new dependency.

The description — "soluciones a circunstancias comunes" — is too vague to scope. There is no evidence of a README, test suite, or documented API surface. Before any estimate, the actual feature inventory must be read from source.

Technical risk — high.

  • Abandoned since 2017-03-23. Roughly Symfony 2.8/3.x and PHP 5.6/7.0-era code. Modern Laravel 10/11 requires PHP 8.1+, and Symfony 6/7 removed or deprecated much of what this bundle likely targets.
  • Zero dependents, 2 stars, score 0.04. No ecosystem validation, no downstream users to surface breakage, no maintained fork to inherit.
  • Packaging hygiene signal. The package name (gonzakpo/comun) and repository (ComunBundle) disagree, which usually correlates with ad-hoc publishing and no CI. Expect no composer.json constraint discipline, no composer audit cleanliness, and no provide/replace correctness.
  • Security posture. An unmaintained dependency will be flagged by Dependabot/Snyk/composer audit on day one, creating permanent noise or a policy exception. MIT license itself is fine.

Key questions for the maintainer/team:

  1. What specific "common circumstances" does this bundle solve, and which of those do we actually need?
  2. Is the functionality ≥ the cost of a 1–2 day internal reimplementation? (For a helper bundle of this vintage, the answer is usually yes — reimplement.)
  3. Are there pinned Symfony component constraints that will hard-conflict with our composer.lock?
  4. Does any code rely on removed PHP functions (mcrypt, each(), create_function) or non-namespaced globals?
  5. Is there a maintained fork or successor under a different name?
  6. Who owns the vendored code internally after adoption?

Integration Approach

Stack fit. For a Laravel codebase: not a dependency candidate — a reference implementation candidate. For a Symfony codebase already on 5.4+: still likely incompatible on version constraints, but the port cost drops substantially since the idioms match. For a mixed or PHP-only codebase: treat as a source of isolated utility classes only.

Migration path (recommended: build-vs-adopt, adopt-nothing default).

  1. Timeboxed spike (1–2 days). Clone, run composer why-not against our stack, read every source file, and produce a one-page feature inventory with a keep/discard decision per feature.
  2. Namespace rewrite + vendor. For the small subset judged worth keeping, copy the relevant classes into app/Support/Comun/ under our namespace, with attribution and the MIT notice preserved. Do not keep it as a Composer dependency.
  3. Re-home as a first-party provider. Expose the retained functionality through one ComunServiceProvider with a publishable config file, so the surface is ours to version and test.
  4. Cover with tests. Any adopted code enters with characterization tests before it enters a request path.

Compatibility work required before any merge:

  • PHP 8.1+ syntax audit (typed properties, match, constructor promotion are optional; removed functions are blockers).
  • Symfony component constraint conflicts — likely the single largest source of composer update failure.
  • Event/listener lifecycle mapping if the bundle hooks the kernel.
  • Twig → Blade translation for any view helpers; Twig extensions survive only if we adopt twigbridge, which is not worth it for a 2-star dependency.

Sequencing. Spike → feature inventory → build-vs-adopt decision → internal reimplementation of the retained slice → tests → integration. No step in this sequence puts gonzakpo/comun into composer.json. If leadership overrides and mandates direct adoption, the only defensible form is a pinned, internally forked, vendored copy with a named owner — never a floating constraint.

Operational Impact

Maintenance — we own it from day one. There is no upstream to absorb PHP 8.x and Symfony/Laravel major bumps. Every future framework upgrade becomes our migration. Budget ongoing ownership cost, not just integration cost. Mitigation: keep the adopted surface deliberately small and isolated behind our own namespace so it can be deleted later.

Support. No support channel, no recent commits, no issue triage. Two stars and zero dependents means no community to consult when something breaks in production. Internal documentation must be written at adoption time, not deferred.

Scaling. The bundle is a helper/utility layer, so it does not itself introduce scaling risk. Two caveats: (a) any ported global event listeners or kernel hooks will fire on every request and should be profiled before shipping; (b) retained classes should stay stateless — a 2017-era helper bundle may carry service-locator or static-state patterns that are unsafe under Laravel Octane.

Failure modes to design against:

  • Composer resolution failure on framework upgrade, blocking an unrelated dependency bump.
  • Silent semantic drift after a PHP minor upgrade — 2017 code paths on removed functions fail loudly, but loose typing and array-shape assumptions fail silently.
  • Security-scanner noise / policy exception creep — an abandoned package in the manifest normalizes future exceptions.
  • Hidden lifecycle coupling — a ported listener assuming Symfony kernel ordering misbehaving under Laravel's middleware/termination sequence.
  • Provenance ambiguity — package name and repository disagree; if a direct dependency is ever taken, verify the published artifact matches the repository source.

Ramp-up. Reading cost is low (small bundle, single author), but trust cost is high: no docs, no tests, no recent users. Realistic estimate for a mid-level engineer to spike, inventory, and reimplement the useful slice: 3–5 days, versus minutes for a healthy package. That delta is the actual price of the 0.04 score.

TPM recommendation. Do not adopt gonzakpo/comun as a dependency in a Laravel application. Run the spike, harvest any genuinely useful logic into first-party code under our namespace, and close the evaluation. The package's only durable value is as a pattern reference — the cost of reimplementing whatever it does is lower than the cost of owning an abandoned, off-ecosystem, zero-adoption Symfony bundle.

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.
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
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle