How to Install Postman on Ubuntu

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create and test APIs. Initially, Postman started as a browser extension and quickly became the most used tool by developers all over the world. Postman is available in all major operating

Learn More

API Versioning in Laravel

While upgrading the functionality of the application sometimes we need to change the majority portion of logic. In common cases doesn’t affect web applications but for APIs, it can be tricky. Some users don’t choose to upgrade the application and they can face errors in using the same APIs. API versioning provides a way to

Learn More

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

How to enable CORS in Laravel

In this post, we will explain what cross-origin resource sharing (CORS) is and how to enable CORS for Laravel applications. What is CORS? CORS stands for Cross-Origin Resource Sharing. Generally, assets like images, stylesheets, and scripts can be easily embedded into web pages. CORS is a browser mechanism that enables controlled access to resources outside

Learn More

How to get the current URL in Laravel

One common task that developers encounter while working with Laravel is getting the current URL of the page. The reason can be anything like checking which menu should be active or the user has the right to access specific URLs. In this article, we will explore different ways of getting the current URL in Laravel.

Learn More

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