PHPackages                             tigusigalpa/manus-ai-php - 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. [API Development](/categories/api)
4. /
5. tigusigalpa/manus-ai-php

ActiveLibrary[API Development](/categories/api)

tigusigalpa/manus-ai-php
========================

🚀 Manus AI PHP SDK - Complete library for integration with Manus AI API. Easy integration of Manus AI agent into PHP applications with Laravel support. Task automation, AI agents, file management. Full documentation, code examples, API support.

v1.1.0(4mo ago)132MITPHPPHP ^8.2

Since Nov 12Pushed 2mo agoCompare

[ Source](https://github.com/tigusigalpa/manus-ai-php)[ Packagist](https://packagist.org/packages/tigusigalpa/manus-ai-php)[ Docs](https://github.com/tigusigalpa/manus-ai-php)[ RSS](/packages/tigusigalpa-manus-ai-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Manus AI PHP SDK
================

[](#manus-ai-php-sdk)

 [![Manus AI PHP SDK](https://private-user-images.githubusercontent.com/2721390/513209089-eb30d0e5-3d22-4edb-bb42-dd4e751b5cf4.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUxMjYxOTEsIm5iZiI6MTc3NTEyNTg5MSwicGF0aCI6Ii8yNzIxMzkwLzUxMzIwOTA4OS1lYjMwZDBlNS0zZDIyLTRlZGItYmI0Mi1kZDRlNzUxYjVjZjQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDJUMTAzMTMxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmY2N2QyOTMxNGQ2NzQ1NjI5YmM1NDE3ZjgxNDY0ODhhZDYyZjM0MDRjNDRmNjIxMWRlZjhkYzg4YTgyODc5ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.GmJm0ObZBCtWuH98wnVO6_Q1dYjsV6oN-kAegFs76pE)](https://private-user-images.githubusercontent.com/2721390/513209089-eb30d0e5-3d22-4edb-bb42-dd4e751b5cf4.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUxMjYxOTEsIm5iZiI6MTc3NTEyNTg5MSwicGF0aCI6Ii8yNzIxMzkwLzUxMzIwOTA4OS1lYjMwZDBlNS0zZDIyLTRlZGItYmI0Mi1kZDRlNzUxYjVjZjQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDJUMTAzMTMxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmY2N2QyOTMxNGQ2NzQ1NjI5YmM1NDE3ZjgxNDY0ODhhZDYyZjM0MDRjNDRmNjIxMWRlZjhkYzg4YTgyODc5ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.GmJm0ObZBCtWuH98wnVO6_Q1dYjsV6oN-kAegFs76pE)

**PHP SDK for [Manus AI](https://manus.ai) agent platform — works standalone or with Laravel**

[![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)[![PHP Version](https://camo.githubusercontent.com/b5d4f7901c58ad1ddfff679966f426cc25a9354bab763846b9a7276c2feab4e0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e322d626c7565)](https://www.php.net/)[![Laravel](https://camo.githubusercontent.com/96eb4e217eedaf3bfd6b6dfcdea02676b5e7c77c0cdf1fd22c9fabac0560ead9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d38253743392537433130253743313125374331322d6f72616e6765)](https://laravel.com/)

---

Overview
--------

[](#overview)

A PHP SDK for the [Manus AI](https://manus.ai) platform. Covers the full API: task management, file uploads, webhooks. Includes Laravel service provider, facade, and Artisan commands out of the box.

Built on PHP 8.2+ with type hints, tested with PHPUnit, follows PSR-4/PSR-12.

### Use cases

[](#use-cases)

- **Enterprise apps** — error handling, type safety, structured responses
- **Chatbots** — conversational interfaces via the chat task mode
- **Data processing** — document analysis, report generation, data extraction
- **Workflow automation** — delegate repetitive tasks to the AI agent
- **SaaS products** — embed AI features into your platform
- **Education** — AI-assisted learning tools
- **Mobile backends** — server-side AI processing for mobile apps

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
    - [Basic Usage](#basic-usage)
    - [Task Management](#task-management)
    - [File Management](#file-management)
    - [Webhooks](#webhooks)
    - [Laravel Integration](#laravel-integration)
- [API Reference](#api-reference)
- [Examples](#examples)
- [Testing](#testing)
- [Contributing](#contributing)
- [License](#license)

Features
--------

[](#features)

### Core

[](#core)

- Full Manus AI API coverage — all endpoints implemented
- Task management — create, monitor, update, delete tasks
- File handling — upload, attach (PDF, images, documents), manage
- Webhooks — receive real-time notifications on task lifecycle events
- Multi-model support — Manus 1.6, Lite, and Max

### Laravel

[](#laravel)

- Service provider, facade, dependency injection
- Artisan commands for task management
- Config publishing via `vendor:publish`
- API key management through `.env`

### Quality

[](#quality)

- Error handling with detailed exception messages
- Full PHP 8.2+ type hints (IDE autocomplete, static analysis)
- PHPUnit test suite
- PSR-4 autoloading, PSR-12 code style

### Developer experience

[](#developer-experience)

- Documented methods with examples
- Ready-to-run example scripts
- Helper classes for attachments, agent profiles, webhooks

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- Composer
- Guzzle HTTP client (^7.8)
- Laravel 8+ (optional, for Laravel integration)

Installation
------------

[](#installation)

### 1. Install via Composer

[](#1-install-via-composer)

```
composer require tigusigalpa/manus-ai-php
```

### 2. Get your API key

[](#2-get-your-api-key)

1. Visit [Manus AI](https://manus.im) and create an account
2. Go to [API Integration Settings](http://manus.im/app?show_settings=integrations&app_name=api)
3. Copy your API key

### 3. Quick start

[](#3-quick-start)

```
