Laravel is a popular PHP framework for building web applications. By default, Laravel stores its public files in a directory named "public" at the r

How to get current URL in Laravel

  • Post published DateMay 09, 2023
  • Posted by UserNilkanth Borad
  • Share Pst
  • Save Post

One common task that developers encounter while working with Laravel is getting the current URL of the page. The reason can be anything like checkin

How to enable CORS in Laravel

  • Post published DateMay 03, 2023
  • Posted by UserNilkanth Borad
  • Share Pst
  • Save Post

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 sta

One of the most powerful features of Laravel is its helper functions or facades. Working in real-life projects storing data in an array is a common

Generate String Acronyms with Laravel Macro

  • Post published DateMay 01, 2023
  • Posted by UserNilkanth Borad
  • Share Pst
  • Save Post

While creating social media applications or blog platforms sometimes requirement rises for showing Acronyms of user names or some titles. In this po

API Versioning in Laravel

  • Post published DateApril 22, 2023
  • Posted by UserNilkanth Borad
  • Share Pst
  • Save Post

While upgrading the functionality of the application sometimes we need to change the majority portion of logic. In common cases doesn't affect web a

While working with relationships, sometimes we need to get the first data of many to many relations or the latest data from one relationship where c

Order Data By Mutator Attribute In Laravel

  • Post published DateApril 04, 2023
  • Posted by UserNilkanth Borad
  • Share Pst
  • Save Post

Accessor and mutator help us to change data by custom functionally automatically. While working with a mutator sometimes we need to order or sort da

Grouping data by some specific conditions is commonly required to reduce load time. Grouping data is the concept of SQL but Laravel provides an effe

How to Check Table Or Column Exists In Laravel

  • Post published DateApril 04, 2023
  • Posted by UserNilkanth Borad
  • Share Pst
  • Save Post

While working on an enterprise-level project, it commonly occurs that we want to create a particular table or column into a table that already exist

Recent posts

Tags

Subscribe

Want to be notified when someone post intresting content. Just sign up and we'll send you a notification by email.