This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//path artisan | |
/var/www/message.heroleads.co.th/html/sendEmail | |
//จากตัวย่าง | |
[program:laravel-worker] | |
process_name=%(program_name)s_%(process_num)02d | |
command=php /home/forge/app.com/artisan queue:work sqs --sleep=3 --tries=3 | |
autostart=true | |
autorestart=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENV. | |
APP_ENV=local | |
APP_DEBUG=true | |
APP_KEY=e2eUQiyS5FnQCLdQdrOXJRINkpNxYOTi | |
APP_TIMEZONE=UTC | |
LOG_CHANNEL=stack | |
LOG_SLACK_WEBHOOK_URL= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object(App\Model\LogInLogOut)#132 (29) { | |
["connection":protected]=> | |
string(7) "mongodb" | |
["collection":protected]=> | |
string(12) "loginlogouts" | |
["primarykey":protected]=> | |
string(3) "_id" | |
["primaryKey":protected]=> | |
string(3) "_id" | |
["keyType":protected]=> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Jobs\VerifyLeadsEveryCampaignEmail as VFR; | |
use App\VerifyLeadsEveryCampaign; | |
class VerifyLeadsEveryCampaignEmailController extends Controller | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{include file="header.tpl" title='Web Administrator'} | |
<div class="ch-container"> | |
<div class="row"> | |
<div class="row"> | |
<div class="col-md-12 center login-header"> | |
<div class="login-logo"> | |
<img src="img/logo-login-bd120de72e198b39aef65a93c5c5ad9d9471b16e0d9aaf0c3f34803b68f0c660.png" alt="Logo login" width="300" height="67"> </div> | |
</div><!--/span--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Get All Lead Forms | |
* | |
* @param request analyticCampaignId | |
* @param optional page, limit | |
*/ | |
public function Response_getCampaignWidget($input) | |
{ | |
$response = array(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<?php $array = [ | |
['2011', 98, '98 calls', 53, '53 forms'], | |
['2012', 151, '151 calls', 34, '34 forms'], | |
['2013', 69, '69 calls', 27, '27 forms'] | |
]; | |
$jsonTable = json_encode($array); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function createFormalEmail(requestCreateFormalEmail $request) | |
{ | |
Mail::send('email.sendCreateFormalEmail', [ | |
"name" => $request->get('name'), | |
"subject_name" => $request->get('subject_name'), | |
"content" => $request->get('content') | |
], function ($message) use ($request){ | |
$message->from($request->get('email_from')); | |
$message->to($request->get('email')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use App\Http\Requests\requestCreateFormalEmail; | |
use App\Http\Requests\requestResetPassword; | |
use Illuminate\Http\Request; | |
use App\ResetPassword; | |
use App\FormalEmail; | |
use Illuminate\Support\Facades\Storage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Events\UserRegistered; | |
class AlphaController extends Controller | |
{ |
OlderNewer