Skip to content

Import and simplify Replacus library code#35

Merged
f3l1x merged 2 commits into
masterfrom
claude/import-replacus-library-djzH4
Dec 28, 2025
Merged

Import and simplify Replacus library code#35
f3l1x merged 2 commits into
masterfrom
claude/import-replacus-library-djzH4

Conversation

@f3l1x
Copy link
Copy Markdown
Member

@f3l1x f3l1x commented Dec 28, 2025

Integrate and simplify the contributte/replacus library functionality. The original library had multiple interfaces, factories, and builders. This simplified version provides a single Replacus class that uses Latte templating engine for placeholder replacement like {$variable}.

Features:

  • Simple static create() factory method
  • replace(string, array) method for variable substitution
  • addFilter() for custom Latte filters
  • Optional custom Latte engine injection

Integrate and simplify the contributte/replacus library functionality.
The original library had multiple interfaces, factories, and builders.
This simplified version provides a single Replacus class that uses Latte
templating engine for placeholder replacement like {$variable}.

Features:
- Simple static create() factory method
- replace(string, array) method for variable substitution
- addFilter() for custom Latte filters
- Optional custom Latte engine injection
- Add space after fn keyword in arrow functions
- Use proper import statements for Latte classes
@f3l1x f3l1x force-pushed the claude/import-replacus-library-djzH4 branch from 9e2479a to 3006e28 Compare December 28, 2025 15:14
@f3l1x f3l1x merged commit ccbacba into master Dec 28, 2025
9 checks passed
@f3l1x f3l1x deleted the claude/import-replacus-library-djzH4 branch December 28, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants