|
| 1 | +# IMAP Library for Laravel |
| 2 | + |
| 3 | +[![Latest Version on Packagist][ico-version]][link-packagist] |
| 4 | +[![Software License][ico-license]](LICENSE.md) |
| 5 | +[![Build Status][ico-travis]][link-travis] |
| 6 | +[![Total Downloads][ico-downloads]][link-downloads] |
| 7 | + |
| 8 | + |
| 9 | +[...] |
| 10 | + |
| 11 | +## Install |
| 12 | + |
| 13 | +Via Composer |
| 14 | + |
| 15 | +``` bash |
| 16 | +$ composer require webklex/laravel-imap |
| 17 | +``` |
| 18 | + |
| 19 | +## Setup |
| 20 | + |
| 21 | +Add the service provider to the providers array in `config/app.php`. |
| 22 | + |
| 23 | +``` php |
| 24 | +'providers' => [ |
| 25 | + Webklex\IMAP\Providers\LaravelServiceProvider::class, |
| 26 | +]; |
| 27 | +``` |
| 28 | + |
| 29 | +## Publishing |
| 30 | + |
| 31 | +You can publish everything at once |
| 32 | + |
| 33 | +``` php |
| 34 | +php artisan vendor:publish --provider="Webklex\IMAP\Providers\LaravelServiceProvider" |
| 35 | +``` |
| 36 | + |
| 37 | +or you can publish groups individually. |
| 38 | + |
| 39 | +``` php |
| 40 | +php artisan vendor:publish --provider="Webklex\IMAP\Providers\LaravelServiceProvider" --tag="config" |
| 41 | +``` |
| 42 | + |
| 43 | +## Usage |
| 44 | + |
| 45 | +[...] |
| 46 | + |
| 47 | +Access the IMAP Client by its Facade (Webklex\IMAP\Facades\Client). |
| 48 | +Therefor you might want to add an alias to the aliases array within the `config/app.php` file. |
| 49 | + |
| 50 | +``` php |
| 51 | +'aliases' => [ |
| 52 | + 'Client' => Webklex\IMAP\Facades\Client::class |
| 53 | +]; |
| 54 | +``` |
| 55 | + |
| 56 | +## Change log |
| 57 | + |
| 58 | +Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. |
| 59 | + |
| 60 | +## Testing |
| 61 | + |
| 62 | +``` bash |
| 63 | +$ composer test |
| 64 | +``` |
| 65 | + |
| 66 | +## Security |
| 67 | + |
| 68 | +If you discover any security related issues, please email [email protected] instead of using the issue tracker. |
| 69 | + |
| 70 | +## Credits |
| 71 | + |
| 72 | +- [Webklex][link-author] |
| 73 | +- All Contributors |
| 74 | + |
| 75 | +## License |
| 76 | + |
| 77 | +The MIT License (MIT). Please see [License File](LICENSE.md) for more information. |
| 78 | + |
| 79 | +[ico-version]: https://img.shields.io/packagist/v/Webklex/laravel-imap.svg?style=flat-square |
| 80 | +[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square |
| 81 | +[ico-travis]: https://img.shields.io/travis/Webklex/laravel-imap/master.svg?style=flat-square |
| 82 | +[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/Webklex/laravel-imap.svg?style=flat-square |
| 83 | +[ico-code-quality]: https://img.shields.io/scrutinizer/g/Webklex/laravel-imap.svg?style=flat-square |
| 84 | +[ico-downloads]: https://img.shields.io/packagist/dt/Webklex/laravel-imap.svg?style=flat-square |
| 85 | + |
| 86 | +[link-packagist]: https://packagist.org/packages/Webklex/laravel-imap |
| 87 | +[link-travis]: https://travis-ci.org/Webklex/laravel-imap |
| 88 | +[link-scrutinizer]: https://scrutinizer-ci.com/g/Webklex/laravel-imap/code-structure |
| 89 | +[link-code-quality]: https://scrutinizer-ci.com/g/Webklex/laravel-imap |
| 90 | +[link-downloads]: https://packagist.org/packages/Webklex/laravel-imap |
| 91 | +[link-author]: https://github.com/webklex |
0 commit comments