Download the PHP package cleaniquecoders/placeholdify without Composer
On this page you can find all versions of the php package cleaniquecoders/placeholdify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cleaniquecoders/placeholdify
More information about cleaniquecoders/placeholdify
Files in cleaniquecoders/placeholdify
Package placeholdify
Short Description A powerful and extendable placeholder replacement engine for Laravel templates with context mapping, custom formatters, and fluent API
License MIT
Homepage https://github.com/cleaniquecoders/placeholdify
Informations about the package placeholdify
Placeholdify
A powerful and extendable placeholder replacement engine for Laravel that makes working with dynamic templates a breeze. Perfect for generating letters, invoices, certificates, emails, and any document that requires dynamic content injection.
Features
- 🎯 Context-Aware - Register reusable context mappings for your models
- 🎨 Custom Formatters - Built-in formatters for dates, currency, numbers, and easy custom formatter registration
- ⚡ Lazy Evaluation - Defer expensive operations until needed
- 🔧 Template Modifiers - Support inline formatting like
{amount|currency:USD}or{name|upper} - 🧩 Extendable - Easily create dedicated context classes for different document types
- 💬 Fluent API - Chainable methods for clean, readable code
- 🛡️ Safe Defaults - Built-in fallback values and error handling
- 📦 Zero Dependencies - Works with plain Laravel, no extra packages required
Installation
Optionally, publish the config file:
Quick Start
Simple Replacement
Fluent API
Using Contexts
Template Modifiers
Template Classes
Create dedicated template classes for complex scenarios:
Documentation
For comprehensive documentation, examples, and advanced usage:
- 📖 Complete Documentation - Full documentation index
- 🚀 Basic Usage - Learn the fundamentals
- 🎨 Formatters - Built-in and custom formatters
- 🔄 Context System - Reusable model mappings
- ⚡ Advanced Features - Lazy evaluation, conditionals, and more
- 🏗️ Template Classes - Organize your template logic
- ⚙️ Configuration - Customize default behavior
- 🛠️ Artisan Commands - Command-line tools
- 🌍 Real World Examples - Complete implementation examples
- 📚 API Reference - Complete method documentation
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Nasrul Hazim Bin Mohamad
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of placeholdify with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.0