This file contains hidden or 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 | |
use App\Workflows\VerifyEmail\VerifyEmailWorkflow; | |
use Illuminate\Support\Facades\Hash; | |
use Illuminate\Support\Facades\Route; | |
use Workflow\WorkflowStub; | |
Route::get('/register', function () { | |
$workflow = WorkflowStub::make(VerifyEmailWorkflow::class); |
This file contains hidden or 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\Workflows\VerifyEmail; | |
use Workflow\ActivityStub; | |
use Workflow\SignalMethod; | |
use Workflow\Workflow; | |
use Workflow\WorkflowStub; | |
class VerifyEmailWorkflow extends Workflow |
This file contains hidden or 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\Workflows\VerifyEmail; | |
use App\Mail\VerifyEmail; | |
use Illuminate\Support\Facades\Mail; | |
use Workflow\Activity; | |
class SendEmailVerificationEmailActivity extends Activity | |
{ |
This file contains hidden or 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\Mail; | |
use Illuminate\Bus\Queueable; | |
use Illuminate\Mail\Mailable; | |
use Illuminate\Mail\Mailables\Content; | |
use Illuminate\Mail\Mailables\Envelope; | |
use Illuminate\Queue\SerializesModels; | |
use Illuminate\Support\Facades\URL; |
This file contains hidden or 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
<a href="{{ $url }}">verification link</a> |
This file contains hidden or 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\Workflows\VerifyEmail; | |
use App\Models\User; | |
use Workflow\Activity; | |
class VerifyEmailActivity extends Activity | |
{ | |
public function execute($email, $password) |
This file contains hidden or 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\Workflows\ConvertVideo; | |
use Workflow\ActivityStub; | |
use Workflow\Workflow; | |
class ConvertVideoWorkflow extends Workflow | |
{ | |
public function execute() |
This file contains hidden or 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\Workflows\ConvertVideo; | |
use FFMpeg\FFMpeg; | |
use FFMpeg\Format\Video\WebM; | |
use Workflow\Activity; | |
class ConvertVideoWebmActivity extends Activity | |
{ |
This file contains hidden or 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\Workflows\InvalidateCache; | |
use Workflow\ActivityStub; | |
use Workflow\Workflow; | |
use Workflow\WorkflowStub; | |
class InvalidateCacheWorkflow extends Workflow | |
{ |
This file contains hidden or 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\Workflows\InvalidateCache; | |
use Illuminate\Support\Facades\Http; | |
use Workflow\Activity; | |
class CheckImageDateActivity extends Activity | |
{ | |
public function execute($url) |
OlderNewer