laravel



GeoDetect: PHP package for IP-based country detection

  • avatar
  • 4.1K Views
  • 1 Like
  • 3 mins read
Preview post image

The ability to gather and analyze data about users' geographical locations has become increasingly vital for numerous applications. Whether it's personalizing content, tailoring marketing strategies, or implementing region-specific features, having accurate geolocation information can significantly enhance the user experience. To facilitate this process, GeoDetect package detects the country associated with an IP address.

Setup GitHub Actions for Laravel projects

  • avatar
  • 3.1K Views
  • 1 Like
  • 5 mins read
Preview post image

Managing a Laravel project involves many tasks that can be automated to save time and reduce errors. GitHub Actions offers a powerful way to automate workflows directly within your GitHub repository. By integrating GitHub Actions into your Laravel project, you can automate testing, deployment, and other routine tasks, ensuring a more efficient and reliable development process.

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

We never send SPAM nor unsolicited emails

Improved GeoDetect featuring flag recognition

  • avatar
  • 2.8K Views
  • 2 Likes
  • 4 mins read
Preview post image

Collecting and analyzing data on users' geographical locations has become increasingly essential for various applications. Precise geolocation data has the potential to significantly enhance the user experience by personalizing content, customizing marketing strategies, and implementing features specific to regions. Back in May, we introduced the GeoDetect package to facilitate this process.

Create Laravel 12 project from scratch

  • avatar
  • 349 Views
  • 6 mins read
Preview post image

Laravel is a PHP framework built to make web development cleaner and faster by following the Model-View-Controller (MVC) pattern. Since its first release in 2011, it has grown into one of the most popular choices for PHP developers. Laravel brings powerful tools like expressive routing, simple database migrations, a built-in authentication system, and Blade templating, making it easier to build full-featured applications without getting buried in repetitive code.

Clean query building using Criteria

  • avatar
  • 241 Views
  • 1 Like
  • 5 mins read
Preview post image

Criteria is a framework-agnostic PHP package that simplifies the use of the criteria pattern for filtering, sorting, and paginating data. It helps separate query logic from repositories, making the codebase easier to maintain and extend over time. By using Criteria, developers can handle complex querying needs without spreading filter logic across different parts of the application.

Repository cache in Laravel

  • avatar
  • 71 Views
  • 11 mins read
Preview post image

In modern web applications, optimizing data retrieval is crucial to improving performance and user experience. One common practice is caching database queries to reduce redundant calls to the database. While Laravel offers built-in caching features, in some cases, you may want to implement custom repository caching manually to better control your caching mechanism. This article will walk you through implementing repository caching in Laravel 12, explaining the steps involved and how to achieve better performance in your application.