Download the PHP package tourze/train-course-bundle without Composer
On this page you can find all versions of the php package tourze/train-course-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package train-course-bundle
train-course-bundle
中文
Training course management bundle for safety production training course lifecycle management.
Table of Contents
- Features
- Installation
- Configuration
- Quick Start
- Available Commands
- Usage Examples
- Advanced Usage
- Dependencies
- Testing
- Security
- Contributing
- License
Features
- Course basic information management (title, description, cover, price, etc.)
- Course category association management
- Course chapter hierarchical structure management
- Multimedia content support (mainly videos)
- Alibaba Cloud VOD video integration and playback
- Course validity period management
- Credit hours statistics and management
- Teacher association management
- Course audit workflow management
- Video playback control (anti-fast-forward, speed limitation, watermark)
- Multi-device playback limitation
Installation
Configuration
Basic Configuration
Configure Alibaba Cloud VOD related environment variables:
Bundle Configuration
Enable the bundle in your Symfony application:
Quick Start
Creating a Course
Getting Video Play URL
Available Commands
train-course:audit
Process course audit tasks with support for automatic approval and timeout detection.
Options:
--dry-run- Dry run mode, only shows what would be processed without execution--auto-approve- Automatically approve qualified courses (requires configuration)
course:backup
Backup course data with support for full and incremental backups.
Options:
--output- Backup file output path (default: var/backup/)--format- Backup format (json|sql, default: json)--incremental- Incremental backup mode
train-course:cleanup
Clean up expired course-related data and cache to maintain system performance.
Options:
--dry-run- Dry run mode, only shows what would be cleaned--force- Force cleanup, skip confirmation prompt--days- Clean up data older than specified days (default: 30)
train-course:statistics
Generate course statistics reports including course count, evaluation statistics, and collection statistics.
Options:
--format- Output format (table|json|csv, default: table)--output- Output file path (optional)--period- Statistics period (day|week|month|year, default: month)
Usage Examples
Course Management
Video Playback Control
Advanced Usage
Course Analytics Integration
Course Configuration Management
Dependencies
This bundle requires the following Symfony components and third-party packages:
Core Dependencies
symfony/framework-bundle: ^7.3doctrine/orm: ^3.0doctrine/doctrine-bundle: ^2.13nesbot/carbon: ^2.72 || ^3
Internal Dependencies
tourze/aliyun-vod-bundle: For Alibaba Cloud VOD integrationtourze/doctrine-snowflake-bundle: For unique ID generationtourze/doctrine-user-bundle: For user management integrationtourze/doctrine-track-bundle: For entity trackingtourze/train-category-bundle: For course category management
Additional Dependencies
tourze/enum-extra: For enhanced enum functionalitytourze/doctrine-helper: For Doctrine utilities
Testing
Run the test suite:
Security
Security Considerations
- Video Access Control: Always verify user permissions before generating video play URLs
- Data Validation: All entity properties are protected with validation constraints
- Input Sanitization: User input is automatically sanitized through Symfony validation
Reporting Security Issues
If you discover a security vulnerability, please send an email to [email protected]. All security vulnerabilities will be promptly addressed.
Access Control
Important Notes
- This bundle focuses on course content management and does not include learning management, user management, or evaluation management features
- Alibaba Cloud VOD functionality requires proper access key configuration
- It's recommended to use STS temporary credentials instead of fixed AccessKey in production environments
- For learning management features, please use other dedicated learning management bundles
Contributing
Please see CONTRIBUTING.md for details.
License
The MIT License (MIT). Please see License File for more information.
References
All versions of train-course-bundle with dependencies
doctrine/collections Version ^2.3
doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^3.0
doctrine/persistence Version ^3.1 || ^4
nesbot/carbon Version ^2.72 || ^3
psr/cache Version ^1.0|^2.0|^3.0
psr/log Version ^3|^2|^1
symfony/cache-contracts Version ^3
symfony/config Version ^6.4
symfony/console Version ^6.4
symfony/dependency-injection Version ^6.4
symfony/doctrine-bridge Version ^6.4
symfony/framework-bundle Version ^6.4
symfony/http-foundation Version ^6.4
symfony/http-kernel Version ^6.4
symfony/routing Version ^6.4
symfony/security-core Version ^6.4
symfony/serializer Version ^6.4
symfony/yaml Version ^6.4 || ^7.1
tourze/aliyun-vod-bundle Version 0.0.*
tourze/arrayable Version 0.0.*
tourze/bundle-dependency Version 0.0.*
tourze/doctrine-indexed-bundle Version 0.0.*
tourze/doctrine-snowflake-bundle Version 0.1.*
tourze/doctrine-track-bundle Version 0.1.*
tourze/doctrine-user-bundle Version 0.0.*
tourze/easy-admin-attribute Version 0.1.*
tourze/symfony-routing-auto-loader-bundle Version 0.0.*
tourze/train-category-bundle Version 0.0.*
tourze/weui-bundle Version 0.0.*