Serving Laravel Application Through ngrok The ngrok tool comes very handy when you have to quickly expose your local Laravel environment to the outside world, by obtaining a disposable public URL that points to your local… July 17, 2024
Docker: PHPUnit with Laravel In the previous article about setting up a LEMP stack in Docker, I did not mention a word about essential part of crafting software and that is - testing. Let's use this stack and… November 01, 2022
PHP: Cookies in Laravel In this brief tutorial I will show you the basics on how to create, return and read cookies created by Laravel. This should cover essential knowledge about cookie functionality tha… October 15, 2022
Docker: Create a Complete Dockerized Laravel Environment with PHP, Nginx, MySQL, Redis and Scheduler Docker gives an incredible flexibility in terms of having a fully-fledged local environment, dedicated for development purposes. In this article I will show you how to establish a… September 24, 2022
Laravel Homestead: Access Multiple Local Sites From Other Hosts in Your LAN Network Checking how your local projects render in other browsers is a typical and easy to achieve task. Most likely you have a stack of browsers installed on your host machine, where you… November 08, 2020
PHP: Sending E-mail in Laravel Using SMTP and Amazon SES A shared hosting wins over VPS with its simplicity but is also has pretty serious limitations and doesn't scale up very well. On the other hand managing your own server raises a va… May 15, 2020
Laravel View Presenter The idea behind the View-Presenter pattern is to separate model's display logic from the data it represents. In other words neither a model, nor a view should know anything about h… August 04, 2018
Laravel Homestead: How to Backup and Restore all Databases? When you use Laravel Homestead, all of your projects are stored physically on your host. You simply do not need to worry about these files when you destroy Homestead's box, as noth… February 27, 2018
PHP: Optimised File Response in Laravel Using HTTP Cache Headers In most common situations you are going to let your web server handle all HTTP responses for you. Imagine a case where a client is requesting a file by accessing an unique URL → se… May 28, 2015
Laravel: How to Truncate a Table With a Foreign Key Reference While Seeding? If you work with migrations in your Laravel application, sooner or later you may see an error that will forbid you to truncate a table that is referenced in a foreign key constrain… May 13, 2015
Custom Helpers in Laravel Helper functions are simply custom PHP functions that you define in a certain place and then call from anywhere across a Laravel project. If you have to change anything, you do it… May 06, 2015
ReflectionException in Laravel 5 When Seeding Database (Class Does not Exist) It took me a while to realize what is going on with this strange issue. You did a migration that worked fine? Then you wanted to populate newly created table by seeding your databa… March 17, 2015