Skip to content

Instantly share code, notes, and snippets.

View aravael's full-sized avatar
🦎
Studying...

aravael aravael

🦎
Studying...
View GitHub Profile
@aravael
aravael / EmailRequest.php
Last active February 24, 2021 12:20 — forked from zerodahero/EmailRequest.php
Laravel 5.4 Comma Separated Email Validation (Transforming Data)
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class EmailRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
@ikwattro
ikwattro / ws-cli.php
Created October 25, 2015 21:58 — forked from ZiTAL/ws-cli.php
php: simple websocket client
<?php
/*
based on: http://stackoverflow.com/questions/7160899/websocket-client-in-php/16608429#16608429
FIRST EXEC PYTHON SCRIPT TO GET HEADERS
*/
$ws = new ws(array
(
'host' => '127.0.0.1',
'port' => 8080,