use Illuminate\Support\Facades\Session; Session::flash('success', 'Your message has been successfully sent!');
use Illuminate\Support\Facades\Session; Session::flash('error', 'Failed to delete the item!');
use Illuminate\Support\Facades\Session; $message = Session::get('success');In the examples above, we used the Session facade to set and retrieve session flash messages. The `flash` method is used to set the message, while the `get` method is used to retrieve it. Overall, the php illuminate.support.facades is a useful package library for working with session flash messages in PHP web applications.