- What is hasan-deeba/larasaas and what problem does it solve?
- hasan-deeba/larasaas is a Laravel package that provides SaaS application scaffolding, giving you a starting point for the common pieces of a subscription-based, multi-tenant Laravel app. Instead of wiring the same foundational setup on every new project, you install the package and build your product on top of its conventions. It is aimed at developers who want speed without abandoning standard Laravel patterns.
- How do I install hasan-deeba/larasaas in a Laravel application?
- Install it with Composer using composer require hasan-deeba/larasaas, then follow the setup steps in the repository README for publishing configuration, migrations, and any service provider registration. Because scaffolding packages often touch the database and config, run the install against a fresh or backed-up environment first. Always confirm the exact commands against the current README rather than relying on older tutorials, since install steps can change between releases.
- Does larasaas support multi-tenancy out of the box?
- The package is explicitly positioned as a starting point for multi-tenant SaaS setups, so tenant-aware structure is part of its scope. The precise implementation details, such as whether tenancy is single-database or database-per-tenant, are defined by the package source and README. Review those before committing, since tenancy architecture is hard to change later in a project.
- Which Laravel versions does hasan-deeba/larasaas support?
- Supported Laravel and PHP versions are declared in the package's composer.json require block and summarised in the README. Check both before installing, and verify the constraints again before upgrading Laravel, because scaffolding packages often depend on framework internals. If your application runs an older or newer major version than the constraints allow, Composer will refuse the install.
- Does larasaas handle subscription billing and payments?
- The package targets subscription-based SaaS applications, but you should confirm in the README exactly which billing concerns it covers versus which are left to you. Many scaffolding packages provide the surrounding structure, such as plans, accounts, and tenant records, while payment processing is delegated to a dedicated billing library. If you need Cashier-style integrations, check for existing support or plan to add it yourself.
- Is hasan-deeba/larasaas safe to use in a production Laravel app?
- As with any scaffolding package, treat it as a foundation to review rather than a black box. Read through the migrations, configuration defaults, and tenant resolution logic before deploying, and make sure authorization boundaries between tenants are tested. Also pin the version in composer.json and check the repository for recent activity and open issues before relying on it in production.
- How does larasaas compare to Laravel Jetstream, Spark, or Tenancy for Laravel?
- Jetstream focuses on authentication and team scaffolding, Spark is a commercial SaaS starter kit, and Tenancy for Laravel specialises in tenant resolution and isolation. hasan-deeba/larasaas sits in the scaffolding space with an emphasis on multi-tenant, subscription-oriented structure using familiar Laravel conventions. Compare the feature lists directly against your requirements, especially around billing, tenant isolation, and admin tooling, before choosing.
- Can I customise the scaffolding once it is installed?
- Yes, the intent of a Laravel scaffolding package is to be modified: you publish its assets and configuration, then adapt controllers, models, and views to your domain. Keep your changes in your application code where possible so future package updates stay straightforward. If you must edit vendor-published files, document those changes so you can reapply them after an upgrade.
- How do I test a Laravel app built with larasaas?
- Use Laravel's standard testing tools, such as PHPUnit or Pest with the built-in HTTP and database testing helpers, to cover tenant-scoped behaviour. Write tests that assert one tenant cannot read or modify another tenant's records, since tenant isolation is the highest-risk area in any multi-tenant app. If the package ships its own test suite, run it locally to confirm your environment matches the supported setup.
- Is hasan-deeba/larasaas actively maintained, and how do I report bugs or request features?
- Check the GitHub repository at github.com/hasan-deeba/larasaas for recent commits, tagged releases, and the status of open issues, since that is the clearest signal of maintenance. Report bugs and feature requests through the repository's issue tracker with your Laravel, PHP, and package versions plus a minimal reproduction. If the project is quiet, budget time to fork or maintain the scaffolding yourself.