Skip to content

Commit

Permalink
Username Changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid committed Nov 26, 2017
1 parent d93a420 commit 3f70a10
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 35 deletions.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "rashidali05/sweet-alert",
"name": "realrashid/sweet-alert",
"description": "SweetAlert2 for Laravel 5.x by Rashid Ali",
"authors": [{
"name": "Rashid Ali",
"email": "rashidali.pk99@gmail.com"
"email": "realrashid05@gmail.com"
}],
"license": "MIT",
"require": {
Expand All @@ -12,10 +12,10 @@
},
"autoload": {
"psr-0": {
"RashidAli05\\SweetAlert\\": "src/"
"RealRashid\\SweetAlert\\": "src/"
},
"files": [
"src/RashidAli05/SweetAlert/functions.php"
"src/RealRashid/SweetAlert/functions.php"
]
},
"extra": {
Expand All @@ -24,10 +24,10 @@
},
"laravel": {
"providers": [
"RashidAli05\\SweetAlert\\SweetAlertServiceProvider"
"RealRashid\\SweetAlert\\SweetAlertServiceProvider"
],
"aliases": {
"Alert": "RashidAli05\\SweetAlert\\Facades\\Alert::class"
"Alert": "RealRashid\\SweetAlert\\Facades\\Alert::class"
}
}
},
Expand Down
44 changes: 22 additions & 22 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center">
<a href="https://packagist.org/packages/rashidali05/sweet-alert"><img src="https://poser.pugx.org/rashidali05/sweet-alert/d/total.svg" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/rashidali05/sweet-alert"><img src="https://poser.pugx.org/rashidali05/sweet-alert/v/stable.svg" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/rashidali05/sweet-alert"><img src="https://poser.pugx.org/rashidali05/sweet-alert/license.svg" alt="License"></a>
<a href="https://packagist.org/packages/realrashid/sweet-alert"><img src="https://poser.pugx.org/realrashid/sweet-alert/d/total.svg" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/realrashid/sweet-alert"><img src="https://poser.pugx.org/realrashid/sweet-alert/v/stable.svg" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/realrashid/sweet-alert"><img src="https://poser.pugx.org/realrashid/sweet-alert/license.svg" alt="License"></a>
</p>

# Introduction
Expand All @@ -11,33 +11,33 @@ A BEAUTIFUL, RESPONSIVE, CUSTOMIZABLE, ACCESSIBLE (WAI-ARIA) REPLACEMENT FOR JAV
ZERO DEPENDENCIES

<p align="center">
<img src="https://github.com/rashidali05/sweet-alert/blob/master/imgs/intro.PNG" alt="">
<img src="https://github.com/realrashid/sweet-alert/blob/master/imgs/intro.PNG" alt="">
</p>

# Install

To get started with SweetAlert, use Composer to add the package to your project's dependencies:

```
composer require rashidali05/sweet-alert
composer require realrashid/sweet-alert
```

## Configuration

After installing the SweetAlert library, register the `RashidAli05\SweetAlert\SweetAlertServiceProvider::class` in your `config/app.php` configuration file:
After installing the SweetAlert library, register the `RealRashid\SweetAlert\SweetAlertServiceProvider::class` in your `config/app.php` configuration file:

```php
'providers' => [
// Other service providers...

RashidAli05\SweetAlert\SweetAlertServiceProvider::class,
RealRashid\SweetAlert\SweetAlertServiceProvider::class,
],
```

Also, add the `SweetAlert` facade to the `aliases` array in your `app` configuration file:

```php
'Alert' => RashidAli05\SweetAlert\Facades\Alert::class,
'Alert' => RealRashid\SweetAlert\Facades\Alert::class,
```

> Note, there is a alert() function available, so unless you really want to use the Facade, there's no need to include it.
Expand Down Expand Up @@ -107,7 +107,7 @@ in view
```

<p align="center">
<img src="https://github.com/rashidali05/sweet-alert/blob/master/imgs/basic-msg.PNG" alt="">
<img src="https://github.com/realrashid/sweet-alert/blob/master/imgs/basic-msg.PNG" alt="">
</p>


Expand Down Expand Up @@ -136,7 +136,7 @@ in view
```

<p align="center">
<img src="https://github.com/rashidali05/sweet-alert/blob/master/imgs/intro.PNG" alt="">
<img src="https://github.com/realrashid/sweet-alert/blob/master/imgs/intro.PNG" alt="">
</p>

A message with auto close timer!
Expand Down Expand Up @@ -169,7 +169,7 @@ in view
```

<p align="center">
<img src="https://github.com/rashidali05/sweet-alert/blob/master/imgs/auto-close.PNG" alt="">
<img src="https://github.com/realrashid/sweet-alert/blob/master/imgs/auto-close.PNG" alt="">
</p>

Custom HTML description and buttons!
Expand All @@ -179,7 +179,7 @@ in controller
```php
alert()->flash('<i>HTML</i> <u>example</u>', 'info',[
'html' => "You can use <b>bold text</b>, \
<a href='https://github.com/rashidali05/'>links</a> \
<a href='https://github.com/realrashid/'>links</a> \
and other HTML tags",
'showCloseButton' => true
]);
Expand All @@ -201,7 +201,7 @@ in view
```

<p align="center">
<img src="https://github.com/rashidali05/sweet-alert/blob/master/imgs/html-elements.PNG" alt="">
<img src="https://github.com/realrashid/sweet-alert/blob/master/imgs/html-elements.PNG" alt="">
</p>

A warning message, with a function attached to the "Confirm"-buttons!
Expand Down Expand Up @@ -248,13 +248,13 @@ in view
```

<p align="center">
<img src="https://github.com/rashidali05/sweet-alert/blob/master/imgs/delete.PNG" alt="">
<img src="https://github.com/realrashid/sweet-alert/blob/master/imgs/delete.PNG" alt="">
</p>

After clicked Yes, delete it!

<p align="center">
<img src="https://github.com/rashidali05/sweet-alert/blob/master/imgs/deleted.PNG" alt="">
<img src="https://github.com/realrashid/sweet-alert/blob/master/imgs/deleted.PNG" alt="">
</p>


Expand Down Expand Up @@ -290,7 +290,7 @@ in view
```

<p align="center">
<img src="https://github.com/rashidali05/sweet-alert/blob/master/imgs/modal-with-image.PNG" alt="">
<img src="https://github.com/realrashid/sweet-alert/blob/master/imgs/modal-with-image.PNG" alt="">
</p>

> The above examples uses SweetAlert, but the flexibily of alert means you can easily use it with any JavaScript alert solution.
Expand All @@ -299,18 +299,18 @@ in view

`success` | `error` | `warning` | `info` | `question`
---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -----------------------------------------------------------------------------------
![](https://github.com/rashidali05/sweet-alert/blob/master/imgs/types/success.png) | ![](https://github.com/rashidali05/sweet-alert/blob/master/imgs/types/error.png) | ![](https://github.com/rashidali05/sweet-alert/blob/master/imgs/types/warning.png) | ![](https://github.com/rashidali05/sweet-alert/blob/master/imgs/types/info.png) | ![](https://github.com/rashidali05/sweet-alert/blob/master/imgs/types/question.png)
![](https://github.com/realrashid/sweet-alert/blob/master/imgs/types/success.png) | ![](https://github.com/realrashid/sweet-alert/blob/master/imgs/types/error.png) | ![](https://github.com/realrashid/sweet-alert/blob/master/imgs/types/warning.png) | ![](https://github.com/realrashid/sweet-alert/blob/master/imgs/types/info.png) | ![](https://github.com/realrashid/sweet-alert/blob/master/imgs/types/question.png)

# Issues and Contribution

Just submit an issue or pull request through GitHub. Thanks!

## Connect with Me

- Email: rashidali.pk99@gmail.com
- Email: realrashid05@gmail.com
- Twitter: http://twitter.com/rashidali05
- Facebook: https://www.facebook.com/rashidali05
- GitHub: https://github.com/rashidali05
- GitHub: https://github.com/realrashid


## Rashid – Coming Soon Responsive Template
Expand All @@ -319,11 +319,11 @@ Just submit an issue or pull request through GitHub. Thanks!

Tested on Chrome 26.0, Firefox 20.0, Safari 5.1.7, IE 10, Opera 16.0. Limited support for IE8/9.

[Check out the demo here.](http://rashidali05.github.io/Rashid-Coming-Soon-Responsive-Template/demo/)
[Check out the demo here.](http://realrashid.github.io/Rashid-Coming-Soon-Responsive-Template/demo/)

<p align="center">
<a href="https://github.com/rashidali05/Rashid-Coming-Soon-Responsive-Template/" target="_blank">
<img src="https://github.com/rashidali05/sweet-alert/blob/master/imgs/rashid-coming-soon.PNG"/></a>
<a href="https://github.com/realrashid/Rashid-Coming-Soon-Responsive-Template/" target="_blank">
<img src="https://github.com/realrashid/sweet-alert/blob/master/imgs/rashid-coming-soon.PNG"/></a>
</p>

# License
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RashidAli05\SweetAlert\Facades;
namespace RealRashid\SweetAlert\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RashidAli05\SweetAlert\Storage;
namespace RealRashid\SweetAlert\Storage;

use Illuminate\Session\Store;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RashidAli05\SweetAlert;
namespace RealRashid\SweetAlert;

use Illuminate\Support\ServiceProvider;

Expand All @@ -14,7 +14,7 @@ class SweetAlertServiceProvider extends ServiceProvider
public function register()
{
$this->app->singleton('alert', function ($app) {
return $this->app->make('RashidAli05\SweetAlert\Toaster');
return $this->app->make('RealRashid\SweetAlert\Toaster');
});
}
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace RashidAli05\SweetAlert;
namespace RealRashid\SweetAlert;

use RashidAli05\SweetAlert\Storage\Session;
use RealRashid\SweetAlert\Storage\Session;

class Toaster
{
/**
* Session storage.
*
* @var RashidAli05\SweetAlert\Storage\Session
* @var RealRashid\SweetAlert\Storage\Session
*/
protected $session;

Expand Down
File renamed without changes.

0 comments on commit 3f70a10

Please sign in to comment.