PHPackages                             horde6/activesync - 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. horde6/activesync

ActiveHorde-library

horde6/activesync
=================

ActiveSync server library

01↑2900%PHP

Since May 18Pushed 1mo agoCompare

[ Source](https://github.com/horde6/ActiveSync)[ Packagist](https://packagist.org/packages/horde6/activesync)[ RSS](/packages/horde6-activesync/feed)WikiDiscussions H6 Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Horde ActiveSync Implementation
===============================

[](#horde-activesync-implementation)

AI generated on 2025 april 19th

Overview
--------

[](#overview)

Horde ActiveSync is a robust implementation of the Microsoft Exchange ActiveSync (EAS) protocol, designed to provide synchronization capabilities between mobile devices and email servers. This implementation supports various EAS protocol versions and provides a flexible framework for integrating with different backend systems.

System Architecture
-------------------

[](#system-architecture)

### Core Components

[](#core-components)

1. **ActiveSync Server (`Horde_ActiveSync`)**

    - Main entry point for all ActiveSync operations
    - Handles protocol version negotiation
    - Manages device authentication and state
    - Coordinates between different components
2. **Protocol Handlers**

    - Supports multiple EAS protocol versions (2.5, 12.0, 12.1, 14.0, 14.1, 16.0)
    - Handles protocol-specific features and requirements
    - Manages version-specific headers and responses
3. **State Management**

    - Device state persistence
    - Sync state tracking
    - Policy enforcement
    - Device provisioning
4. **Data Synchronization**

    - Folder hierarchy management
    - Item synchronization
    - Conflict resolution
    - Change tracking

### Key Features

[](#key-features)

- **Multi-Protocol Support**

    - Supports EAS versions 2.5 through 16.0
    - Automatic version negotiation
    - Backward compatibility
- **Security**

    - Device authentication
    - Policy enforcement
    - Remote wipe capabilities
    - Certificate validation
- **Data Synchronization**

    - Email synchronization
    - Calendar synchronization
    - Contact synchronization
    - Task synchronization
    - Notes synchronization
- **Device Management**

    - Device provisioning
    - Policy enforcement
    - Device state tracking
    - Remote wipe capabilities

### Protocol Support

[](#protocol-support)

#### Supported Commands

[](#supported-commands)

- Sync
- SendMail
- SmartForward
- SmartReply
- GetAttachment
- GetHierarchy
- CreateCollection
- DeleteCollection
- MoveCollection
- FolderSync
- FolderCreate
- FolderDelete
- FolderUpdate
- MoveItems
- GetItemEstimate
- MeetingResponse
- Search
- Settings
- Ping
- ItemOperations
- Provision
- ResolveRecipients
- ValidateCert

#### Supported Data Types

[](#supported-data-types)

- Email
- Contacts
- Calendar
- Tasks
- Notes
- SMS

### Integration Points

[](#integration-points)

1. **Backend Driver**

    - Abstract interface for backend integration
    - Customizable authentication
    - Data access layer
2. **State Storage**

    - Device state persistence
    - Sync state management
    - Policy storage
3. **Logging**

    - Flexible logging system
    - Debug capabilities
    - Error tracking

### Security Features

[](#security-features)

1. **Authentication**

    - User authentication
    - Device authentication
    - Domain support
2. **Policy Enforcement**

    - Device policies
    - Security policies
    - Remote wipe capabilities
3. **Data Protection**

    - Secure communication
    - Certificate validation
    - Data encryption

Technical Details
-----------------

[](#technical-details)

### Protocol Versions

[](#protocol-versions)

- 2.5 (6.5.7638.1)
- 12.0
- 12.1
- 14.0
- 14.1
- 16.0

### Data Formats

[](#data-formats)

- WBXML encoding/decoding
- Multipart support
- MIME handling
- Truncation support

### Performance Considerations

[](#performance-considerations)

- Memory usage optimization
- Data truncation options
- Batch processing
- State caching

Integration Guide
-----------------

[](#integration-guide)

### Backend Integration

[](#backend-integration)

1. Implement `Horde_ActiveSync_Driver_Base`
2. Configure authentication
3. Implement data access methods
4. Set up state storage

### Configuration

[](#configuration)

1. Set up logging
2. Configure protocol versions
3. Set security policies
4. Configure device management

Best Practices
--------------

[](#best-practices)

1. **Security**

    - Implement proper authentication
    - Enforce device policies
    - Monitor device access
2. **Performance**

    - Optimize data access
    - Implement proper caching
    - Monitor resource usage
3. **Maintenance**

    - Regular state cleanup
    - Monitor device connections
    - Update security policies

Dependencies
------------

[](#dependencies)

- PHP 7.0 or higher
- Horde Framework
- WBXML support
- SSL/TLS support

License
-------

[](#license)

This software is licensed under the GPLv2 license. See the LICENSE file for details.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance59

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90.9% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee57d378ce751d08aead4b07fa387cdef50434b567400e41946198ebf2fe49f5?d=identicon)[amulet1](/maintainers/amulet1)

---

Top Contributors

[![mrubinsk](https://avatars.githubusercontent.com/u/66822?v=4)](https://github.com/mrubinsk "mrubinsk (3989 commits)")[![yunosh](https://avatars.githubusercontent.com/u/379318?v=4)](https://github.com/yunosh "yunosh (282 commits)")[![slusarz](https://avatars.githubusercontent.com/u/381003?v=4)](https://github.com/slusarz "slusarz (41 commits)")[![ralflang](https://avatars.githubusercontent.com/u/646976?v=4)](https://github.com/ralflang "ralflang (23 commits)")[![amulet1](https://avatars.githubusercontent.com/u/18431541?v=4)](https://github.com/amulet1 "amulet1 (16 commits)")[![TDannhauer](https://avatars.githubusercontent.com/u/6716033?v=4)](https://github.com/TDannhauer "TDannhauer (12 commits)")[![thomasjfox](https://avatars.githubusercontent.com/u/1146758?v=4)](https://github.com/thomasjfox "thomasjfox (11 commits)")[![wrobel](https://avatars.githubusercontent.com/u/10232?v=4)](https://github.com/wrobel "wrobel (6 commits)")[![midahp](https://avatars.githubusercontent.com/u/19747890?v=4)](https://github.com/midahp "midahp (3 commits)")[![renan](https://avatars.githubusercontent.com/u/28046?v=4)](https://github.com/renan "renan (2 commits)")[![Bullja](https://avatars.githubusercontent.com/u/3464071?v=4)](https://github.com/Bullja "Bullja (1 commits)")[![cheese1](https://avatars.githubusercontent.com/u/6437726?v=4)](https://github.com/cheese1 "cheese1 (1 commits)")[![aluxnimm](https://avatars.githubusercontent.com/u/12834530?v=4)](https://github.com/aluxnimm "aluxnimm (1 commits)")[![martament](https://avatars.githubusercontent.com/u/38855494?v=4)](https://github.com/martament "martament (1 commits)")

### Embed Badge

![Health badge](/badges/horde6-activesync/health.svg)

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

PHPackages © 2026

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