How to use fake dates in Cypress end-to-end testing

How to use fake dates in Cypress end-to-end testing

When writing an end-to-end test (or so called browser test), it might be tricky to force the application to use a certain (fake) date. In this post, I share my approach using a custom middleware to be able to write Cypress tests while your application is in a specific (fake) date.

— Published: September 7, 2020

Creating a Laravel specific package

Creating a Laravel specific package

In this series of blog posts I try to provide a comprehensive guide toward creating Laravel packages from scratch. This series of posts will guide you through creating a Laravel specific package from scratch including use of facades, configuration, service providers, models, migrations, routes, controllers, views, assets, events and writing tests.

— Published: September 17, 2019

Using promises to indicate progress to waiting users

Using promises to indicate progress to waiting users

Sometimes in your web application you will need to perform some (really) slow tasks. It can be helpful to inform your users that there is some kind of progress while they are waiting. In this post, I want to discuss a possible solution toward creating a progress indicator.

— Published: September 7, 2019

WebSockets in Laravel

WebSockets in Laravel

Recently, the Laravel WebSockets package was released providing an alternative to Pusher for broadcasting over WebSocket technology. In this article, the two implementations are explained using a demo application.

— Published: July 1, 2019