Skip to content

Instantly share code, notes, and snippets.

View abdellatif-laghjaj's full-sized avatar
🏠
Working from home

ABDELLATIF LAGHJAJ abdellatif-laghjaj

🏠
Working from home
View GitHub Profile
@abdellatif-laghjaj
abdellatif-laghjaj / Laravel websockets and flutter
Last active April 26, 2023 10:32
Setup laravel websockets with flutter: Listen to event from flutter
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
@abdellatif-laghjaj
abdellatif-laghjaj / laravel_xampp_setup.md
Created July 21, 2022 19:13 — forked from bradtraversy/laravel_xampp_setup.md
Laravel Xampp setup on Mac and Windows

Laravel Xampp Setup (Windows & Mac)

Install Xampp

Install Xampp from https://www.apachefriends.org/index.html

  • Run the Xampp installer and open the Xampp control panel
  • Make sure that you enable the Apache and MySQL services
  • On mac you need to click "Start" on the Home tab, "Enable" on the Network tab and "Mount" on the Location Tab. Click "Explore" on the location tab to open your Xampp/Lampp folder

Install Composer