## Alert Demo

##### Success Alert

``` php
alert()->success('SuccessAlert','Lorem ipsum dolor sit amet.');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/alert/SuccessAlert.png" alt="SuccessAlert">
</p>

##### Info Alert

``` php
alert()->info('InfoAlert','Lorem ipsum dolor sit amet.');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/alert/InfoAlert.png" alt="InfoAlert">
</p>

##### Warning Alert

``` php
alert()->warning('WarningAlert','Lorem ipsum dolor sit amet.');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/alert/WarningAlert.png" alt="WarningAlert">
</p>

##### Error Alert

``` php
alert()->error('ErrorAlert','Lorem ipsum dolor sit amet.');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/alert/ErrorAlert.png" alt="ErrorAlert">
</p>

##### Question Alert

``` php
alert()->question('QuestionAlert','Lorem ipsum dolor sit amet.');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/alert/QuestionAlert.png" alt="QuestionAlert">
</p>

##### Image Alert

``` php
alert()->image('Image Title!','Image Description','Image URL','Image Width','Image Height');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/alert/AlertImage.png" alt="ImageAlert">
</p>

##### Html Alert

``` php
alert()->html('<i>HTML</i> <u>example</u>',"
  You can use <b>bold text</b>,
  <a href='//github.com'>links</a>
  and other HTML tags
",'success');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/alert/HtmlAlert.png" alt="HtmlAlert">
</p>

# Toast Demo

> Set the Default Toast Position in `config/sweetalert.php` file OR use the `position()` helper method!

##### Success Toast

``` php
toast('Success Toast','success');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/toast/SuccessToast.png" alt="SuccessToast">
</p>

##### Info Toast

``` php
toast('Info Toast','info');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/toast/InfoToast.png" alt="InfoToast">
</p>

##### Warning Toast

``` php
toast('Warning Toast','warning');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/toast/WarningToast.png" alt="WarningToast">
</p>

##### Question Toast

``` php
toast('Question Toast','question');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/toast/QuestionToast.png" alt="QuestionToast">
</p>

##### Error Toast

``` php
toast('Error Toast','error');
```

<p align="center">
    <img src="https://raw.githubusercontent.com/realrashid/sweet-alert/master/imgs/toast/ErrorToast.png" alt="ErrorToast">
</p>
