Add flash data detection
This release includes a new config option to check for common flash data keys (message
, error
, errors
). This allows Alerts to intercept calls like return redirect()->back()->with('message', 'New widget created');
and display them as library alerts. This enabled by default but can be turned off via the config file, $getflash
.