fluttersdk/magic-starter-laravel
fluttersdk/magic-starter-laravel is a Laravel starter kit that scaffolds a ready-to-use app with sensible defaults, authentication, and common tooling, so you can skip boilerplate and start building features faster.
Start by installing the package and publishing only what you need:
composer require fluttersdk/magic-starter-laravel
php artisan vendor:publish --tag=magic-starter-config
php artisan vendor:publish --tag=magic-starter-migrations
php artisan migrate
Look first at:
composer.json for supported Laravel/PHP versions.config/magic-starter.php, for feature flags, AI quota settings, history/storage settings, and cache token weighting options.A practical first use case is enabling support-attachments, wiring the published support routes/models into your app, and verifying an authenticated user can upload and retrieve a support attachment from the configured disk. Then exercise the AI desk: send a support conversation through the package’s AI endpoint, confirm the quota consumption reflects cache tokens, and verify a stored history summary is created and retrievable for that conversation.
Version 0.0.38 adds two support/AI-desk features: cache tokens are now weighed in the AI quota, and a stored history summary is available for the AI desk. There are no new migration steps called out in the release notes, but confirm this against the full changelog for 0.0.34–0.0.37, which are not detailed in the provided notes.
Treat the package as a feature-flagged starter layer rather than code you edit in vendor/.
support-attachments and any AI-desk flags enabled only in environments where the feature is actually used. This avoids accidental attachment reads and unexpected AI quota consumption.0.0.33 and minor feature releases like 0.0.38 can change internal behavior.0.0.38, cache tokens count toward the AI quota. If you display usage, enforce limits, or estimate cost in your own UI, read the package’s quota values rather than recomputing from raw prompt/completion tokens—otherwise cached prompts will appear “free” in your numbers while the package still charges them.Storage::fake() and set the relevant flags in test config. Assert that attachment reads work when enabled and are skipped or rejected when disabled, and assert quota behaviour with and without cached tokens.php artisan config:clear locally and ensure deployment scripts rebuild config cache.0.0.33 behaviour change: support files are read only when support-attachments is enabled. If your app previously relied on reading support files while that feature was off, enable the flag or guard those reads explicitly.0.0.38. Cache tokens now weigh into quota consumption. Re-check any dashboards, tests, or customer-facing usage counters that assumed cache hits were free; expect higher reported usage for cache-heavy conversations.0.0.38 history summary is stored, not computed on the fly. Decide retention, purge, and privacy handling deliberately—summaries may contain user content and will outlive the request that created them. Do not assume the package cleans them up when a ticket is deleted.support-attachments and the AI quota/history settings are top-level config keys or nested under a features/support array. Use the published config as the source of truth.php artisan config:cache can hide flag and quota changes until cleared. This is a common source of “the fix didn’t apply” confusion.composer.json and review changelogs before upgrading. The provided notes cover only 0.0.37–0.0.38; review the full diff from your installed version, as earlier releases between 0.0.33 and 0.0.38 may also affect behaviour.How can I help you explore Laravel packages today?