laravel/spark-installer
Command-line installer for Laravel Spark. Clone and composer install, add to PATH, then register with your Spark API token. Use spark new to scaffold a new Spark project and run migrations to finish setup.
laravel/spark-installer is a CLI tool designed to streamline the setup of Laravel Spark projects, a SaaS-focused Laravel package. It fits well in architectures where:
spark_users table) may introduce rigidity.spark_users, teams tables)./resources/views/spark, /app/Providers/SparkServiceProvider).users tables or custom auth systems.users table structure).PATH (as per README).spark register $SPARK_API_TOKEN
spark new my-saas-app
php artisan migrate)..env (e.g., SPARK_LICENSE, APP_URL)./resources/views/spark./app/Providers/SparkServiceProvider.php.laravel/framework:v5.8 in Docker).laravel/ui → laravel/jetstream).| Phase | Task | Owner | Dependencies |
|---|---|---|---|
| Discovery | Validate Spark’s necessity vs. alternatives. | PM/Tech Lead | Business requirements |
| Setup | Install CLI, register license. | DevOps/Backend | Spark API token |
| Project Creation | Run spark new, configure .env. |
Backend | License registration |
| Merge | Resolve conflicts (e.g., users table, routes). |
Backend | Database schema review |
| Testing | Validate Spark features (billing, teams, invoices). | QA/Backend | Test data setup |
| Deployment | Integrate with CI/CD (e.g., GitHub Actions). | DevOps | Hosting environment (e.g., Forge) |
| Maintenance | Monitor for Spark/Laravel breaking changes. | PM/Backend | Deprecation notices |
composer require for Spark packages).spark new may reference Spark’s internals (e.g., failed migrations), requiring deep Laravel/Spark knowledge.TableNotFoundException for spark_users").spark new clones repositories and runs Composer, which may be slow for large teams.How can I help you explore Laravel packages today?