application



Domain Driven Design with Laravel 9

  • avatar
Preview post image

Modern web frameworks teach you to take one group of related concepts and split it across multiple places throughout your codebase. Laravel is a robust framework with a big community behind it. Usually it's standard structure is enough for most starting projects.

Building scalable applications, instead, requires a different approach. Have you ever heard from a client to work on controllers or review the models folder? Probably never - they ask you to work on invoicing, clients management or users. These concept groups are called domains.

Domain Driven Design: Layers

  • avatar
  • 22.7K Views
  • 27 Likes
  • 5 mins read
Preview post image

Developing applications that can perform complex tasks can be a challenging process, and it requires careful planning and design. One approach to managing this complexity is to use a Layered Architecture. This architecture separates the application's code into layers, each with a specific responsibility and purpose. These layers are typically organized in a hierarchy, with higher-level layers depending on lower-level layers.

Install PHPStan and configure for Laravel application

  • avatar
  • 12.7K Views
  • 12 Likes
  • 3 mins read
Preview post image

Unlike compiled languages, in PHP if you make a mistake, the program will crash when the line of code with the mistake is executed. When testing a PHP application, whether manually or automatically, developers spend a lot of their time discovering mistakes that wouldn’t even compile in other languages, leaving less time for testing actual business logic.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Containerizing Laravel Application using Docker

  • avatar
Preview post image

In the world of modern web development, containerization has emerged as a popular approach for packaging applications, providing isolated environments, and simplifying deployment processes. Docker, an open-source platform, has gained significant traction in this regard, allowing developers to encapsulate their applications and dependencies into containers. In this article, we will explore the benefits and steps involved in Docker containerization of Laravel applications, a popular PHP framework.

Facebook OAuth2.0 access for web application

  • avatar
  • 6.5K Views
  • 9 Likes
  • 12 mins read
Preview post image

Facebook is very popular social network with millions of users worldwide and the number of active Facebook users growing day by day. Their platform allows third party websites to use Facebook as registration or login option with just a few clicks. That is the social login and it allows customers to bring their existing social identities and use them to register and log in without creating a new account explicitly. It saves a lot of time for users and makes the life easier as we don't need to remember all those credentials for different websites anymore.

Creating a custom maintenance page in Laravel

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

In Laravel, maintenance mode is a convenient feature that allows developers to display a custom message to visitors while the application is undergoing updates or fixes. It prevents users from encountering unfinished or broken features, giving you the opportunity to make changes without affecting the live experience. By default, Laravel provides a basic maintenance page, but if you want to create a more personalized version, you can easily do so. A well-designed custom page helps to keep users informed and reassured during maintenance.

GitLab OAuth2.0 access for web application

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

GitLab is one of fastest growing private software companies. The company provides a central server that manages git repositories and is used to simplify the administration tasks of many corporations worldwide. Their platform allows third party websites to use GitLab as registration or login option with just a few clicks. That is the social login and it allows customers to bring their existing social identities and use them to register and log in without creating a new account explicitly. It saves a lot of time for users and makes the life easier as we don't need to remember all those credentials for different websites anymore.

Google OAuth 2.0 access for server side web apps

  • avatar
  • 4.2K Views
  • 5 Likes
  • 12 mins read
Preview post image

Google is a popular platform that is commonly used on websites as registration or login option. It allows us to register with our Google account with just a few clicks and skip the process of email validation. It saves us a lot of time and makes the life easier as we don't need to remember all those credentials for different websites anymore.

Laravel blade structure for scalable projects

  • avatar
  • 3.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.

Exploring the inner workings of Laravel Facades

  • avatar
  • 3.7K Views
  • 4 Likes
  • 5 mins read
Preview post image

In the realm of Laravel, there is a powerful feature called Facades that plays a significant role in simplifying code and enhancing developer productivity. Facades in Laravel provide a simple and elegant way to access underlying classes without the need for complex dependency injection or instantiating objects. By abstracting away the complexities, Laravel Facades offer a clean and intuitive syntax that allows developers to write expressive and concise code. In this article, we will investigate the inner workings of Laravel Facades to demystify their magic and showcase their remarkable capabilities.