Download the PHP package tourze/server-application-bundle without Composer
On this page you can find all versions of the php package tourze/server-application-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tourze/server-application-bundle
More information about tourze/server-application-bundle
Files in tourze/server-application-bundle
Package server-application-bundle
Short Description 服务端应用管理系统,提供应用模板、实例管理、生命周期控制等功能
License MIT
Informations about the package server-application-bundle
server-application-bundle
中文
Server application management bundle for managing application lifecycle, deployment, and monitoring.
Table of Contents
- Features
- Installation
- Configuration
- Usage
- Core Entities
- Services
- Admin Interface
- Testing
- License
Features
- Application Templates: Define reusable templates for server applications
- Instance Management: Create and manage application instances from templates
- Lifecycle Management: Track application lifecycle events (install, health check, uninstall)
- Port Configuration: Manage application port mappings and configurations
- Execution Steps: Define and track custom execution steps for deployments
- Logging: Comprehensive logging of all lifecycle events and operations
- Multi-node Support: Deploy applications across multiple server nodes
Installation
Configuration
No additional configuration is required. The bundle auto-configures itself using Symfony's autowiring.
Usage
Core Entities
AppTemplate
Defines reusable application templates with configuration, health checks, and execution steps.
AppInstance
Represents an actual instance of an application deployed from a template.
AppLifecycleLog
Tracks all lifecycle events and operations performed on application instances.
Services
- AppTemplateService: Manage application templates
- AppInstanceService: Handle application instance operations
- AppLifecycleLogService: Log and query lifecycle events
- AppPortConfigurationService: Manage port configurations
- AppPortMappingService: Handle port mappings between host and container
- AppExecutionStepService: Manage custom execution steps
Admin Interface
The bundle integrates with EasyAdmin to provide a comprehensive admin interface:
Command Line Interface
Advanced Usage
Custom Execution Steps
Create custom execution steps for complex deployment scenarios:
Health Check Configuration
Configure health checks for your applications:
Environment Variables
Manage environment variables for your applications:
Lifecycle Event Handling
Track and respond to lifecycle events:
Architecture
The bundle follows a service-oriented architecture with:
- Entities: Domain models for templates, instances, logs, etc.
- Repositories: Data access layer with custom query methods
- Services: Business logic layer for operations
- Controllers: Admin interface controllers
- Enums: Type-safe enumerations for statuses and types
Dependencies
- Symfony 6.4+
- PHP 8.1+
- Doctrine ORM 3.0+
- EasyAdmin Bundle 4+
- tourze/server-node-bundle
- tourze/doctrine-timestamp-bundle
- tourze/doctrine-ip-bundle
- tourze/doctrine-track-bundle
- tourze/doctrine-user-bundle
Testing
Run the test suite:
License
MIT License. See LICENSE file for details.
All versions of server-application-bundle with dependencies
doctrine/collections Version ^2.3
doctrine/data-fixtures Version ^2.0
doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^2.13
doctrine/doctrine-fixtures-bundle Version ^4.0
doctrine/orm Version ^3.0
doctrine/persistence Version ^4.1
easycorp/easyadmin-bundle Version ^4
knplabs/knp-menu Version ^3.7
symfony/config Version ^7.3
symfony/console Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/doctrine-bridge Version ^7.3
symfony/form Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-foundation Version ^7.3
symfony/http-kernel Version ^7.3
symfony/messenger Version ^7.3
symfony/property-access Version ^7.3
symfony/routing Version ^7.3
symfony/security-core Version ^7.3
symfony/serializer Version ^7.3
symfony/yaml Version ^7.3
tourze/arrayable Version 1.*
tourze/bundle-dependency Version 1.*
tourze/doctrine-indexed-bundle Version 1.0.*
tourze/doctrine-ip-bundle Version 1.1.*
tourze/doctrine-timestamp-bundle Version 1.1.*
tourze/doctrine-track-bundle Version 1.1.*
tourze/doctrine-user-bundle Version 1.0.*
tourze/easy-admin-menu-bundle Version 1.0.*
tourze/enum-extra Version 1.0.*
tourze/server-node-bundle Version 1.0.*
tourze/symfony-dependency-service-loader Version 1.0.*