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

Coffeescript Laravel Package

nodejs-php-fallback/coffeescript

CoffeeScript compiler for PHP with Node.js fallback support. Integrates .coffee-to-JavaScript compilation into Laravel and PHP projects via a simple API, helping asset pipelines handle CoffeeScript without making Node.js a hard runtime dependency.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Legacy frontend maintenance: Unblocks Laravel/PHP apps that still contain CoffeeScript assets but lack a reliable Node toolchain in local, CI, or deployment environments.
  • Build-vs-buy for a narrow compatibility shim: Offers a low-cost MIT-licensed wrapper instead of spending engineering time building an internal CoffeeScript execution abstraction.
  • Roadmap sequencing for modernization: Lets teams defer a full CoffeeScript-to-JavaScript migration while continuing to ship fixes to legacy admin panels, CMS themes, or Blade-rendered assets.
  • Deployment flexibility: Supports environments where Node may be available in some stages but not others, using Node when present and a PHP fallback otherwise.
  • Risk containment: Enables a deliberately temporary dependency in a legacy asset pipeline rather than spreading CoffeeScript support across multiple services.

When to Consider This Package

  • You have an existing Laravel/PHP application with CoffeeScript files that must still compile as part of the asset pipeline.
  • You need a short-term compatibility bridge while planning migration away from CoffeeScript.
  • Your CI or deployment environment cannot guarantee Node availability, and a PHP fallback has operational value.
  • The CoffeeScript surface area is small, internal-facing, and low-risk enough that an abandoned dependency is tolerable with pinning and tests.
  • You can wrap usage behind a build script or internal abstraction so replacement is straightforward.

Look elsewhere when:

  • You are starting a new project or modernizing the frontend; CoffeeScript should not be introduced.
  • You need actively maintained dependencies, security responsiveness, or predictable long-term support. The last release is from 2019, the package has very low adoption, and no dependents.
  • Asset compilation is business-critical, customer-facing, or subject to strict supply-chain/compliance requirements.
  • You need deterministic builds across environments; mixing Node execution with a PHP fallback can create behavior differences that must be tested.
  • A straightforward migration to JavaScript or a maintained asset pipeline is feasible within the current roadmap.

How to Pitch It (Stakeholders)

For executives: This is a tactical compatibility shim, not a strategic platform investment. It can reduce short-term engineering drag in a legacy Laravel/PHP product by letting existing CoffeeScript assets keep compiling, but it should be treated as temporary technical debt. Given the package’s age, low adoption, and lack of dependents, approve it only with a clear exit plan and limited scope.

For engineering: Use it behind a narrow build-step abstraction, pin the version, test both Node and PHP fallback paths, and document the migration path to JavaScript. Do not standardize on it for new work. The value is in buying time to modernize, not in extending CoffeeScript’s lifecycle.

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.
ably/pubsub-server
mstfkhazaal/defender
mfonte/base62x
karnoweb/metapilot
tobya/bcsapiwrapper
swalker2/cpanel
vish4395/laravel-translation-manager
morningtrain/economic
teksite/systeminfo-laravel
atomcms/voting
run6/weather
siokas/laravelembeddirectives
adamlien/pkuuids
gilsonsouza/lara-doc-generator
manelgavalda/enrollment_mobile
unabomber/timezone
delatbabel/contacts
astritzeqiri/g-recaptcha
kevinongko/laravel-genode
developeruz/laravel-analytics