Introducing a new PHP extension ("slugify") and request for PECL publishing approval
| From: | Mostafa NAFI | Date: | Thu, 13 Nov 2025 15:56:10 +0000 |
| Subject: | Introducing a new PHP extension ("slugify") and request for PECL publishing approval | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-17703@lists.php.net to get a copy of this message | ||
Hello everyone,
My name is *Mostafa Nafi*, and I am a *Senior PHP/Symfony Developer and
Technical Lead* currently working on enterprise-grade applications for
financial institutions. I am writing to introduce myself and to present a
new PHP extension that I have developed, in accordance with the
requirements before requesting a PECL account.
*About the extension: "slugify"*
I have developed a lightweight and high-performance PHP extension named
*slugify*, implemented in C, which provides a native function to generate
clean, URL-friendly slugs efficiently.
Goals and motivation
The purpose of this extension is to offer:
-
A *faster alternative* to userland slugification libraries
-
A *dependency-free* solution suitable for high-traffic or
performance-sensitive environments
-
Proper *Unicode normalization*, removal of diacritics, and conversion to
URL-safe ASCII
-
A clean and minimalistic API that can easily be extended in future
releases
The extension includes full PECL-compatible packaging (config.m4,
package.xml, tests, arginfo, etc.) and has been tested on the latest PHP
versions.
You can find the source code here:
👉 *https://github.com/nafi-moostafa/slugify
<https://github.com/nafi-moostafa/slugify>*
*Purpose of my request*
I would like to *publish and maintain this extension on PECL*, so that
developers can easily install it via:
*pecl install slugify*
I plan to maintain the extension long-term, ensure compatibility with
future PHP releases, and evolve the feature set based on community feedback..
*Request for approval*
Before submitting the PECL account request form, I would like to confirm
that the extension is appropriate for publication in the PECL ecosystem,
and I kindly ask for your approval.
If any changes or improvements are required (packaging, code style,
documentation, tests), I would be happy to make the necessary adjustments.
Thank you for your time and consideration.
Best regards,
*Mostafa Nafi*
Senior PHP/Symfony Developer & Technical Lead