Streamit Laravel - Documentation

Streamit Short Drama Add-on Installation Guide

Overview

The Short Drama add-on is a separate plugin for Streamit Laravel Admin Dashboard. It is not included in the main product download. You install it from the admin panel by uploading the add-on ZIP. The main app ships the installer, while the add-on ships the Modules/ShortDrama module, migrations, and frontend bundles.


Requirements

Requirement Details
Main Product Streamit Laravel Admin Dashboard (installed and working)
PHP Same version as Streamit; ext-zip enabled
Upload Limits upload_max_filesize and post_max_size ≥ 50 MB
Host Assets Run npm install && npm run prod
Storage php artisan storage:link
Admin Access Admin role required

What You Receive

  • streamit-laravel-shortdrama-add-on-v*.zip — Full add-on package
  • ZIP must contain ShortDrama/module.json
  • Built files under ShortDrama/Resources/dist/

Installation (Admin Panel)

Step 1 — Log in as Admin

Use an account with the admin role.

Step 2 — Open the Plugin Installer

Menu: Sidebar → System Setting → Plugin

Direct URL:

https://your-domain.com/app/short-drama/installer
    

Example:

http://127.0.0.1:8000/app/short-drama/installer
    

Step 3 — Upload the Add-on ZIP

  1. Upload the full streamit-laravel-shortdrama-add-on-v*.zip.
  2. Only ZIP files are accepted (max 50 MB).
  3. Click Install Add-on.
  4. Wait for the installation process to complete.

Step 4 — Verify Current Status

Check Meaning
Add-on Files Installed Modules/ShortDrama/module.json exists
Module Activated Enabled in modules_statuses.json
Database Ready All tables created successfully
Frontend Assets Ready Assets published correctly
Settings Ready Feature settings available

Demo / Dummy Data

Demo content is not installed automatically. Run the following command after installation:

php artisan short-drama:seed
    

Reset and re-import demo data:

php artisan short-drama:seed --fresh
    

Sync mobile banners:

php artisan short-drama:seed --sync-mobile-banners
    

Troubleshooting

Upload Fails or ZIP Too Large

  • Increase upload_max_filesize and post_max_size to at least 50M.
  • Restart PHP-FPM or Apache.

Database Ready Is Missing

php artisan migrate --path=Modules/ShortDrama/database/migrations --force
    

Menu Not Appearing

  • Verify all status checks show OK.
  • Log in as an admin user.
  • Run cache clear.
php artisan cache:clear
    

Important Notes
  • Requires Streamit Laravel Admin Dashboard.
  • Install via Admin → Plugin.
  • Demo content requires: php artisan short-drama:seed
  • Maximum ZIP upload size: 50 MB.