Download the PHP package victorycodedev/toastkit without Composer
On this page you can find all versions of the php package victorycodedev/toastkit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download victorycodedev/toastkit
More information about victorycodedev/toastkit
Files in victorycodedev/toastkit
Package toastkit
Short Description Rich, customizable native toast notifications for NativePHP Mobile.
License MIT
Homepage https://github.com/victorycodedev/toastkit
Informations about the package toastkit
ToastKit for NativePHP Mobile
ToastKit provides rich, customizable native toast notifications for NativePHP Mobile.
Toasts render as native overlays with Jetpack Compose on Android and SwiftUI on iOS, so they look and feel at home on each platform. No Blade component is required.
Features
- Five variants:
success,error,warning,info, andneutral. - Titles, messages, system icons, custom SVG icons, and per-platform icon overrides.
- Standard, platform-native, and expanding dynamic presentations.
- Custom colors, typography, opacity, icon sizes, corner radius, padding, and shadow.
- Entrance and exit animations with configurable direction.
- Determinate progress and indeterminate loading states.
- Live sparse updates with content crossfades.
- Unique keys that prevent duplicate active work.
- One or two action buttons with attached event data.
- Whole-toast press, shown, dismissed, and action events.
- Queue and stack strategies.
- Swipe, close-control, programmatic, and bulk dismissal.
- Fluent PHP and JavaScript APIs.
- NativePHP testing assertions for application tests.
Compatibility
ToastKit 1.x supports PHP 8.4+, NativePHP Mobile 4.7+, Android API 29+, and iOS 18.0+.
ToastKit requires no Android permissions or iOS permission strings and adds no third-party native dependencies.
Documentation
Read the complete documentation at viqecodes.com/opensource/toastkit.
Installation
See the getting started and installation guide.
Quick example
Feature guides
- Creating toasts
- Styling
- Icons and custom SVGs
- Presentations and animation
- Updates and progress
- Unique toasts
- Presets
- Exceptions
- Actions
- Events
- Queue, stack, and dismissal
- JavaScript usage
- Examples
- Testing
- Compatibility and permissions
- API reference
Support
Report bugs, request features, or ask for help through the GitHub issue tracker.
Contributing
Please see the contributing guide.
License
ToastKit is open-source software released under the MIT License.