⚠️Alert

we have create a magic class for make a toster alert useing session() the class takes the message and the type and handle it on the frontend.

Using

To use the Alert class it easy at the end of any method you can clickable

return Alert::make(__('Your Message'))->type('success')->fire();

the method has 2 type success , danger to handle response

Last updated