Download the PHP package teguh02/portainer-ce without Composer
On this page you can find all versions of the php package teguh02/portainer-ce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download teguh02/portainer-ce
More information about teguh02/portainer-ce
Files in teguh02/portainer-ce
Download teguh02/portainer-ce
More information about teguh02/portainer-ce
Files in teguh02/portainer-ce
Vendor teguh02
Package portainer-ce
Short Description PHP Library for Portainer Community Edition API - A comprehensive PHP client for managing Docker containers, Kubernetes clusters, and edge computing resources through Portainer CE API
License MIT
Package portainer-ce
Short Description PHP Library for Portainer Community Edition API - A comprehensive PHP client for managing Docker containers, Kubernetes clusters, and edge computing resources through Portainer CE API
License MIT
Please rate this library. Is it a good library?
Informations about the package portainer-ce
Portainer CE PHP Library
A comprehensive PHP library for managing Portainer Community Edition API. This library provides complete access to all Portainer CE features through an easy-to-use repository pattern.
Features
- ✅ Authentication - Login with username/password or OAuth
- ✅ Endpoints Management - Manage Docker and Kubernetes environments
- ✅ Docker Resources - Access dashboard and images
- ✅ Container Management - Start, stop, restart, pause, unpause, remove containers
- ✅ Stack Deployment - Deploy Docker Compose stacks (WordPress, etc.)
- ✅ Kubernetes Management - Manage namespaces, pods, services, ingresses, etc.
- ✅ Edge Computing - Manage edge groups, jobs, and stacks
- ✅ Custom Templates - Create and manage custom templates
- ✅ Backup & Restore - System backup and restore functionality
- ✅ User Management - Manage users and roles
- ✅ Registry Management - Manage Docker registries
- ✅ Settings - Configure Portainer settings
Installation
Requirements
- PHP 7.4 or higher
- GuzzleHTTP 7.0 or higher
- PHP JSON extension
Quick Start
Initialize Client
Managing Endpoints
Managing Docker Resources
Container Management
Stack Deployment (Docker Compose)
Kubernetes Management
Edge Computing
Custom Templates
Backup and Restore
User Management
Registry Management
Settings
Error Handling
The library uses a custom PortainerException for error handling:
Authentication Methods
1. Username/Password Authentication
2. OAuth Authentication
3. Manual Token
4. API Key
Advanced Usage
Custom HTTP Client Options
Check Authentication Status
Repository Pattern
The library uses Repository Pattern to organize API calls:
auth()- Authentication operationsendpoints()- Endpoint managementdocker()- Docker resourcescontainers()- Container management (start, stop, restart, etc.)stacks()- Stack deployment (Docker Compose)kubernetes()- Kubernetes resourcesedgeGroups()- Edge groups managementedgeJobs()- Edge jobs managementedgeStacks()- Edge stacks managementcustomTemplates()- Custom templatesbackup()- Backup and restoreusers()- User managementregistries()- Registry managementsettings()- Settings managementroles()- Role managementendpointGroups()- Endpoint groups management
Examples
Check the examples/ directory for comprehensive usage examples:
basic-usage.php- Basic library usagecontainer-management.php- Container management examplesstack-deployment.php- Stack deployment exampleswordpress-deployment.php- WordPress deployment exampleskubernetes-management.php- Kubernetes management examplesedge-computing.php- Edge computing examplesbackup-restore.php- Backup and restore exampleserror-handling.php- Error handling examples
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Testing
License
This library is licensed under the MIT License.
Support
- 📧 Email: [email protected]
- 📖 Documentation: Portainer API Documentation
- 🐛 Issues: GitHub Issues
Changelog
v1.0.0
- Initial release
- Support for all Portainer CE API endpoints
- Repository pattern implementation
- Comprehensive error handling
- Full documentation
Made with ❤️ for the Portainer community
All versions of portainer-ce with dependencies
PHP Build Version
Package Version
The package teguh02/portainer-ce contains the following files
Loading the files please wait ...