## Moodle - Block MFavatar

[![CI Status](https://github.com/LdesignMedia/moodle-block_mfavatar/workflows/ci/badge.svg)](https://github.com/LdesignMedia/moodle-block_mfavatar/actions/workflows/ci.yml)

A block plugin that gives users the ability to take a snapshot with a live webcam and set it as their profile picture. Also includes auto-generated avatar support.

## Author
<img src="https://ldesignmedia.nl/themes/ldesignmedia/assets/images/logo/logo.svg" alt="ldesignmedia" height="70px">

* Author: Luuk Verhoeven, [ldesignmedia.nl](https://ldesignmedia.nl/)
* Min. required: Moodle 4.0
* Supports PHP: 8.1+

![Moodle400](https://img.shields.io/badge/moodle-4.0-F98012.svg?logo=moodle)
![Moodle401](https://img.shields.io/badge/moodle-4.1-F98012.svg?logo=moodle)
![Moodle402](https://img.shields.io/badge/moodle-4.2-F98012.svg?logo=moodle)
![Moodle403](https://img.shields.io/badge/moodle-4.3-F98012.svg?logo=moodle)
![Moodle404](https://img.shields.io/badge/moodle-4.4-F98012.svg?logo=moodle)
![Moodle405](https://img.shields.io/badge/moodle-4.5-F98012.svg?logo=moodle)
![Moodle500](https://img.shields.io/badge/moodle-5.0-F98012.svg?logo=moodle)
![Moodle501](https://img.shields.io/badge/moodle-5.1-F98012.svg?logo=moodle)

![PHP81](https://img.shields.io/badge/PHP-8.1-777BB4.svg?logo=php)
![PHP82](https://img.shields.io/badge/PHP-8.2-777BB4.svg?logo=php)

## List of features
- WebRTC, make snapshot with webcam
- Feature for auto-generating user avatars (powered by `laravolt/avatar`)

## Installation
1. Copy this plugin to the `blocks/mfavatar` folder on the server
2. Login as administrator
3. Go to Site Administrator > Notification
4. Install the plugin
5. You will need to fill out the settings

## Security

If you discover any security related issues, please email [luuk@ldesignmedia.nl](mailto:luuk@ldesignmedia.nl) instead of using the issue tracker.

## License

The GNU GENERAL PUBLIC LICENSE. Please see [License File](LICENSE) for more information.

## Contributing

Contributions are welcome and will be fully credited. We accept contributions via Pull Requests on Github.

## Changelog

See [CHANGELOG.md](CHANGELOG.md) for a full list of changes.
