neuralglitch / omnia-ipsum
All-in-One Placeholder Bundle for Symfony - Generate placeholder images, Lorem Ipsum text, and realistic fake data for rapid prototyping
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/neuralglitch/omnia-ipsum
Requires
- php: >=8.1
- fakerphp/faker: ^1.23
- symfony/config: ^6.4 || ^7.0 || ^8.0
- symfony/dependency-injection: ^6.4 || ^7.0 || ^8.0
- symfony/http-kernel: ^6.4 || ^7.0 || ^8.0
- symfony/twig-bundle: ^6.4 || ^7.0 || ^8.0
- twig/twig: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- infection/infection: ^0.29
- phpmetrics/phpmetrics: ^2.8
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^10.5 || ^11.0
- rector/rector: ^1.0
- symfony/asset-mapper: ^6.4 || ^7.0 || ^8.0
- symfony/yaml: ^6.4 || ^7.0 || ^8.0
- vimeo/psalm: ^6.0
This package is auto-updated.
Last update: 2025-11-22 12:46:48 UTC
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