lunar



Boosting PHP performance with OPCache

  • avatar
  • 9.1K Views
  • 7 mins read
Preview post image

OPCache is a robust tool that enhances PHP performance, making web applications faster and more efficient. Included as an extension in PHP, OPCache stores precompiled script bytecode in shared memory. This eliminates the need for PHP to load and parse scripts with each request, significantly reducing execution overhead and improving server response times. This not only enhances the user experience but also reduces server load, allowing it to handle more requests at once. OPCache's benefits are especially noticeable in high-traffic environments where performance and efficiency are critical.

JWT authentication using Laravel middleware

  • avatar
  • 4.4K Views
  • 1 Like
  • 6 mins read
Preview post image

Security is crucial in web development, and one widely used method for securing APIs and web applications is JSON Web Token (JWT) authentication. Laravel, a powerful PHP framework, offers robust support for JWT authentication, making it a popular choice among developers. In this guide, we'll explore the intricacies of JWT authentication in Laravel, from grasping the basics of JWT to implementing token decoding within Laravel middleware.

Boost Laravel performance with OPCache

  • avatar
  • 3.7K Views
  • 6 Likes
  • 9 mins read
Preview post image

Enhancing the performance of Laravel applications brings a smoother and faster user experience. One powerful tool for achieving this is OPCache. OPCache is a PHP extension that stores precompiled script bytecode in memory, which reduces the overhead of parsing and compiling scripts with each request. This results in faster execution and improved overall efficiency.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Basic authentication using Laravel middleware

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

Laravel, the PHP framework renowned for its simplicity and elegance, continues to be a top choice for developers worldwide. Among its many features, Laravel offers robust middleware functionality, allowing for seamless integration of authentication mechanisms. In this article, we'll explore the implementation of basic authentication using middleware in Laravel, investigating its benefits and practical applications.

Setup GitHub Actions for Laravel projects

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