php base



Country detection in Laravel applications

  • avatar
  • 8.9K Views
  • 8 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 12 project from scratch

  • avatar
  • 7.7K Views
  • 3 Likes
  • 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.

Domain Driven Design: Components

  • avatar
  • 8.0K Views
  • 9 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.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Laravel blade structure for scalable projects

  • avatar
  • 5.9K Views
  • 2 Likes
  • 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.

GeoDetect: PHP package for IP-based country detection

  • avatar
  • 5.2K 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.

Connecting to an SQLite database with PHP

  • avatar
  • 4.6K Views
  • 5 mins read
Preview post image

SQLite is a lightweight, self-contained database engine that doesn't require a separate server to run. It's a popular choice for smaller applications, embedded systems, and situations where simplicity and minimal setup are crucial. In PHP development, SQLite is an excellent option for managing data without needing the complexity of larger database systems. Whether you're working on a small project or need a simple solution for data storage, SQLite can be a powerful tool. This article will guide you through using SQLite with PHP, showing how to set it up, perform common operations, and use it in your applications.

Transistors: the building blocks of our digital world

  • avatar
  • 4.3K Views
  • 1 Like
  • 7 mins read
Preview post image

Transistors are semiconductor devices that regulate the flow of electrical current within a circuit. Their invention in the mid-20th century marked a pivotal moment in electronics. Semiconductors, typically made of silicon or germanium, form the basis of transistors, granting them the ability to switch and amplify electrical signals. These devices have revolutionized the world of electronics, making way for the digital age by enabling the miniaturization of complex circuits and facilitating the rapid advancement of technology.

Improved GeoDetect featuring flag recognition

  • avatar
  • 4.0K 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.

Practical guide to PHP 8.5 containerization

  • avatar
  • 3.4K Views
  • 1 Like
  • 7 mins read
Preview post image

Containerization for PHP 8.5 gives a simple, predictable and practical way to run applications without worrying about what the host machine has installed. A container bundles PHP, extensions and all required tools in one place. This helps teams keep things clean, reproducible and easy to work with. The idea is straightforward: you build an image, start containers from it and share the image when needed. PHP 8.5 brings performance improvements and a smoother developer experience, so pairing it with Docker is a natural step for modern projects.