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

Compass Elephant Laravel Package

cypresslab/compass-elephant

PHP wrapper around the Compass binary for *nix systems. Uses Symfony Finder and Process to locate files and run Compass commands from PHP. Install via Composer or PEAR; includes PHPUnit tests and follows Symfony2 coding standards.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Legacy System Modernization: Integrate Sass/Compass workflows into older PHP (5.3+) applications without requiring Ruby dependencies on production servers.
  • Build vs. Buy: Justify using this package over maintaining custom scripts for Compass integration, especially if the team lacks Ruby expertise.
  • Roadmap for Static Asset Pipelines: Bridge gaps in Assetic’s Sass support (as noted in the README) while waiting for upstream fixes. Use this as a temporary solution for projects relying on Compass-generated CSS.
  • DevOps Automation: Automate Compass project initialization, compilation, and staleness checks in CI/CD pipelines (e.g., trigger recompilation only when Sass/SCSS files change).
  • Symfony2 Projects: Leverage the CompassElephantBundle to centralize asset management in Symfony2 applications, reducing manual intervention.

When to Consider This Package

  • Avoid if:
    • Your project uses Compass 2.x+ (this package is incompatible due to removed --dry-run support).
    • You’re on Windows (requires *nix systems with Compass installed).
    • You can use modern alternatives (e.g., Dart Sass, PostCSS, or updated Assetic with Sass support).
    • Your team has Ruby expertise and prefers native Compass integration.
    • You need active maintenance (last release: 2014; no dependents).
  • Consider if:
    • You’re maintaining a legacy PHP 5.3+ app with Compass dependencies.
    • You need a PHP-based wrapper to avoid shelling out to Compass commands directly.
    • Your CI/CD pipeline requires programmatic Compass control (e.g., conditional recompilation).
    • You’re using Symfony2 and want to integrate Compass into the asset workflow via the bundle.

How to Pitch It (Stakeholders)

For Executives: "This PHP package lets us automate Compass (Sass/SCSS compilation) directly in our legacy PHP stack, eliminating Ruby dependencies in production. It’s a stopgap until we migrate to modern tools—low-risk, low-effort, and aligns with our DevOps goal to reduce manual asset builds. The Symfony2 bundle adds bonus value for our web apps by centralizing asset management."

For Engineering: "CompassElephant wraps Compass commands in PHP, giving us programmatic control over Sass compilation (e.g., auto-recompile only when files change). It’s lightweight (Symfony Process/Finder under the hood) and works with our existing PHP 5.3+ codebase. Tradeoff: No longer maintained, but we can fork it if needed. Ideal for CI/CD or Symfony2 projects where we’d otherwise shell out to Compass manually."

Key Risks to Call Out:

  • "This is a 2014-era package—no active updates, but it’s stable for basic use cases."
  • "Windows unsupported; requires Compass installed on servers."
  • "Long-term, we should migrate to Dart Sass or updated Assetic."
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.
croct/coding-standard
croct/plug-php
nqxcode/phpmorphy
boundwize/pyrameter
testo/facade
develia/commons
dmstr/symfony-system-resources-bundle
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
renatomarinho/laravel-page-speed
develia/geo-bundle
austinheap/laravel-database-encryption
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
imbo/imbo-coding-standard
visualbuilder/filament-lottie
servicioslineaonce/starter-kit
atomcoder/laravel-reorderable
irajul/filament-shadcn-theme