Skip to content

Instantly share code, notes, and snippets.

View ahsanmster's full-sized avatar

Digital Waves ahsanmster

View GitHub Profile
<?php
namespace App\Services\Property;
use App\Models\BulkOperationData;
use App\Models\Property\Address;
use App\Models\PropertyLeadStatus;
use App\Services\BulkOperationService;
use Elasticsearch\ClientBuilder;
use Exception;
<?php
namespace App\Console\Commands\RunOnceCommand;
use App\Jobs\ReleasePhoneNumbers;
use App\Models\Setting;
use App\Models\SmsPhoneManager;
use App\Models\SmsPhoneTransactionLog;
use App\Models\TwilioBrandData;
use App\Models\User;
<?php
namespace App\Http\Controllers\Api\DrivingRoute;
use App\Http\Controllers\Controller;
use App\Http\Requests\DrivingRoute\DrivingRouteKpiRequest;
use App\Http\Requests\DrivingRoute\FilterDrivingRoutesRequest;
use App\Models\PropertyLeadStatus;
use App\Services\DrivingRoute\DrivingRouteService;
@ahsanmster
ahsanmster / RequestSkipTraceService.php
Created June 1, 2021 07:59
Format of mapped excel sheet with rows
array:10 [
"mailing_first_name" => "E"
"mailing_last_name" => "F"
"mailing_address" => "I"
"mailing_city" => "J"
"mailing_state" => "K"
"mailing_zip" => "L"
"property_address" => "A"
"property_city" => "B"
"property_state" => "C"
import {Component, OnInit} from '@angular/core';
import {Router} from '@angular/router';
import {CommonFunctions} from '../../../../helpers/common.functions';
import {RequestUrls} from '../../../../helpers/request.urls';
import {RoleCurd} from '../../../../helpers/super-admin/role/role-curd';
declare let $: any;
@Component({
selector: '.m-grid__item.m-grid__item--fluid.m-wrapper',
<template>
<div class="list-new-container">
hello -- {{course.min_value}}
</div>
</template>
<script>
export default {
name: "SingleBuffet",
@ahsanmster
ahsanmster / company.php
Created February 22, 2019 10:28
GIST FOR LARAVEL
<?php
namespace App;
use App\Interfaces\SaveObjectsInterface;
use App\Services\CommonService;
use Illuminate\Database\Eloquent\Model;
class Company extends Model implements SaveObjectsInterface
{
@ahsanmster
ahsanmster / DoctrineExceptionService.php
Created December 5, 2017 12:52
Doctrine Dbal Exception Handling (User Friendly Error Message)
<?php
namespace App\Services;
use Exception;
use Log;
/**
* @param Exception $exception
* @return string