User Alert Library |
Hi all! I'm a long-time user with many live CI3 projects. Managing libraries across them got to be almost as much work as each project, so I developed five "zero conf" libraries to add core functions I needed which could be dropped in and used without setup. I never got around to publishing them, but as I rewrite them for CI4 I'll be making them available.
See my first post for the Asset Loader. Now I give you the second library: Tatter/Alerts - "Zero conf" user alerts for CodeIgniter 4 Basic usage: 1. Install: `> composer require tatter/alerts` 2. Load the helper file: `helper("tatter\alerts");` 3. Set an alert: `alert("success", "Widget updated.");` 4. Add the wrapper & alerts to your view: `alerts();` I am eager for feedback, suggestions, and contributions - feel free to respond here or on GitHub (https://github.com/tattersoftware/codeigniter4-alerts). Thanks for reading! |
Messages In This Thread |
User Alert Library - by MGatner - 03-18-2019, 01:18 PM
RE: User Alert Library - by PaulD - 03-18-2019, 01:33 PM
RE: User Alert Library - by MGatner - 03-18-2019, 02:26 PM
RE: User Alert Library - by MGatner - 03-19-2019, 08:15 AM
RE: User Alert Library - by MGatner - 03-25-2019, 01:11 PM
|