First we need Powershell V7 or above You can check your version with
$PSVersionTable.PSVersionIf following version or above appear you good to go
Major Minor Patch PreReleaseLabel BuildLabel
----- ----- ----- --------------- ----------| <?php | |
| use App\Enums\DefaultStatus; | |
| use App\Enums\OrganizationTypes; | |
| use Illuminate\Database\Migrations\Migration; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Support\Facades\Schema; | |
| return new class extends Migration | |
| { |
This guide explains how to integrate Laravel with Soketi using secure WebSocket (WSS) over SSL via Apache. The key is to proxy wss:// connections through Apache with SSL termination, while Soketi itself runs unencrypted on localhost.
Apache with mod_proxy, mod_proxy_http, mod_proxy_wstunnel, and mod_rewrite enabled.
Soketi server running and listening on port 6001.
| Livewire.hook('commit', ({ succeed }) => { | |
| succeed(() => { | |
| Alpine.nextTick(() => $('#select').select2()); | |
| }); | |
| }); |
| <?php | |
| namespace App\Http\Controllers; | |
| use Http; | |
| class HomeController extends Controller | |
| { | |
| use UsingSEO; |
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "version": 2, | |
| "final_space": true, | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "segments": [ | |
| { |
| { | |
| "commandline": "C:\\Program Files\\Git\\bin\\bash.exe", | |
| "guid": "{2cd05161-f869-4bbb-ad20-8ec1977fbdfe}", | |
| "hidden": false, | |
| "icon": "C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico", | |
| "name": "Bash", | |
| "startingDirectory": "E:\\work" | |
| } |
| # To enable Install from "Anywhere" Source | |
| sudo spctl --master-disable |
| /usr/local/bin/php /home/USERNAME/public_html/artisan schedule:run >> /dev/null 2>&1 |
| <?php | |
| function isAndroid() | |
| { | |
| if (isset($_SERVER['HTTP_USER_AGENT'])) { | |
| return strpos($_SERVER['HTTP_USER_AGENT'], 'Android') ? true : false; | |
| } | |
| return false; |