package provides a wide range of functionalities that are essential for various laravel projects

v2.0.3 2024-03-30 06:06 UTC

This package is auto-updated.

Last update: 2024-03-30 06:10:25 UTC


README

package provides a wide range of functionalities that are essential for various laravel projects

download

  1. donwload package :
     composer require mekadalibrahem/toolkit
  • for laravel 10 download version ^1
        composer require mekadalibrahem/toolkit=^1
  1. install package :
        php artisan toolkit:install
  2. update your database tables
        php artisan migrate

Enable Verify Email

  1. verify that your App\Models\User model implements the Illuminate\Contracts\Auth\MustVerifyEmail contract:
<?php
 
namespace App\Models;
 
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
 
class User extends Authenticatable implements MustVerifyEmail
{
    use Notifiable;
 
    // ...
}

show more in laravel docs verification

  1. add your mail driver config in .env file
MAIL_MAILER=
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME="${APP_NAME}"

show more about mail in laravel docs mail