Giter Club home page Giter Club logo

soer-email-log's Introduction

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

This package provides a Filament resource to view all Laravel outgoing emails. It also provides a Model for the database stored emails.

Installation

You can install the package via composer:

composer require ramnzys/filament-email-log

You can publish and run the migrations with:

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

You can publish the config file with:

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

This is the contents of the published config file:

return [

    'resource' => [
        'group' => null,
        'sort' => null,
    ],

    'keep_email_for_days' => 90,

];

Usage

This package will automatically register the EmailResource. You will be able to see it when you visit your Filament admin panel.

Customization

Group and sort order. You can customize the navigation group for the EmailResource by publishing the configuration file and updating the resource.group and resource.sort values.

Prunable model. You can customize how many days to keep the email in the database by updating the keep_email_for_days value. Then you can use or schedule the command artisan model:prune --model="Ramnzys\FilamentEmailLog\Models\Email". This will delete emails older than keep_email_for_days days old.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Contributions are welcome. Please see CONTRIBUTING for details.

Credits

License

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

soer-email-log's People

Contributors

ramnzys avatar dependabot[bot] avatar thijmenkort avatar github-actions[bot] 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.