Skip to content

Advanced

License Management

ProMediClinic includes a comprehensive license management system that ensures proper software licensing, activation, and validation. The system provides secure license verification, domain protection,…

Last updated Aug 19, 2026 · 6 min read

ProMediClinic includes a comprehensive license management system that ensures proper software licensing, activation, and validation. The system provides secure license verification, domain protection, and integrity checking.

🔐 License System Overview

[Placeholder: License management dashboard screenshot]

The license management system provides:

  • License Activation: Secure purchase code validation and activation
  • Domain Protection: License tied to specific domains
  • Integrity Checking: Code integrity validation and monitoring
  • Health Monitoring: License health checks and validation
  • Security Features: Advanced security and tampering detection

🎯 License Activation

Purchase Code Validation

[Placeholder: License activation interface screenshot]

Activation Process

  1. Enter Purchase Code: Input your CodeCanyon purchase code
  2. Domain Verification: Verify domain ownership
  3. Server Validation: Validate with license server
  4. Activation Confirmation: Confirm successful activation

Purchase Code Format

Example: 12345678-1234-1234-1234-123456789012

Finding Your Purchase Code

  • Log into your CodeCanyon account
  • Navigate to "Downloads" section
  • Find ProMediClinic in your downloads
  • Copy the purchase code

License Verification

[Placeholder: License verification interface screenshot]

Verification Features

  • Real-time Validation: Continuous license validation
  • Server Communication: Secure communication with license servers
  • Caching System: Efficient license status caching
  • Fallback Mechanisms: Offline validation capabilities

Validation Process

  • API Communication: Secure API calls to license server
  • Response Validation: Validate server responses
  • Status Caching: Cache validation results
  • Error Handling: Handle validation errors gracefully

🛡️ Security Features

Code Integrity Checking

[Placeholder: Integrity checking interface screenshot]

Integrity Validation

  • File Verification: Verify critical application files
  • Hash Validation: Validate file integrity using hashes
  • Tampering Detection: Detect unauthorized modifications
  • Middleware Validation: Verify middleware registration

Critical Files Monitored

  • app/Services/LicenseCore.php
  • app/Http/Middleware/LicenseGuard.php
  • app/Http/Controllers/LicenseController.php
  • app/Http/Kernel.php
  • config/license.php

Suspicious Pattern Detection

  • Bypass Attempts: Detect license bypass attempts
  • Code Modifications: Identify unauthorized code changes
  • Debug Code: Detect debug or test code
  • Security Violations: Identify security violations

Domain Protection

[Placeholder: Domain protection settings screenshot]

Domain Binding

  • Primary Domain: License bound to primary domain
  • Subdomain Support: Support for subdomains
  • Development Domains: Local development domain support
  • Domain Validation: Continuous domain validation

Protection Features

  • Domain Verification: Verify domain ownership
  • Transfer Protection: Prevent unauthorized transfers
  • Multi-domain Support: Support for multiple domains
  • Domain History: Track domain changes

🔍 License Health Monitoring

Health Check System

[Placeholder: License health dashboard screenshot]

Health Metrics

  • License Status: Current license validity
  • API Connectivity: License server connectivity
  • Validation Success Rate: Validation success percentage
  • Error Rates: License validation error rates

Monitoring Features

  • Real-time Monitoring: Continuous health monitoring
  • Alert System: Automated alerts for issues
  • Performance Metrics: License system performance
  • Usage Statistics: License usage tracking

Validation Service

[Placeholder: Validation service interface screenshot]

Comprehensive Validation

The system performs 10 comprehensive validation checks:

  1. License Key Existence: Verify license key exists
  2. License Key Format: Validate license key format
  3. Domain Consistency: Check domain consistency
  4. API Connectivity: Test license server connectivity
  5. Server Validation: Full server-side validation
  6. Code Integrity: Verify application integrity
  7. Tampering Detection: Detect potential tampering
  8. Rate Limiting Protection: Prevent abuse
  9. Cache Validation: Verify cache functionality
  10. Database Consistency: Check database integrity

Validation Results

  • Overall Status: Pass/fail status
  • Detailed Errors: Specific error messages
  • Warnings: Non-critical warnings
  • Recommendations: Improvement suggestions

⚙️ License Configuration

Configuration Settings

[Placeholder: License configuration interface screenshot]

API Configuration

'api' => [
    'base_url' => 'https://api.softentra.com',
    'item_id' => '44591081',
    'timeout' => 10,
],

Validation Settings

'validation' => [
    'cache_duration_days' => 1,
    'skip_local_development' => true,
    'max_validation_attempts_per_ip' => 10,
    'validation_attempt_window_minutes' => 5,
],

Security Settings

'domain_protection' => [
    'strict_mode' => false,
],
'development' => [
    'bypass_validation' => false,
],

Environment Variables

Required Environment Variables

LICENSE_API_URL=https://api.softentra.com
LICENSE_ITEM_ID=44591081
LICENSE_API_TIMEOUT=10
LICENSE_CACHE_DURATION_DAYS=1
LICENSE_SKIP_LOCAL_DEVELOPMENT=true
LICENSE_MAX_VALIDATION_ATTEMPTS_PER_IP=10
LICENSE_VALIDATION_ATTEMPT_WINDOW_MINUTES=5
LICENSE_DOMAIN_STRICT_MODE=false
LICENSE_BYPASS_VALIDATION=false

🔧 License Management Commands

Artisan Commands

License Health Check

php artisan license:ping
  • Performs comprehensive license health check
  • Shows detailed validation results
  • Provides recommendations
  • Displays statistics

License Integrity Test

php artisan license:test-integrity
  • Tests license system integrity
  • Validates all components
  • Checks configuration
  • Reports issues

Security Integrity Test

php artisan security:test-integrity
  • Tests application security integrity
  • Validates critical files
  • Checks middleware registration
  • Verifies configuration

Command Options

Detailed Output

php artisan license:ping --detailed
php artisan license:test-integrity --detailed
php artisan security:test-integrity --detailed

Force Validation

php artisan license:ping --force
  • Bypasses cache for fresh validation
  • Forces API communication
  • Updates validation results

📊 License Analytics

Usage Statistics

[Placeholder: License analytics dashboard screenshot]

Performance Metrics

  • Validation Success Rate: Percentage of successful validations
  • API Response Time: Average API response time
  • Cache Hit Rate: Cache effectiveness
  • Error Frequency: Frequency of validation errors

Usage Patterns

  • Validation Frequency: How often validation occurs
  • Peak Usage Times: When validation is most active
  • Geographic Distribution: Where validations occur
  • Domain Usage: License usage by domain

Reporting Features

[Placeholder: License reports interface screenshot]

Standard Reports

  • License Status Report: Current license status
  • Validation History: Historical validation data
  • Error Analysis: Analysis of validation errors
  • Performance Report: License system performance

Custom Reports

  • Custom Metrics: Define custom license metrics
  • Scheduled Reports: Automated report generation
  • Export Options: Export reports in various formats
  • Dashboard Integration: Add reports to dashboards

🚀 Advanced Features

Obfuscation and Protection

[Placeholder: License protection features screenshot]

Code Obfuscation

  • License Key Obfuscation: Hide license keys in code
  • API Endpoint Protection: Protect API endpoints
  • Validation Logic Protection: Protect validation logic
  • Security Layer: Additional security layers

Anti-Tampering

  • File Integrity Monitoring: Monitor file changes
  • Runtime Protection: Runtime tampering detection
  • Code Signing: Digital code signing
  • Checksum Validation: File checksum validation

Integration Features

[Placeholder: License integration interface screenshot]

Third-Party Integration

  • License Server Integration: Custom license servers
  • Analytics Integration: License usage analytics
  • Monitoring Integration: System monitoring integration
  • Alert Integration: Alert system integration

API Access

  • License API: Programmatic license access
  • Webhook Support: License event webhooks
  • REST API: RESTful license API
  • GraphQL Support: GraphQL license queries

🎯 Best Practices

License Management

  • Regular Validation: Perform regular license checks
  • Monitor Health: Monitor license system health
  • Update Configuration: Keep license configuration current
  • Document Changes: Document license changes

Security

  • Secure Storage: Store license data securely
  • Access Control: Limit license management access
  • Audit Trails: Maintain license audit trails
  • Incident Response: Have incident response plans

Performance

  • Cache Optimization: Optimize license caching
  • API Efficiency: Minimize API calls
  • Error Handling: Handle errors gracefully
  • Monitoring: Monitor license system performance

🆘 Troubleshooting

Common Issues

License Activation Failed:

  • Verify purchase code format
  • Check internet connection
  • Ensure domain is accessible
  • Contact support if issues persist

Validation Errors:

  • Check license configuration
  • Verify API connectivity
  • Review error logs
  • Test with force validation

Integrity Violations:

  • Check file permissions
  • Verify file integrity
  • Review system logs
  • Restore from backup if needed

Getting Help

  1. Check Documentation: Review this guide
  2. Run Health Checks: Use license health check commands
  3. Contact Support: Reach out to our support team
  4. Community Forums: Ask questions in our community

Related Documentation:

← All ProMediClinic – Clinic Management & Appointment Booking Software for Healthcare Practices documentation

We use cookies to understand how visitors use this site. Cookie Policy