Skip to content

Instantly share code, notes, and snippets.

View Tayeb-Ali's full-sized avatar
🏠
Working from home

ELTAYEB ALI aka Fadie Tayeb-Ali

🏠
Working from home
View GitHub Profile
<?php
namespace App\Helpers;
function base64ToArray(string $badWords)
{
$decoded = base64_decode($badWords);
return json_decode($decoded, true);
}
class BannedWordsHelper