How You can use a PHP Slug Creator to Generate Readable Web Page URLs in English and Other Languages - PHP Slugify package blog

Recommend this page to a friend!
  All package blogs All package blogs   PHP Slugify PHP Slugify   Blog PHP Slugify package blog   RSS 1.0 feed RSS 2.0 feed   Blog How You can use a PHP...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2021-05-13

Posted on: 2021-05-13

Package: PHP Slugify

A slug is a text that is often used in URLs to make them more readable for the users.

Usually, this is done by replacing non-ASCII characters with equivalent characters that users can read in the way the characters should sound.

There are many solutions to create a slug text. This package provides a more flexible solution that allows developers to customize how each character is mapped to other characters in the slug text.

This solution may be better when applications need to create slug texts that need to be readable by users that only understand other languages besides English.




Loaded Article

About the PHP Slugify Package

The package PHP Slugify is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Create a slug text from a given text string

Here follows in more detail what it does:

This class can be used to create a slug text from a given text string.

It can take a given string encoded in UTF-8 and then can replace non-ASCII characters by equivalent strings that only use ASCII text.

The class uses an internal array that is used to defined how the characters are mapped. It also provides a function that can be used to change the mappings of specific characters.

Conclusion

The PHP Slugify can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

This package was considered notable for implementing its benefits in a way that is worth noticing.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.

One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.




You need to be a registered user or login to post a comment

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   PHP Slugify PHP Slugify   Blog PHP Slugify package blog   RSS 1.0 feed RSS 2.0 feed   Blog How You can use a PHP...  

For more information send a message to info at phpclasses dot org.