How krishnahoccane/musicdesk-frontend works
MusicDesk.tech is a Laravel storefront and customer portal for selling LabelDesk licenses, with integrated payments, invoicing, license administration, and a license-server API. The main workflow is plan selection and checkout, followed by payment, order fulfillment, invoice issuance, and license access. Customers then manage licensing and billing in the portal; LabelDesk installs activate and check in through the API. Admin and installation capabilities are included. Connections use README statements or sampled source references; unsampled implementation details are not inferred.
Main entry points: CheckoutController.php Checkout · ActivationService.php Domain activation · Admin Site administration · InstallController.php Web installer
Components 26
Storefront and checkout
- Sales site
app/Http/Controllers/PageController.php - Checkout
app/Http/Controllers/CheckoutController.php - Plans and add-ons
app/Models/Plan.php
Orders and payments
- Organisation
app/Models/Organisation.php - Orders
app/Models/Order.php - Order pricing
app/Services/Orders/OrderPricer.php - Gateway manager
app/Payments/GatewayManager.php - Payment gateways
app/Payments/Gateways/StripeGateway.php - Payment webhooks
app/Http/Controllers/WebhookController.php - Invoices
app/Services/Orders/InvoiceService.php - Invoice records
app/Models/Invoice.php
Licensing platform
- License lifecycle
app/Licensing/LicenseService.php - License records
app/Models/License.php - Domain activation
app/Licensing/ActivationService.php - License server API
app/Http/Controllers/Api/LicenseServerController.php - Signed tokens
app/Licensing/LicenseToken.php
Customer and site operations
- Customer portal
app/Http/Controllers/PortalController.php - License actions
app/Http/Controllers/LicenseActionController.php - Site administration
app/Http/Controllers/Admin - Software releases
app/Models/Release.php - Currency service
app/Services/Currency/CurrencyService.php
Installation
- Web installer
app/Http/Controllers/InstallController.php - Installer support
app/Support/Installer/Installer.php - Application settings
app/Support/Settings.php
Other components
- Buyer
- LabelDesk install
Connections 26
- Buyer → Sales site: browses
- Sales site → Checkout: starts checkout
- Checkout → Plans and add-ons: selects plan
app/Http/Controllers/CheckoutController.php - Checkout → Organisation: creates
- Checkout → Orders: creates order
app/Http/Controllers/CheckoutController.php - Checkout → Order pricing: prices purchase
app/Http/Controllers/CheckoutController.php - Checkout → Gateway manager: takes payment
app/Http/Controllers/CheckoutController.php - Gateway manager → Payment gateways: selects driver
app/Payments/GatewayManager.php - Payment webhooks → Orders: updates payment
- Checkout → Invoices: issues invoice
- Invoices → Invoice records: creates record
app/Services/Orders/InvoiceService.php - Checkout → License lifecycle: issues license
- License lifecycle → License records: updates records
app/Licensing/LicenseService.php - Buyer → Customer portal: manages account
- Customer portal → License actions: manages licenses
- License actions → Domain activation: manages domains
app/Http/Controllers/LicenseActionController.php - LabelDesk install → License server API: activates installs
- License server API → Domain activation: checks activation
app/Http/Controllers/Api/LicenseServerController.php - Domain activation → License lifecycle: checks license
app/Licensing/ActivationService.php - Domain activation → Signed tokens: issues token
app/Licensing/ActivationService.php - Site administration → License records: administers licenses
app/Http/Controllers/Admin/LicenseAdminController.php - Site administration → Software releases: manages releases
app/Http/Controllers/Admin/ReleaseAdminController.php - Site administration → Currency service: manages currencies
- Buyer → Web installer: installs site
- Web installer → Installer support: records progress
app/Http/Controllers/InstallController.php - Web installer → Application settings: writes settings
app/Http/Controllers/InstallController.php