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

Core Laravel Package

baks-dev/core

BaksDev Core — базовый модуль для проектов BaksDev (PHP 8.4+): настройка основного домена через .env, примеры systemd-сервисов для messenger:consume, auto-scripts для установки ассетов и очистки кэша. Установка через Composer.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture Fit

  • Hybrid Symfony/Laravel Alignment: The package is a Symfony bundle, making it a partial fit for Laravel projects. While Laravel leverages Symfony components (e.g., HTTP kernel, routing), this package assumes deeper Symfony integration (Messenger, Scheduler, Console). For pure Laravel, it introduces architectural friction unless abstracted via facades or microservices.
  • Modular Infrastructure: Ideal for projects needing domain-aware systemd workers, asset pipelines, and CLI automation, particularly in multi-tenant SaaS or Symfony-centric microservices (e.g., Lumen-based workers). However, it does not address Laravel-specific features (Eloquent, Blade, Horizon), requiring custom bridges.
  • Laravel-Symfony Tension: The package’s reliance on Symfony Messenger/Scheduler conflicts with Laravel’s native Horizon/Task Scheduling, creating dual-maintenance overhead unless isolated to a microservice.

Integration Feasibility

  • High for Hybrid Stacks:
    • Seamless for Lumen/Symfony hybrid projects (e.g., API layer with Symfony Messenger).
    • Example: Replace Laravel Queues with Symfony Messenger via a queue worker facade.
  • Medium for Laravel with Abstraction:
    • Non-Symfony features (e.g., translation, locking) can be wrapped in Laravel service providers.
    • Risk: Dependency bloat from pulling in Symfony’s Console, Messenger, and Scheduler.
  • Low for Standalone Laravel:
    • Symfony-specific features (e.g., systemd workers, Scheduler) cannot be directly used without refactoring.
    • Laravel’s Horizon or Forge are more native alternatives.

Technical Risk

  • Version Skew:
    • PHP 8.4+ requirement conflicts with Laravel 10’s PHP 8.2–8.3 support, introducing upgrade risks.
    • Symfony 7.x may break compatibility with Laravel’s Symfony 6.x components (e.g., symfony/console).
  • Undocumented/Unvetted:
    • No English documentation, 0 stars, and no open issues suggest niche or unstable status.
    • Last release in 2026 (likely placeholder; repo appears new).
  • Systemd Dependency:
    • Assumes Linux systemd, incompatible with Docker/Kubernetes without customization (e.g., Supervisor or CronJob).
  • Testing Gaps:
    • PHPUnit tests are Symfony-specific; adapting them for Laravel requires effort.

Key Questions

  1. Symfony Justification:
    • Why adopt Symfony Messenger/Scheduler when Laravel provides Horizon and Task Scheduling? Is this for legacy migration or performance?
  2. Multi-Tenancy Strategy:
    • Can Laravel’s tenant middleware replace domain-aware systemd workers? Is HOST in .env critical?
  3. Asset Pipeline Conflict:
    • Does baks:assets:install interfere with Laravel Mix/Vite? Is WebP conversion via files-cdn a hard requirement?
  4. Infrastructure Constraints:
    • Is systemd mandatory, or can Supervisor/Docker replace it? Will the team maintain dual Laravel/Symfony stacks?
  5. Long-Term Viability:
    • Will baks-dev evolve beyond Symfony, or is this a one-time integration? Are there alternatives (e.g., Spatie Laravel packages)?

Integration Approach

Stack Fit

Package Feature Laravel Equivalent Integration Strategy Risk
Symfony Messenger Laravel Queues/Horizon Facade abstraction or Lumen microservice Medium (dual maintenance)
Symfony Scheduler Laravel Task Scheduling Replace with schedule:run or use Symfony bundle High (Symfony dependency)
Symfony Translation Laravel trans() Drop-in replacement via service provider Low
Systemd Workers Laravel Forge/Supervisor Replace with Docker/K8s or Supervisor High (infrastructure change)
CLI Scripts (baks:*) Laravel Artisan Extend Artisan or use Symfony CLI Medium (CLI tooling mismatch)
Locking (Symfony) Laravel Cache Locks Extend Illuminate\Cache with bundle logic Low

Migration Path

  1. Phase 1: Non-Symfony Features

    • Translation: Replace Symfony’s Translation with Laravel’s trans() via a service provider.
    • Locking: Extend Laravel’s cache locks to use the bundle’s logic.
    • CLI Scripts: Adapt baks:* commands to Laravel Artisan or Symfony CLI (if hybrid).
  2. Phase 2: Symfony Integration (Optional)

    • Option A: Lumen Microservice
      • Deploy Symfony Messenger/Scheduler as a separate Lumen service.
      • Communicate via Laravel Queues or gRPC.
    • Option B: Laravel Symfony Bridge
      • Use laravel/symfony-bridge to integrate Symfony components.
      • Example: Replace queues with Messenger via a queue driver.
  3. Phase 3: Infrastructure Adaptation

    • Systemd Workers: Replace with:
      • Docker: docker-compose up with supervisord.
      • Kubernetes: CronJob for scheduled tasks.
      • Forge: Laravel Forge for worker management.
    • Asset Pipeline: Replace baks:assets:install with Laravel Mix/Vite.

Compatibility

  • Use This Package If:
    • Building a hybrid Symfony/Laravel application (e.g., API + workers).
    • Requiring Symfony Messenger/Scheduler for high-throughput queues or enterprise reliability.
    • Leveraging multi-tenant SaaS with domain-specific configurations.
  • Avoid If:
    • Using pure Laravel without Symfony dependencies (risk of dependency bloat).
    • Constrained by Docker/Kubernetes (systemd incompatibility).
    • Needing English documentation or commercial support.

Sequencing

  1. Assess Symfony Need:
    • Benchmark Symfony Messenger vs. Laravel Queues/Horizon.
    • Evaluate if Lumen microservice or Symfony bridge is viable.
  2. Prototype Core Features:
    • Test HOST configuration in .env for multi-tenancy.
    • Validate systemd worker templates (or Docker/Supervisor alternatives).
  3. Abstract Non-Symfony Features:
    • Wrap translation/locking in Laravel service providers.
    • Replace CLI scripts with Artisan-compatible commands.
  4. Plan Infrastructure Shift:
    • Decide between systemd, Supervisor, or Kubernetes for workers.
    • Replace asset pipelines with Laravel Mix/Vite if needed.

Operational Impact

Maintenance

  • Dual Stack Overhead:
    • Maintaining Laravel + Symfony increases dependency complexity (e.g., symfony/console, messenger).
    • Upgrade Risks: Symfony 7.x may conflict with Laravel’s Symfony 6.x components.
  • Documentation Gaps:
    • Russian-only README requires translation or internal docs.
    • No issue tracker means no community support; bugs must be resolved internally.
  • Testing Burden:
    • PHPUnit tests are Symfony-specific; adapting them for Laravel requires additional test suites.

Support

  • Limited Ecosystem:
    • 0 stars, no dependents, and no open issues suggest low community adoption.
    • MIT license lacks vendor support; troubleshooting falls to the team.
  • Symfony Expertise Required:
    • Team must understand Symfony Messenger/Scheduler for debugging.
    • Laravel-specific issues (e.g., Blade, Eloquent) are not addressed.

Scaling

  • Performance Gains:
    • Symfony Messenger may outperform Laravel Queues for high-throughput workloads (e.g., real-time notifications).
    • Systemd workers offer low-latency process management (vs. Supervisor/Docker overhead).
  • Scaling Bottlenecks:
    • Systemd dependency limits cloud-native scaling (e.g., Kubernetes).
    • Asset pipeline (baks:assets:install) may conflict with Laravel Mix/Vite in CI/CD.

Failure Modes

Failure Scenario Impact Mitigation
Symfony 7.x breaking Laravel Queue/scheduler failures Use Lumen microservice or Symfony bridge
Systemd worker crashes Job processing halts Fallback to Supervisor
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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor