PHPackages                             apexwire/fetch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. apexwire/fetch

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

apexwire/fetch
==============

A PHP IMAP Library

v0.10.1(9y ago)169BSD-3-ClausePHPPHP &gt;=5.4.0

Since Nov 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ApexWire/Fetch)[ Packagist](https://packagist.org/packages/apexwire/fetch)[ Docs](http://github.com/apexwire/Fetch)[ RSS](/packages/apexwire-fetch/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (16)Used By (0)

Fetch
=====

[](#fetch)

**Fetch это библиотека для чтения электронной почты и вложений, по протоколам POP и IMAP.**

Установка
---------

[](#установка)

Предпочтительный способ установки расширения через [composer](http://getcomposer.org/download/).

Запустить

```
php composer.phar require "apexwire/fetch" : "^0.9.0"
```

или добавить

```
"apexwire/fetch": "^0.9.0"
```

в разделе "require" вашего composer.json

Применение
----------

[](#применение)

Это лишь простой код, чтобы показать, как получить доступ к сообщениям с помощью Fetch. Он использует Fetch собственный автозагрузка, но он может (и должен быть, если это применимо) заменяется генерируемому композитором.

```
    $server = new \Fetch\Server('imap.example.com', 993);
    $server->setAuthentication('dummy', 'dummy');

    $messages = $server->getMessages();
    /** @var $message \Fetch\Message */
    foreach ($messages as $message) {
        echo "Subject: {$message->getSubject()}\nBody: {$message->getMessageBody()}\n";
    }
```

Лицензия
--------

[](#лицензия)

Этот проект был выпущен под лицензией [BSD-3-Clause](LICENSE). Подробнее [тут](http://choosealicense.com/licenses/bsd-3-clause).

Copyright © 2016, ApexWire

Выражение признательности
-------------------------

[](#выражение-признательности)

- Проект является форком [Fetch](https://github.com/tedious/Fetch).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~95 days

Recently: every ~25 days

Total

15

Last Release

3575d ago

PHP version history (2 changes)v0.4.1PHP &gt;=5.3.0

v0.8.0PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/866ad3934a2cf826f100b46746a61649f4d21229a184bb2a9f659323ca74c206?d=identicon)[ApexWire](/maintainers/ApexWire)

---

Top Contributors

[![tedivm](https://avatars.githubusercontent.com/u/121709?v=4)](https://github.com/tedivm "tedivm (162 commits)")[![Lewiscowles1986](https://avatars.githubusercontent.com/u/2605791?v=4)](https://github.com/Lewiscowles1986 "Lewiscowles1986 (22 commits)")[![ApexWire](https://avatars.githubusercontent.com/u/2697129?v=4)](https://github.com/ApexWire "ApexWire (15 commits)")[![Xethron](https://avatars.githubusercontent.com/u/1497338?v=4)](https://github.com/Xethron "Xethron (9 commits)")[![Lumbendil](https://avatars.githubusercontent.com/u/184785?v=4)](https://github.com/Lumbendil "Lumbendil (6 commits)")[![luxifer](https://avatars.githubusercontent.com/u/419078?v=4)](https://github.com/luxifer "luxifer (6 commits)")[![benr77](https://avatars.githubusercontent.com/u/2156742?v=4)](https://github.com/benr77 "benr77 (5 commits)")[![VasuLief](https://avatars.githubusercontent.com/u/4518408?v=4)](https://github.com/VasuLief "VasuLief (4 commits)")[![kevinsmith](https://avatars.githubusercontent.com/u/397904?v=4)](https://github.com/kevinsmith "kevinsmith (3 commits)")[![arabcoders](https://avatars.githubusercontent.com/u/1621552?v=4)](https://github.com/arabcoders "arabcoders (3 commits)")[![ge0ffray](https://avatars.githubusercontent.com/u/810054?v=4)](https://github.com/ge0ffray "ge0ffray (3 commits)")[![littleslicebigcity](https://avatars.githubusercontent.com/u/124756761?v=4)](https://github.com/littleslicebigcity "littleslicebigcity (3 commits)")[![skl](https://avatars.githubusercontent.com/u/514343?v=4)](https://github.com/skl "skl (2 commits)")[![gries](https://avatars.githubusercontent.com/u/417823?v=4)](https://github.com/gries "gries (2 commits)")[![QuingKhaos](https://avatars.githubusercontent.com/u/993350?v=4)](https://github.com/QuingKhaos "QuingKhaos (2 commits)")[![bjornpost](https://avatars.githubusercontent.com/u/48628?v=4)](https://github.com/bjornpost "bjornpost (2 commits)")[![vsychov](https://avatars.githubusercontent.com/u/2186303?v=4)](https://github.com/vsychov "vsychov (2 commits)")[![dangerous](https://avatars.githubusercontent.com/u/419996?v=4)](https://github.com/dangerous "dangerous (1 commits)")[![Olegf13](https://avatars.githubusercontent.com/u/2501447?v=4)](https://github.com/Olegf13 "Olegf13 (1 commits)")[![gpilla](https://avatars.githubusercontent.com/u/5465517?v=4)](https://github.com/gpilla "gpilla (1 commits)")

---

Tags

emailimappop3

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/apexwire-fetch/health.svg)

```
[![Health](https://phpackages.com/badges/apexwire-fetch/health.svg)](https://phpackages.com/packages/apexwire-fetch)
```

###  Alternatives

[php-imap/php-imap

Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)

1.7k12.9M42](/packages/php-imap-php-imap)[tedivm/fetch

A PHP IMAP Library

5061.2M8](/packages/tedivm-fetch)[ddeboer/imap

Object-oriented IMAP for PHP

9153.9M11](/packages/ddeboer-imap)[webklex/php-imap

PHP IMAP client

4365.5M14](/packages/webklex-php-imap)[benhall14/php-imap-reader

A PHP class that makes working with IMAP in PHP simple.

3516.6k](/packages/benhall14-php-imap-reader)[tedivm/dovecottesting

An IMAP Testing Suite

312.2k7](/packages/tedivm-dovecottesting)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
