[FOSS pivot] Retire SaaS mode and subscription billing #37
Labels
No labels
app
backlog
bug
ci-cd
contribution welcome
duplicate
enhancement
good first issue
help wanted
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lvl0/dishplanner#37
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
We're pivoting DishPlanner to a single self-hosted FOSS project. The SaaS subscription path (Stripe + Laravel Cashier) won't be monetized, so it's being removed.
Goal
Remove all SaaS/subscription code so the app runs purely self-hosted with a local account.
Delete
app/app/Enums/PlanEnum.phpapp/app/Http/Controllers/SubscribeController.phpapp/app/Http/Controllers/SubscriptionController.phpapp/app/Http/Middleware/RequireSubscription.phpapp/app/Http/Middleware/RequireSaasMode.phpapp/config/pricing.phpapp/routes/web/subscription.phpapp/resources/views/billing/index.blade.phpapp/resources/views/subscribe/form.blade.phpapp/resources/views/subscribe/cancelled.blade.phpapp/resources/views/subscription/index.blade.phpapp/database/migrations/2026_01_06_0005*(6 Cashier migrations)Edit
app/app/Models/Planner.php— dropLaravel\Cashier\Billabletraitapp/app/Providers/AppServiceProvider.php— removeCashier::useCustomerModel()app/bootstrap/app.php— removesaas/subscriptionmiddleware aliases, thethen:block loadingroutes/web/subscription.php, and the Stripe webhook CSRF exclusionapp/routes/web.php— unwrap thesubscriptionmiddleware group; delete/billingand/billing/portalroutesapp/config/services.php— remove thestripeblockapp/composer.json+composer.lock— removelaravel/cashier, regenerate autoloadapp/.env+.env.example— removeSTRIPE_*varsAcceptance criteria
composer remove laravel/cashiersucceeds; grep for Cashier/Stripe/Billable/subscribe is clean