PHPackages                             kukrik/qcubed-apptoast - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kukrik/qcubed-apptoast

ActiveQcubed-library[Utility &amp; Helpers](/categories/utility)

kukrik/qcubed-apptoast
======================

QCubed-4 plugin for AppToast component

01↑2900%JavaScript

Since Jul 1Pushed todayCompare

[ Source](https://github.com/kukrik/qcubed-apptoast)[ Packagist](https://packagist.org/packages/kukrik/qcubed-apptoast)[ RSS](/packages/kukrik-qcubed-apptoast/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

QCubed AppToast Plugin
======================

[](#qcubed-apptoast-plugin)

AppToast for QCubed-4
---------------------

[](#apptoast-for-qcubed-4)

The **AppToast plugin** is a lightweight wrapper around the excellent **Toastify JS** library, allowing developers to display elegant toast notifications in QCubed-4 applications.

Unlike many existing QCubed plugins, this component demonstrates that **QCubed-4 can seamlessly integrate modern Vanilla JavaScript libraries**, without relying on jQuery.

The plugin provides a simple QCubed API while Toastify JS handles rendering, animations, and toast stacking.

[![AppToast screenshot](screenshot/app-toast.png?raw=true)](screenshot/app-toast.png?raw=true)

---

Features
--------

[](#features)

- Wrapper around the Toastify JS library
- No jQuery dependency
- Lightweight and reusable
- Supports success, warning, error and info notifications
- Configurable duration, position, gravity and offset
- Compatible with **PHP 8.3+**

---

Credits
-------

[](#credits)

This plugin uses the open source **Toastify JS** library created by **Apoorv Varun**.

GitHub:

Documentation &amp; examples:

---

Requirements
------------

[](#requirements)

- **PHP 8.3 or newer**
- **QCubed-4**

---

Installation
------------

[](#installation)

This plugin is installed via Composer:

```
composer require kukrik/qcubed-apptoast
```

Basic usage
-----------

[](#basic-usage)

```
$this->objToast = new AppToast($this);

$this->objToast->Type = 'warning';
$this->objToast->Position = 'center';
$this->objToast->Text = 'Please enter at least 3 characters.';

// Display the toast notification
$this->objToast->showToast();
```

### Example

[](#example)

```
protected function btnSearch_Click(ActionParams $params): void
{
    $this->objToast->Type = 'warning';
    $this->objToast->Text = 'Please enter at least 3 characters.';
    $this->objToast->showToast();
}
```

Available toast types:

- `success`
- `warning`
- `error`
- `info`

AppToast is a reusable notification component for QCubed-4. It can be used throughout the application for validation messages, Ajax callbacks, success notifications, and error reporting.

###  Health Score

21

↑

LowBetter than 18% of packages

Maintenance65

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fa54a368b30d867f78261c26bffe0198ff3bd0e13d14b82dcd0b6586bcd53b6?d=identicon)[kukrik](/maintainers/kukrik)

---

Top Contributors

[![kukrik](https://avatars.githubusercontent.com/u/2853034?v=4)](https://github.com/kukrik "kukrik (3 commits)")

### Embed Badge

![Health badge](/badges/kukrik-qcubed-apptoast/health.svg)

```
[![Health](https://phpackages.com/badges/kukrik-qcubed-apptoast/health.svg)](https://phpackages.com/packages/kukrik-qcubed-apptoast)
```

###  Alternatives

[phayes/geophp

GeoPHP is a open-source native PHP library for doing geometry operations. It is written entirely in PHP and can therefore run on shared hosts. It can read and write a wide variety of formats: WKT (including EWKT), WKB (including EWKB), GeoJSON, KML, GPX, GeoRSS). It works with all Simple-Feature geometries (Point, LineString, Polygon, GeometryCollection etc.) and can be used to get centroids, bounding-boxes, area, and a wide variety of other useful information.

89010.5M26](/packages/phayes-geophp)[saloonphp/pagination-plugin

Official Pagination Plugin For Saloon v3

102.0M102](/packages/saloonphp-pagination-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
