I hereby claim:
- I am elshaden on github.
- I am salahabbar (https://keybase.io/salahabbar) on keybase.
- I have a public key ASDTAWKW4LGqsTadk3m0E2bCa_b6XD_sB1zcbEdBEhm9Hwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
namespace App\Containers\Authentication\Actions; | |
use Symfony\Component\HttpFoundation\IpUtils; | |
class IpWhiteList | |
{ |
namespace App\Models\Casts; | |
/* | |
* Usage | |
* | |
* First use the Class | |
* | |
* use App\Models\Casts\EncryptCast; | |
* | |
* | |
* |
class Xml2ArrayClass | |
{ | |
/** | |
* The name of the XML attribute that indicates a namespace definition | |
*/ | |
const ATTRIBUTE_NAMESPACE = 'xmlns'; | |
/** | |
* The string that separates the namespace attribute from the prefix for the namespace | |
*/ |
<script> | |
// This script should be placed in the main layout file ( layouts.app ) | |
// You need to create Livewire component in this case called Theme, | |
// | |
// you only need to set the listener to 'ModeView' see gist of this component | |
// Initial load of the page |
/* | |
* This class is used to convert any API Response which has pagination into standrad Laravel Pagination collection | |
* to use it | |
* $PaginatedResponse = PaginateApiResponsne::paginate($YourAPIResponse); | |
* You will need to change the parameteres in the functin to match your Api response Pagination parameters | |
* | |
*/ | |
use Illuminate\Container\Container; | |
use Illuminate\Pagination\LengthAwarePaginator; |
@push('css') | |
<link rel="stylesheet" href="https://unpkg.com/flickity@2/dist/flickity.min.css"> | |
<style> | |
/* external css: flickity.css */ | |
* { | |
box-sizing: border-box; | |
} |
{{-- Use as A blade omponent in all Steps Views--}} | |
{{-- <div>--}} | |
{{-- <x-wizard-view-component :steps="$steps" >--}} | |
{{-- Welcome Slotted--}} | |
{{-- </x-wizard-view-component>--}} | |
{{-- </div>--}} | |
{{-- That Should do it all --}} | |
<div> |
<?php | |
namespace API\Controllers; | |
use App\Models\User; | |
use DB; | |
use Exception; | |
use Laravel\Passport\Http\Controllers\AccessTokenController as ATC; | |
use Laravel\Passport\Http\Controllers\HandlesOAuthErrors; | |
use Laravel\Passport\TokenRepository; |