catalysteria/laravel-ussd

USSD application builder for Laravel 8-12 with session continuity

Installs: 23

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Blade

pkg:composer/catalysteria/laravel-ussd

1.1.0 2025-11-21 16:48 UTC

This package is auto-updated.

Last update: 2025-11-24 13:27:20 UTC


README

Laravel 11 package for building state-driven USSD applications with session continuity.

Features

  • State-oriented flow with fluent menu builder
  • Actions for side-effect handling and branching
  • Cache-backed session management with continuity resume option
  • Machine orchestrator with configurable error and retry handling
  • Gateway adapters for common USSD providers
  • Artisan tooling for scaffolding states and actions
  • Comprehensive testing utilities and documentation

Getting Started

  1. Install via Composer:
    composer require catalysteria/laravel-ussd
  2. Publish configuration:
    php artisan vendor:publish --provider="Vendor\\LaravelUssd\\Providers\\LaravelUssdServiceProvider"
  3. Scaffold your first state:
    php artisan ussd:state WelcomeState

See docs/ for detailed usage, or visit the online documentation (once deployed).

Development

Auto-Update Packagist

To automatically update Packagist when you push changes, see Packagist Webhook Setup Guide.

Quick setup options:

  • GitHub Webhook (Recommended): Configure webhook in GitHub repository settings
  • GitHub Actions: Uses the workflow in .github/workflows/packagist-update.yml
  • Manual Script: Run scripts/update-packagist.sh or scripts/update-packagist.bat