PHP 82 FPM



Domain Driven Design with Laravel 9: User domain

  • avatar
  • 6.6K Views
  • 15 Likes
  • 11 mins read
Preview post image

Modern web frameworks take one group of related concepts and split it across multiple places throughout your codebase. Laravel provides a very clear structure with large variety of tools to make the development easier and faster. Along with the huge community it makes Laravel a great option for most starting projects.

Social authentication with Laravel Socialite

  • avatar
  • 5.2K Views
  • 6 Likes
  • 7 mins read
Preview post image

Social login is now an essential part of any site which performs user authentication. It does not need to replace the standard form based authentication, quite the contrary, social login complements it. Login with social accounts is a straightforward process and it saves the users a lot of time, as they won't need to fill the whole form. They just sign up with their social account and they can log into the website with just a few clicks.

Universally unique identifiers: UUID vs ULID

  • avatar
  • 4.9K Views
  • 2 Likes
  • 7 mins read
Preview post image

Historically a lot of software has used incrementing numbers to represent the identifier of a particular piece of data. They can be auto-generated by many data stores, they are easy to read, efficient to store and naturally time ordered.

As time passes, applications become larger. They need more resources and usually distributed in different places. That may cause some errors generating concurrent numbers and coordination issues. Incremental numbers can also be the source of security problems and they may include implicit information about datasets volume. Modern software architectures also trend to decouple infrastructure layer and move ID generation logic to the domain core.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Country detection in Laravel applications

  • avatar
  • 4.6K Views
  • 7 Likes
  • 5 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.

Create Laravel 10 project from scratch

  • avatar
  • 4.0K Views
  • 2 Likes
  • 5 mins read
Preview post image

Laravel is an open-source PHP web application framework designed for building web applications following the Model-View-Controller (MVC) architectural pattern. It was created in 2011 and become one of the most popular PHP frameworks used for web development.

Laravel provides developers with a number of powerful features and tools, including a simple and expressive syntax, built-in database migration and schema management, automated testing, and a robust ecosystem of third-party packages. Some of the key features of Laravel include its powerful routing engine, which allows developers to easily define application routes using a simple and intuitive syntax, and its comprehensive ORM (Object-Relational Mapping) system, which makes working with databases and models a breeze.

Domain Driven Design: Components

  • avatar
  • 4.0K Views
  • 7 Likes
  • 9 mins read
Preview post image

Previously, we explored the fundamental concepts and terminology utilized in Domain Driven Design (DDD), as well as the layers that make up its architecture. In this section, we will examine the artifacts employed to integrate these concepts and construct our application, using PHP as an example.

Criteria: PHP package for managing Criteria Pattern

  • avatar
  • 3.1K Views
  • 6 Likes
  • 5 mins read
Preview post image

The Criteria Pattern stands as a powerful tool, often hidden in the shadows of more commonly discussed design patterns. This pattern empowers developers to implement dynamic and customizable queries in their applications, enhancing flexibility and maintainability To facilitate this process, Criteria package provides the shared domain logic that contains abstract criteria implementation that each specific criteria should extend from.

Laravel blade structure for scalable projects

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

Projects tend to grow in size and level of complexity resulting in more and more files. A good base structure may help creating developer-friendly, maintainable and scalable product. Blade is a simple and powerful templating engine included with Laravel. Unlike some PHP templating engines, Blade does not restrict you from using plain PHP code in your templates. In fact, all Blade templates are compiled into plain PHP code and cached until they are modified, meaning Blade adds essentially zero overhead to your application. Blade template files use the .blade.php file extension and are typically stored in the resources/views directory.

Improved GeoDetect featuring flag recognition

  • avatar
  • 1.6K Views
  • 1 Like
  • 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.