Download the PHP package tourze/salary-manage-bundle without Composer
On this page you can find all versions of the php package tourze/salary-manage-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tourze/salary-manage-bundle
More information about tourze/salary-manage-bundle
Files in tourze/salary-manage-bundle
Package salary-manage-bundle
Short Description 企业薪酬管理 Symfony Bundle - 提供薪资计算、税务处理、社保管理的完整解决方案
License MIT
Informations about the package salary-manage-bundle
Salary Manage Bundle
English
A comprehensive enterprise salary management Symfony Bundle that provides complete solutions for salary calculation, tax processing, and social insurance management.
Features
- 💰 Salary Calculation: Flexible salary calculation engine with configurable rules and support for various pay components
- 🧾 Tax Management: Automated tax calculation with support for multiple tax brackets and regional tax policies
- 🛡️ Social Insurance: Comprehensive social insurance calculation including pension, medical, unemployment, work injury, and maternity insurance
- 📊 Reporting: Advanced reporting system with multiple report types and export capabilities
- 🔄 Workflow: Approval workflow system for salary calculations and payments
- 💳 Payment Processing: Integrated payment processing with multiple payment methods and status tracking
- 📁 Data Import/Export: Flexible data import and export functionality for integration with external systems
- 🎯 Performance Integration: Performance data integration for performance-based salary calculations
- 🕒 Attendance Integration: Attendance data integration for attendance-based salary calculations
Requirements
- PHP ^8.2
- Symfony ^7.3
- Doctrine ORM ^3.0
Installation
Configuration
Enable the bundle in your Symfony application:
Basic Usage
Salary Calculation
Tax Calculation
Social Insurance Calculation
Report Generation
Data Import
Configuration
The bundle provides flexible configuration options:
Entities
Core Entities
- Employee: Employee information and salary details
- PayrollPeriod: Payroll period definition
- SalaryCalculation: Salary calculation results
- SalaryItem: Individual salary components
- TaxBracket: Tax bracket configuration
- TaxResult: Tax calculation results
- SocialInsuranceResult: Social insurance calculation results
- Deduction: Various deduction types
- PaymentRecord: Payment processing records
- ApprovalRequest: Approval workflow requests
Enums
- SalaryItemType: Types of salary items (base, overtime, bonus, etc.)
- DeductionType: Types of deductions (tax, insurance, etc.)
- PaymentStatus: Payment processing status
- PaymentMethod: Payment methods (bank transfer, cash, etc.)
- ApprovalStatus: Approval workflow status
- InsuranceType: Social insurance types
- ReportType: Available report types
Services
Core Services
- SalaryCalculatorService: Main salary calculation engine
- TaxCalculatorService: Tax calculation service
- SocialInsuranceCalculatorService: Social insurance calculation
- ReportGeneratorService: Report generation and export
- ApprovalWorkflowService: Approval workflow management
- PaymentProcessorService: Payment processing
- DataImportExportService: Data import and export
- ExternalSystemService: External system integration
Interfaces
All services implement corresponding interfaces for better testability and flexibility:
SalaryCalculatorInterfaceTaxCalculatorInterfaceSocialInsuranceCalculatorInterfaceReportGeneratorInterfaceApprovalWorkflowInterfacePaymentProcessorInterfaceDataImportExportInterface
Exception Handling
The bundle provides specific exception types for better error handling:
- SalaryCalculationException: Salary calculation errors
- TaxCalculationException: Tax calculation errors
- InsuranceCalculationException: Social insurance calculation errors
- PaymentProcessingException: Payment processing errors
- ApprovalWorkflowException: Approval workflow errors
- DataValidationException: Data validation errors
- DataAccessException: Data access errors
- ReportGeneratorException: Report generation errors
Testing
The bundle includes comprehensive tests:
Integration Examples
EasyAdmin Integration
The bundle provides EasyAdmin integration for quick admin interface setup:
External System Integration
Performance Considerations
- Caching: The bundle uses Symfony cache component for calculation results
- Batch Processing: Support for batch salary calculations
- Lazy Loading: Entities use lazy loading for optimal performance
- Query Optimization: Optimized database queries for large datasets
Security
- Input Validation: All inputs are validated using Symfony validator
- Data Encryption: Sensitive data is encrypted in database
- Access Control: Support for role-based access control
- Audit Trail: Complete audit trail for all operations
Contributing
Please read our contributing guidelines before submitting pull requests.
License
This bundle is licensed under the MIT License. See the LICENSE file for details.
Support
For support and documentation:
- 📚 Documentation
- 🐛 Issue Tracker
- 💬 Discussions
Changelog
See CHANGELOG.md for details about changes in each version.
All versions of salary-manage-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 ^4.1
easycorp/easyadmin-bundle Version ^4
knplabs/knp-menu Version ^3.7
psr/log Version ^3|^2|^1
symfony/cache Version ^7.3
symfony/config Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/doctrine-bridge Version ^7.3
symfony/event-dispatcher Version ^7.3
symfony/form Version ^7.3
symfony/framework-bundle Version ^7.4
symfony/http-foundation Version ^7.4
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/twig-bundle Version ^7.3
symfony/validator Version ^7.3
symfony/yaml Version ^7.3
tourze/bundle-dependency Version 1.*
tourze/easy-admin-menu-bundle Version 1.0.*
tourze/enum-extra Version 1.0.*