Giter VIP home page Giter VIP logo

filament-email's Introduction

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads Snyk Security License

Log all outgoing emails in your Laravel project within your Filament panel. You can also resend emails with 1-click in case your recipient hasn't received your email.

Version Compatibility

Plugin Filament Laravel PHP
1.x 3.x 10.x 8.x
1.x 3.x 11.x 8.2 | 8.3

Caution

After update to v1.3.1 or 1.4.0 you need to re-publish and run migrations

php artisan vendor:publish --tag="filament-email-migrations"
php artisan migrate

Installation

You can install the package via composer:

composer require rickdbcn/filament-email

Publish and run the migrations with

php artisan vendor:publish --tag="filament-email-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="filament-email-config"

Register the plugin through your panel service provider:

->plugin(\RickDBCN\FilamentEmail\FilamentEmail::make())

Configuration

use RickDBCN\FilamentEmail\Filament\Resources\EmailResource;
use RickDBCN\FilamentEmail\Models\Email;

return [
    'resource' => [
        'class' => EmailResource::class,
        'model' => Email::class,
        'group' => null,
        'sort' => null,
        'icon' => null,
        'default_sort_column' => 'created_at',
        'default_sort_direction' => 'desc',
        'datetime_format' => 'Y-m-d H:i:s',
        'filter_date_format' => 'Y-m-d',
        'table_search_fields' => [
            'subject',
            'from',
            'to',
            'cc',
            'bcc',
        ],
    ],

    'keep_email_for_days' => 60,

    'label' => null,

    'prune_enabled' => true,

    'prune_crontab' => '0 0 * * *',

    'can_access' => [
        'role' => [],
    ],

    'pagination_page_options' => [
        10, 25, 50, 'all',
    ],

    'attachments_disk' => 'local',
    'store_attachments' => true,

    //Use this option for customize tenant model class
    //'tenant_model' => \App\Models\Team::class,
];

Testing

composer test

Screenshots

E-mail list

Advanced filters

Resend e-mail

Update addresses and resend e-mail

E-mail view with attachments

Credits

License

The MIT License (MIT). Please see License File for more information.

filament-email's People

Contributors

marcogermani87 avatar rickdbcn avatar dependabot[bot] avatar sitenzo avatar atmonshi avatar github-actions[bot] avatar edwink75 avatar mstfkhazaal avatar quasiperfect avatar nilede-bharat avatar jacobtims avatar jeromesiau avatar samuelterra22 avatar torriv83 avatar cooljet84 avatar jcsoriano avatar ryanldy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.