Install phpredis on macOS Mojave

As of this PR phpredis is the new default client for Laravel v6.0 (and up) Applications, you may be want to install phpredis to test your Application in a real life environment using phpredis instead of predis (which is not getting any activity since a while at the time of writing). UPDATE: Found out that the following command is all […]

Register Auth Routes in Laravel when using ::class for Controllers

Since Freek Van der Herten tweet about the way to register Controllers in Laravel with the ::class (Introduced in PHP 5.5) a while ago I always did it this way. (TL;DR: Go to Solution) As we mostly create APIs I used this when register Routes in `routes/api.php` only. Till Today… When I wanted to set this up, I’d remove the […]

DNS resolve Problems with Guzzle/curl, and php on MacOS for local requests

DNS resolve Problems with Guzzle/curl, and php on MacOS for local requests

I just ran into a Problem where I wanted to request another local Laravel App (guzzle-test.test) from an App with Guzzle. TL;DR Run the following: curl Version mismatch The Problem is caused by curl installed in multiple versions. You can find further details in this Stackoverflow Post:https://stackoverflow.com/questions/54688451/curl-laravel-valet-dnsmasq-not-working/54908305#54908305

Use Github Actions to deploy your App on Laravel Vapor

Use Github Actions to deploy your App on Laravel Vapor

As a full stack developer at novu, I always try to automate workflows. Especially deployments should not have to be executed manually as far as possible. With the release of Laravel Vapor there was no possibility for out of the box to execute the deployment e.g. in case of a push to the master branch. Since Github now offers a […]

Fix Laravel Mix’s “Hot Module Replacement reloading” with HTTPS

Laravel-Mix has a very useful feature called “Hot Module Replacement“. This tries to reload only the parts that have been modified. For example, Vue components are replaced without a page refresh. Especially forms can be developed much more comfortable. If HTTPS is needed for local development, this feature does not work as expected. However, the following changes lead to the […]

A way to enable startup scripts for a Docker Container

While I was setting up a new Image for running a app in a Rancher (v1.6) Cluster I had a real annoying problem. I’m using a php:apache to run a default Laravel app.  The CI/CD Pipeline will deploy all stages like dev, master and feature branches on separate instances. When a Container will be deployed Laravel should also migrate its […]

Provide subscribable calendar with Laravel

For a small event platform for my friends and me, I needed a subscribable calendar for e. g. Google Calendar. I had to pay attention to a few things and find out, so that it behaves correctly. Looking for a suitable package, I found  https://github.com/jasvrcek/ICS which I used for this short guide (thank’s to jasvrcek). Install the package Just install the […]

Laravel Horizon, ext-pcntl and Windows

Update 2: You may want to use Docke for your local development. You could use these Tools: https://vessel.shippingdocker.com/ or https://laragon.org/ Update: As of version 1.0.1 laravel does require ext-posix via composer.json as well. I’ve updated the post to take care of this requirement. As I start using Laravel’s newest package Horizon (Introduced by Taylor Otwell on Medium or at laracon.us) to control […]

Install Imagick for php on Windows

Requirements: PHP is installed and the install location was added to the system PATH environment variable. You can use the current snapshot for testing with PHP 7.2: http://windows.php.net/downloads/pecl/snaps/imagick/3.4.3/ This Guide will show as simple as possible how to install imagik 3.4.3 for PHP 7.1 (Thread Safe, x86). Download imagick for your PHP version from http://pecl.php.net/package/imagick/3.4.3/windows (you can get a nice overview with […]

Working with Laravel and E-Mails

I’m working on a Project, where mails will be sent to users for several reasons. I read about some useful packages for Laravel help handle emails while in dev or test environments. Catch E-Mails and save them into files When you would like to see the generated content of an Email and don’t want to use a real SMTP-Server, where accidentaly emails […]

Scroll to Top