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”

Create a Room Booking Using Laravel 6

laravel-6-room-booking-dashboard

In this tutorial, I will share with you guys how to create a room booking system using Laravel 6. I will also use AdminLTE 3 as the dashboard design.

Laravel 6 just release last September 2019 and the latest version now is Laravel 6.3. AdminLTE 3, on the other hand, is only available in the release candidate (RC) version.

You can check this demo site for the final version. You may register for an account to experience a normal user role, or login as superadmin at pisyek dot com with password to see the admin functionalities.

Please note that there also will be an email verification function to validate the registered user account against bots. An email will be sent to newly registered users. Only verified users can access the dashboard page.

As you may notice, the Laravel 6 Room Booking System support multi-role. We will have the Booking Management module, Room Management module, User Management module, and Role Management module.

Without further ado, let’s get to it.

How to do CSV ETL using Laravel 5 and PHP-ETL

laravel 8

I recently work on data analytics and is required to do a lot of ETL from OLTP to OLAP database. I found that this PHP-ETL package can be easily integrated into Laravel 5 application.

You may wonder what is ETL?

ETL is a type of data integration that refers to the three steps (extract, transform, load) used to blend data from multiple sources. It’s often used to build a data warehouse.

During this process, data is taken (extracted) from a source system, converted (transformed) into a format that can be analyzed, and stored (loaded) into a data warehouse or other system (source: Sas.com).

So how to do CSV ETL with Laravel 5?

Continue reading “How to do CSV ETL using Laravel 5 and PHP-ETL”

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”

Pengalaman Berjimba Bersama Laravens di Laratalks #2

laravel 8

Pada Khamis yang lalu, aku berkesempatan menyertai sesi sembang Laravel yang dianjurkan oleh Laravens bertempat di pejabat KERN Technology, Damansara. Meriah betul sesi sembang Laravel ni.

Apa yang menarik?

laratalks-pisyek-02

Laratalks tersebut merupakan penganjuran kali yang kedua. Kali pertama dulu aku tak sempat nak join. Nasib baik yang kedua ni diberikan kesempatan oleh yang Maha Esa untuk join. LOL. Tiga penceramah telah dijemput untuk berkongsi mengenai Laravel. Continue reading “Pengalaman Berjimba Bersama Laravens di Laratalks #2”