How callismartltd/smart-license-server works
Smart License Server privately hosts software and manages its distribution, licenses, and monetization across standalone, WordPress, and CLI environments. The principal workflow is an administrator or API client submitting hosted-app or license operations, which reach domain controllers and result in managed app files and license records; customers then use the client portal and download/update services. The graph also preserves the documented security, analytics, email, caching, and asynchronous-work capabilities. README and the tree establish these product areas; sampled excerpts support only selected controller, middleware, and queue relationships.
Main entry points: Admin Admin interface · RESTAPI Versioned REST API · HostingController.php Hosted app control · Jobs Async job handlers
Components 25
Application entry
- Web environments
src/Environments/Application - WordPress environment
src/Environments/WordPress - CLI environment
src/Environments/Application/CLI - HTTP middleware
src/Environments/Application/Web/MiddlewarePipeline.php - Versioned REST API
src/RESTAPI - Admin interface
src/Admin
Hosting and licensing
- Hosted app control
src/HostedApps/HostingController.php - Hosted app service
src/HostedApps/HostedApplicationService.php - App repositories
src/FileSystem - File delivery
src/FileSystem/DownloadsApi - Licenses and pricing
src/Monetization - Payment integrations
src/Monetization/Providers
Accounts and clients
- Client dashboard
src/ClientDashboard - Identity and access
src/Security
Operations and integrations
- Usage analytics
src/Analytics - Email delivery
src/Email - Cache adapters
src/Cache - Settings
src/SettingsAPI
Background work
- Job queue
src/Background/Queue - Workers and scheduler
src/Background/Workers - Async job handlers
src/Background/Jobs - Database job storage
src/Background/Queue/Adapters/DatabaseJobStorageAdapter.php
Other components
- Administrator
- Customer
- API client
Connections 26
- Administrator → Web environments: uses admin UI
- Customer → Web environments: uses portal
- API client → Versioned REST API: calls API
- Web environments → HTTP middleware: runs requests through
- WordPress environment → Admin interface: provides admin
- WordPress environment → Versioned REST API: provides REST
- CLI environment → Job queue: manages jobs
- HTTP middleware → Identity and access: enforces access
- Versioned REST API → Hosted app control: handles app operations
- Versioned REST API → Licenses and pricing: handles license operations
- Admin interface → Hosted app control: manages hosted apps
- Admin interface → Licenses and pricing: manages licenses
- Hosted app control → Hosted app service: looks up apps
- Hosted app control → App repositories: manages app files
- File delivery → App repositories: serves hosted files
- Licenses and pricing → Payment integrations: uses provider integrations
- Customer → Client dashboard: uses account portal
- Client dashboard → Identity and access: uses identity and access
- Admin interface → Usage analytics: views usage
- Admin interface → Settings: configures services
- Settings → Cache adapters: configures adapters
- Workers and scheduler → Job queue: dispatches and claims
- Job queue → Database job storage: persists jobs
- Workers and scheduler → Async job handlers: runs jobs
- Async job handlers → Email delivery: sends notifications
- Async job handlers → Usage analytics: records and prunes usage