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
Jolitypo Bundle

Jolitypo Bundle Laravel Package

jolicode/jolitypo-bundle

Symfony bundle integrating JoliTypo to automatically apply typographic fixes to rendered HTML. A Twig filter corrects dashes, quotes, ellipses, non-breaking spaces and more, keeping French and other content clean without manual editing.

View on GitHub
Deep Wiki
Context7

:abc: Integration of JoliTypo for Symfony2 (deprecated, use the provided bridge instead)

Frequently asked questions about Jolitypo Bundle
Can I use jolicode/jolitypo-bundle in a Laravel application?
It is a Symfony bundle, not a Laravel package. Laravel does not load Symfony bundles or their DI extension configuration, so you cannot register and use it the way a Symfony app does. The underlying JoliTypo library is framework-agnostic and is the realistic integration point; wrap that in a Laravel service provider if you need typography fixes.
How do I install jolicode/jolitypo-bundle with Composer?
In Symfony you would require the bundle via Composer, register it in bundles.php, and configure rules under its extension key. That install path does not apply to Laravel, and requiring the bundle adds Symfony bundle machinery and constraints without a usable integration. Prefer requiring the underlying jolicode/jolitypo library directly and binding it in a service provider.
Does jolicode/jolitypo-bundle support Laravel 10 or Laravel 11?
There is no meaningful Laravel support because the package targets Symfony bundle conventions. Composer constraints may block modern Laravel and PHP combinations, or they may install unused Symfony code. Even if it installs, Laravel will not auto-discover or load the bundle, so use a Laravel-native adapter around the library instead.
What is the difference between JoliTypo and JoliTypoBundle?
JoliTypo is the PHP library that applies locale-aware typography rules to HTML and plain text, covering curly quotes, dashes, ellipses, non-breaking spaces, and similar fixes. JoliTypoBundle is the Symfony integration: service definitions, configuration, and a Twig filter. For Laravel, the library is the useful part and the bundle is reference material at best.
How do I apply typographic fixes in Blade instead of Twig?
The bundle's Twig filter has no Blade equivalent, so you would build one. Bind the JoliTypo fixer as a singleton in a service provider, then expose a Blade directive, helper, or view composer that calls it. Apply fixes at the output boundary so you do not mutate stored content or double-process rendered HTML.
Is jolicode/jolitypo-bundle maintained and safe for production?
The 1.0 release is a positive signal for API stability, but bundle stability does not equal fitness for Laravel. Verify repository activity, PHP 8+ support, security response, and transitive dependency health before relying on it. For a Laravel app, adopting a Symfony bundle creates avoidable platform and compliance debt.
How do I configure JoliTypo rules and locales in Laravel?
The bundle exposes Symfony configuration for rule sets and locales; in Laravel you would put equivalent defaults in config/ and pass them to the library. Bind a configured fixer instance per locale in a service provider, or a factory if locales vary per request. Keep defaults explicit and test output for each locale, since rule behavior differs by language.
Are there Laravel-native alternatives for typography correction?
There is no widely adopted Laravel-specific package for this exact job, so most teams wrap a framework-agnostic library or write a small formatter. Evaluate JoliTypo directly, or a maintained alternative, behind an internal interface so the implementation can be swapped. Keep the adapter narrow: input string, locale, rules, and HTML-safety behavior.
Should typography fixes be applied to stored data or at render time?
Apply them at the output boundary, such as Blade views, emails, and API serialization, rather than mutating stored content. That keeps original data intact, avoids double-processing, and lets you change rules later. If you must store corrected text, make the operation idempotent and fail open on errors.
How do I test typography fixes in a Laravel app?
Write fixtures with representative inputs and expected outputs: smart quotes, en and em dashes, ellipses, non-breaking spaces, UTF-8, and HTML versus plain text. Assert idempotency by running the fixer twice. Also test locale-specific rules and error behavior so rendering fails open rather than breaking a page.
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.
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource