Download the PHP package blueprint3d/module-allow-utf8mb4 without Composer

On this page you can find all versions of the php package blueprint3d/module-allow-utf8mb4. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-allow-utf8mb4

BluePrint3D - Allow UTF8MB4 (Emoji Support) for Magento 2 ๐Ÿš€

โš ๏ธ Requires MySQL 8.4+ (or an equivalent modern MariaDB). Below MySQL 8.0.29, Magento's own declarative schema has no way to keep these columns on utf8mb4 across repeated setup:upgrade runs, and this module's one-shot patch alone isn't enough to guarantee it stays fixed โ€” see the fine print below before installing on an older database.

A lightweight, bulletproof Magento 2 module that permanently enables utf8mb4 encoding across your database. Finally, you can use emojis, extended multilingual characters, and complex Unicode symbols anywhere in your store without Magento destroying them.


๐Ÿ›‘ The Problem

By default, older versions of Magento 2 configure MySQL tables to use the legacy 3-byte utf8 (or utf8mb3) character set. If a content manager or customer attempts to save a 4-byte characterโ€”like an emoji (๐Ÿ”ฅ) or a rare Unicode symbolโ€”Magento and MySQL will silently crash the string, chopping off the text and replacing your carefully crafted content with ???.

๐Ÿ› ๏ธ The Solution

This module injects a targeted Data Patch into Magento's deployment cycle. It automatically converts crucial tables (like Products, CMS Pages, CMS Blocks, and Customer Data) to utf8mb4 and adjusts the active collation to utf8mb4_unicode_ci.

The result: Crisp, clean emojis and full 4-byte Unicode support across your entire frontend and backend.

โœจ Features


๐Ÿ“ฆ Installation

1. Install via Composer

composer require blueprint3d/module-allow-utf8mb4

2. Enable the module

php bin/magento module:enable BluePrint3D_AllowUtf8mb4

3. Run the database upgrade (This applies the UTF8MB4 Data Patch)

php bin/magento setup:upgrade

4. Compile and flush cache

php bin/magento setup:di:compile
php bin/magento cache:flush

๐Ÿ‘จโ€๐Ÿ’ป Usage

There is no Admin UI required. Once installed and upgraded, the module works silently in the background. Simply go to Content > Blocks or Catalog > Products and start pasting emojis! ๐Ÿš€๐Ÿ•๐Ÿ›’


๐Ÿ” The Fine Print

Magento's declarative schema has no column-level charset/collation attribute (only table-level), so on MySQL below 8.0.29, every setup:upgrade silently regenerates these columns using Magento's own legacy default charset โ€” undoing the conversion, regardless of what this module declares. This isn't fixable purely from db_schema.xml.

On MySQL 8.4+ (or a modern MariaDB), Magento's own framework defaults these columns to utf8mb4 natively on every setup:upgrade, so this module's one-shot patch is all you need โ€” it stays fixed with no further action. If you're still on an older MySQL version, upgrade the database first; don't rely on this module alone to keep emoji support working across future deploys.


๐Ÿ“œ License

Copyright © 2026 BluePrint3D Ltd. All rights reserved.

This software is provided free of charge for personal or commercial use. However, the resale, redistribution, or sublicensing of this source code, modified or unmodified, for direct financial gain is strictly prohibited.

Please see the LICENSE.txt file for full terms and conditions.

Owned by: BluePrint3D Ltd (Company Registration Number: 13473806)
Email: [email protected]


All versions of module-allow-utf8mb4 with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1.0 <8.6.0
magento/framework Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package blueprint3d/module-allow-utf8mb4 contains the following files

Loading the files please wait ...