toddy15/spamdetect

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Spam detection for Laravel

[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/toddy15/spamdetect/test.yml?branch=main&label=tests)](https://github.com/toddy15/spamdetect/actions?query=workflow%3Atest+branch%3Amain)
[![Code Climate Coverage](https://img.shields.io/codeclimate/coverage-letter/toddy15/spamdetect)](https://codeclimate.com/github/toddy15/spamdetect)
[![Code Climate Maintainability](https://img.shields.io/codeclimate/maintainability/toddy15/spamdetect)](https://codeclimate.com/github/toddy15/spamdetect)
[![GitHub PHPStan Action Status](https://img.shields.io/github/actions/workflow/status/toddy15/spamdetect/analysis.yml?branch=main&label=PHPStan%20level%209)](https://github.com/toddy15/spamdetect/actions?query=workflow%3Aanalysis+branch%3Amain)
[![License MIT](https://img.shields.io/github/license/toddy15/spamdetect?color=brightgreen)](https://github.com/toddy15/spamdetect/LICENSE.md)

This package provides a naive bayes classifier for Laravel.
This enables you to do statistical spam detection,
for example in a guestbook or contact forms.

The package currently supports Laravel 11, 10, and 9.

## Installation

You can install the package via composer:

```bash
composer require toddy15/spamdetect
```

## Testing

```bash
composer test
```

## Author

- [Dr. Tobias Quathamer](https://github.com/toddy15)