This lesson covered some basic steps in displaying different flash message styles in your Laravel apps.
First Step: Creating Flash Message in the Controller
\Session::flash(“name_of_your_flash”, “message_to_display”) is a method used by Laravel to store your message. Add this inside any function in your Controller, where you want to display a Flash. Make sure you place your session after the save/create method.
public function store(OfficeRequest $request)
\Session::flash('flash_message','Office successfully added.'); //<--FLASH MESSAGE
The official docs can be found here.