neuralglitch/omnia-ipsum
最新稳定版本:0.1.0
Composer 安装命令:
composer require neuralglitch/omnia-ipsum
包简介
All-in-One Placeholder Bundle for Symfony - Generate placeholder images, Lorem Ipsum text, and realistic fake data for rapid prototyping
关键字:
README 文档
README
Omnia Ipsum
All-in-One Placeholder Text, Images, Audios and Videos for Symfony
Features
- Placeholder Images - 5 providers with real photos and colored placeholders
- Avatar Generation - Automatic initials and colors
- Placeholder Videos - Professional video clips
- Placeholder Audio - Music tracks and silent audio
- Lorem Ipsum Text - Classic placeholder text generation
- Fake Data - FakerPHP integration for realistic content
- Twig Functions - Simple, intuitive template functions
Prerequisites
For fully automatic setup, visit the related Flex recipe repository and follow the instructions to add it to the composer.json in the consuming project, as the recipe is not yet part of the Symfony's main recipe repository.
Installation
composer require neuralglitch/omnia-ipsum
Quick Start
{# Images #} <img src="{{ omnia_image(600, 400) }}" alt="Placeholder"> <img src="{{ omnia_avatar('John Doe', 100) }}" alt="Avatar"> {# Videos #} <video src="{{ omnia_video(1920, 1080) }}" controls></video> {# Audio #} <audio src="{{ omnia_audio(10) }}" controls></audio> {# Text #} <h1>{{ lorem_title() }}</h1> <p>{{ lorem_paragraphs(3) }}</p> {# Fake Data #} <p>{{ fake('name') }} - {{ fake('email') }}</p> <p>{{ fake_text(200) }}</p>
Important: Disable in production by configuring the bundle only for dev and test environments.
Documentation
- Quick Reference - Get started in 5 minutes
- Image Providers - All image providers and options
- Video Providers - Video options and clips
- Audio Providers - Audio providers and tracks
- Text Generation - Lorem Ipsum and Faker integration
- Faker Integration - All available fake data formatters
- Configuration - Configuration options
Requirements
- PHP 8.1 or higher
- Symfony 6.4, 7.x, or 8.x
- Twig 3.0 or higher
Support
License
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-22