# PHPFlasher Interactive Studio

Design your perfect notification, customize options, and see it in action

PHPFlasher Studio • Build ID: FL-20250311
Ready
Notification Type
Title Optional
Message Your changes have been saved successfully!

### Configuration Options

Position
Timeout (ms)
Theme
Direction
FPS
RTL Layout
Close Button
Escape HTML
Generated Code

    // Laravel Controller Method Example
    public function store(Request $request)
    {
        // Your logic to process the form
        $result = $this->processData($request->all());

        flash()->success('Your changes have been saved successfully!');

        return redirect()->back();
    }

    // Symfony Controller Method Example
    public function store(Request $request): Response
    {
        // Your logic to process the form
        $result = $this->processData($request->request->all());

        $this->flash()->success('Your changes have been saved successfully!');

        return $this->redirectToRoute('app_homepage');
    }

    // NPM Installation
    // npm install @flasher/flasher --save

    // ES6 Module Import
    import flasher from '@flasher/flasher';

    // Example in React, Vue, or other framework
    function saveData() {
        // API call or data processing
        return apiService.saveData(formData)
            .then(response => {
                flasher.success('Your changes have been saved successfully!');
                return response;
            })
            .catch(error => {
                flasher.error('Failed to save data');
                throw error;
            });
    }

Documentation
GitHub