Skip to content

Instantly share code, notes, and snippets.

View imran300's full-sized avatar

Imran Shah imran300

View GitHub Profile
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class dashboard extends MY_Controller
{
public function __construct()
{
@imran300
imran300 / Helpers.php
Created May 7, 2021 03:38 — forked from nowendwell/Helpers.php
Laravel Helpers
<?php
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Storage;
/**
* Format phone number to standard US
*
* @param string $data 9161234567
* @return string (916) 123-4567
*/