PHPackages                             takshak/alertt - 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. [Templating &amp; Views](/categories/templating)
4. /
5. takshak/alertt

ActiveLibrary[Templating &amp; Views](/categories/templating)

takshak/alertt
==============

Laravel alert

1.0.4(4y ago)01.5k12MITPHP

Since Jan 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/takshaktiwari/alertt)[ Packagist](https://packagist.org/packages/takshak/alertt)[ RSS](/packages/takshak-alertt/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (2)

Introduction
============

[](#introduction)

This package has HTML, CSS and some lines of JS and can be used to display notifications / alerts in frontend. This will work without any css frameworks like: Bootstrap, Materialize, etc.

Quick Start
===========

[](#quick-start)

Use given command to import the package in your project

```
composer require takshak/alertt

```

You can use it with a helper function or via facade:

```
alertt()->info('Your notification message goes here');

```

In via Alertt facade

```
\Alertt::info('Your notification message goes here');

```

You can set the parameters during rediretion as well:

```
return redirect('any/url')->withInfo('Your notification message goes here');

OR

return to_route('any/url')->withErrors('Your error message goes here');

```

To display the alertt box you need to add `` component in you layout or any other blade file where required.

Available methods
-----------------

[](#available-methods)

MethodDefaultDescriptioninfo()Display your message in light blue colordanger()Displays message in red colorsuccess()Displays message in light green colorprimary()Displays message in blue colordark()Displays message in black colorwarning()Displays message in yellow colortitle()depends on alert typeSetup the message in header / title section of alert boxfooter()curent timestampSetup the message in footer section of alert boxtimeout()6000Duration in miliseconds, how long will it be displayed to screenAn example of alertt snippent via facade and helper. *All the functions need not to be called. You can setup your own default values and pass only the message.*

```
\Alertt::title('You have a new notification')
	    ->info('Content of message goes here')
	    ->footer('link of the target page')
	    ->timeout(6000);
// or
alert()->title('You have a new notification')
	    ->info('Content of message goes here')
	    ->footer('link of the target page')
	    ->timeout(6000);

```

You can setup the parameters during redirection without using alertt() or \\Alertt. You need to chain all the functions prepending 'with', like:- withSuccess(), withTitle(), withFooter() and so on. Example:

```
return redirect()->route('name.of.route')
			->withTitle('You have a new notification')
		    ->withSuccess('Content of message goes here')
		    ->withFooter('link of the target page')
		    ->withTimeout(6000);

```

Setting default values
----------------------

[](#setting-default-values)

To settup your default header. footer messages, default timeout, positions, will can set it via config file. Or in cany case if you want to change the html / css code you will find the blade file in resources/views/components/alertt.blade.php. First off all publish the configuration file or view file or may be both and try to settup you values.

***You will able to change position, font size. colors and other stuffs from configuration file.***

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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.

###  Release Activity

Cadence

Every ~5 days

Total

5

Last Release

1558d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c20abfe33a88ffe808d63e38e4cbecc9c493458cff8b3d8338ccf846395f57a8?d=identicon)[takshaktiwari](/maintainers/takshaktiwari)

---

Top Contributors

[![takshaktiwari](https://avatars.githubusercontent.com/u/58802422?v=4)](https://github.com/takshaktiwari "takshaktiwari (10 commits)")[![devkumar96](https://avatars.githubusercontent.com/u/71999258?v=4)](https://github.com/devkumar96 "devkumar96 (1 commits)")

---

Tags

laravelnotificationbladealertpanel

### Embed Badge

![Health badge](/badges/takshak-alertt/health.svg)

```
[![Health](https://phpackages.com/badges/takshak-alertt/health.svg)](https://phpackages.com/packages/takshak-alertt)
```

###  Alternatives

[radic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

271321.7k5](/packages/radic-blade-extensions)

PHPackages © 2026

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