How to Use Laravel Snappy with Laragon

laravel 8

Laravel Snappy is a PHP package for Snappy; which allow you to create PDF or image file from a URL or a HTML page. To use Laravel Snappy with Laragon, you need a specific setup for it to work.

At the time of writing, Laravel 8 is the latest version. For this tutorial, I’m using Laragon 4.0.16 with PHP v7.4.14, and Apache 2.4. Without further a due, let start this tutorial.

Continue reading “How to Use Laravel Snappy with Laragon”

How to Fix PHP Extension Fileinfo is Missing in Laragon

laravel 8

When I tried to install a new fresh Laravel 5.7.12 this morning  using CMDer in my Laragon, I encountered this error message:

Problem 1

  • Installation request for league/flysystem 1.0.48 -> satisfiable by league/flysystem[1.0.48].
  • league/flysystem 1.0.48 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.

Problem 2

  • league/flysystem 1.0.48 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
  • laravel/framework v5.7.12 requires league/flysystem ^1.0.8 -> satisfiable by league/flysystem[1.0.48].
  • Installation request for laravel/framework v5.7.12 -> satisfiable by laravel/framework[v5.7.12].

So how to fix this PHP Extension Fileinfo is missingContinue reading “How to Fix PHP Extension Fileinfo is Missing in Laragon”