Skip to content

Instantly share code, notes, and snippets.

View anubra266's full-sized avatar
💥
Playing vscode...

Abraham anubra266

💥
Playing vscode...
View GitHub Profile
@anubra266
anubra266 / Readme.md
Last active January 13, 2021 16:31
Load any file as Text

Load any file as Text

First, install raw-loader:

npm i -D raw-loader

Second, add the loader to your webpack config, for file extensions to load:

// webpack.config.js
@anubra266
anubra266 / CustomAttemptToAuthenticate.php
Created January 10, 2021 23:33
Custom Fortify Login
<?php
namespace App\Actions\Auth;
use Laravel\Fortify\Actions\AttemptToAuthenticate;
use Laravel\Fortify\Fortify;
class CustomAttemptToAuthenticate extends AttemptToAuthenticate
{
@anubra266
anubra266 / Readme.md
Last active February 8, 2025 09:32
Laravel Queue Email Verify and Password Reset Mails

Laravel Queue Email Verify and Password Reset Mails

First step is to overwrite the default methods in your User Model.

NB: We are still using the default Laravel Notifications.

# App/Models/User.php

php