Skip to content

Commit a8796ce

Browse files
committed
First commit
0 parents  commit a8796ce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4246
-0
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
vendor
2+
composer.lock
3+
psalm.phar
4+
.php_cs.cache
5+
.phpunit.result.cache
6+
.php-cs-fixer.cache

composer.json

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"name": "directorytree/imapengine",
3+
"type": "library",
4+
"description": "A PHP IMAP client",
5+
"keywords": [
6+
"imap",
7+
"mail",
8+
"engine"
9+
],
10+
"homepage": "https://github.com/directorytree/imapengine",
11+
"license": "MIT",
12+
"authors": [
13+
{
14+
"name": "Steve Bauman",
15+
"email": "[email protected]",
16+
"role": "Developer"
17+
}
18+
],
19+
"require": {
20+
"php": "^8.1",
21+
"ext-zip": "*",
22+
"ext-json": "*",
23+
"ext-iconv": "*",
24+
"ext-libxml": "*",
25+
"ext-openssl": "*",
26+
"ext-mbstring": "*",
27+
"ext-fileinfo": "*",
28+
"symfony/mime": ">=6.0",
29+
"nesbot/carbon": ">=2.0",
30+
"illuminate/support": ">=9.0",
31+
"illuminate/pagination": ">=9.0",
32+
"zbateson/mail-mime-parser": "^3.0"
33+
},
34+
"require-dev": {
35+
"laravel/pint": "^1.18",
36+
"pestphp/pest": "^3.7"
37+
},
38+
"autoload": {
39+
"psr-4": {
40+
"DirectoryTree\\ImapEngine\\": "src"
41+
}
42+
},
43+
"autoload-dev": {
44+
"psr-4": {
45+
"Tests\\": "tests"
46+
}
47+
},
48+
"config": {
49+
"allow-plugins": {
50+
"pestphp/pest-plugin": true
51+
}
52+
}
53+
}

license.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
The MIT License (MIT)
2+
Copyright © Steve Bauman
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5+
6+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7+
8+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

phpunit.xml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
>
7+
<testsuites>
8+
<testsuite name="Test Suite">
9+
<directory suffix="Test.php">./tests</directory>
10+
</testsuite>
11+
</testsuites>
12+
<source>
13+
<include>
14+
<directory suffix=".php">./src</directory>
15+
</include>
16+
</source>
17+
</phpunit>

readme.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<h1 align="center">ImapEngine</h1>
2+
3+
<p align="center">Integrate IMAP into your PHP application.</p>
4+
5+
<p align="center">
6+
<a href="https://github.com/directorytree/imapengine/actions"><img src="https://img.shields.io/github/actions/workflow/status/directorytree/imapengine/run-tests.yml?branch=master&style=flat-square"></a>
7+
<a href="https://packagist.org/packages/directorytree/imapengine"><img src="https://img.shields.io/packagist/dt/directorytree/imapengine.svg?style=flat-square"></a>
8+
<a href="https://packagist.org/packages/directorytree/imapengine"><img src="https://img.shields.io/packagist/v/directorytree/imapengine.svg?style=flat-square"></a>
9+
<a href="https://packagist.org/packages/directorytree/imapengine"><img src="https://img.shields.io/packagist/l/directorytree/imapengine.svg?style=flat-square"></a>
10+
</p>
11+
12+
## Description
13+
14+
## Requirements
15+
16+
PHP >= 8.1
17+
18+
## Documentation
19+
20+
## Usage

src/Collections/FolderCollection.php

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace DirectoryTree\ImapEngine\Collections;
4+
5+
use Illuminate\Support\Collection;
6+
7+
class FolderCollection extends Collection {}

0 commit comments

Comments
 (0)