Skip to content

Instantly share code, notes, and snippets.

@senowbar
senowbar / ClassName.php
Created August 9, 2018 09:42
Dispatch the request to the application
<?php
namespace App;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
class ClassName
{
public function getData()
@senowbar
senowbar / Aes.php
Created August 5, 2018 12:32
AES encryption and decryption
<?php
class Aes
{
private static $key = 'your_key';
private static $iv = 'your_iv';
public static function encrypt($data)
{