Generate String Acronyms with Laravel Macro

While creating social media applications or blog platforms sometimes requirements arise for showing Acronyms of user names or some titles. In this post, we will generate string Acronyms using koenhendriks/laravel-str-acronym. The Laravel Str Acronym provides a macro for generating acronyms from strings in Laravel projects using the Str helper and also supports the Stringable class.

Learn More about Generate String Acronyms with Laravel Macro

How to change Laravel public folder to public_html?

Laravel is a popular PHP framework for building web applications. By default, Laravel stores its public files in a directory named “public” at the root of your project. However, some hosting providers use a different naming convention for the public folder, such as “public_html”. In this post, we will explore how to change Laravel public

Learn More about How to change Laravel public folder to public_html?