Skip to content

Commit 8d89fb8

Browse files
committed
v1.0.0
0 parents  commit 8d89fb8

28 files changed

+2507
-0
lines changed

.env.example

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Manus AI Configuration
2+
# Get your API key from: http://manus.im/app?show_settings=integrations&app_name=api
3+
4+
# Required: Your Manus AI API Key
5+
MANUS_AI_API_KEY=your-api-key-here
6+
7+
# Optional: Base API URL (default: https://api.manus.ai)
8+
MANUS_AI_BASE_URI=https://api.manus.ai
9+
10+
# Optional: Default agent profile (manus-1.5, manus-1.5-lite, speed, quality)
11+
MANUS_AI_DEFAULT_AGENT_PROFILE=manus-1.5
12+
13+
# Optional: Default task mode (chat, adaptive, agent)
14+
MANUS_AI_DEFAULT_TASK_MODE=agent
15+
16+
# Optional: Default locale (e.g., en-US, zh-CN, ru-RU)
17+
MANUS_AI_DEFAULT_LOCALE=en-US
18+
19+
# Optional: Hide tasks from task list by default
20+
MANUS_AI_HIDE_IN_TASK_LIST=false
21+
22+
# Optional: Create shareable links by default
23+
MANUS_AI_CREATE_SHAREABLE_LINK=false
24+
25+
# Webhook Configuration
26+
MANUS_AI_WEBHOOK_ENABLED=false
27+
MANUS_AI_WEBHOOK_URL=https://your-domain.com/webhook/manus-ai
28+
29+
# Request Timeouts (in seconds)
30+
MANUS_AI_TIMEOUT=30
31+
MANUS_AI_CONNECT_TIMEOUT=10
32+
33+
# Logging
34+
MANUS_AI_LOGGING_ENABLED=false
35+
MANUS_AI_LOG_CHANNEL=default
36+
MANUS_AI_LOG_LEVEL=info

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/vendor/
2+
/node_modules/
3+
/.idea/
4+
/.vscode/
5+
/coverage/
6+
.phpunit.result.cache
7+
.phpunit.cache
8+
composer.lock
9+
.env
10+
.env.testing
11+
*.log
12+
*.cache
13+
.DS_Store
14+
Thumbs.db

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Changelog
2+
3+
All notable changes to `manus-ai-php` will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.0.0] - 2025-01-12
9+
10+
### Added
11+
- Initial release of Manus AI PHP SDK
12+
- Full support for Manus AI API endpoints
13+
- Task management (create, get, list, update, delete)
14+
- File management with upload support
15+
- Webhook integration
16+
- Laravel service provider and facade
17+
- Artisan commands for CLI usage
18+
- Helper classes for attachments and webhooks
19+
- Comprehensive PHPUnit tests
20+
- Complete documentation with examples
21+
- Support for PHP 8.2+
22+
- Support for Laravel 8, 9, 10, 11, and 12
23+
24+
### Features
25+
- `ManusAIClient` - Main client for API interactions
26+
- `TaskAttachment` helper for handling file attachments
27+
- `WebhookHandler` helper for processing webhook events
28+
- Laravel Facade for easy integration
29+
- Artisan commands: `manus-ai:test`, `manus-ai:task`
30+
- Exception handling with custom exceptions
31+
- Type-safe interfaces and contracts
32+
33+
## [Unreleased]
34+
35+
### Planned
36+
- Support for connectors
37+
- Batch task operations
38+
- Enhanced error handling and retry logic
39+
- Event listeners for Laravel
40+
- Queue integration for async operations
41+
- More helper utilities

LICENSE

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

0 commit comments

Comments
 (0)