-
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3bf5f0
commit 93ff28c
Showing
46 changed files
with
924 additions
and
418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Changelog | ||
|
||
All notable changes to `` will be documented in this file. | ||
|
||
Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles. | ||
|
||
## [v1.1] - 2018-03-25 | ||
|
||
### Added | ||
- `alert() method` | ||
- `alert()->success() method` | ||
- `alert()->info() method` | ||
- `alert()->wanring() method` | ||
- `alert()->question() method` | ||
- `alert()->error() method` | ||
- `alert()->html() method` | ||
- `toast() method` | ||
- `showConfirmButton() method` | ||
- `showCloseButton() method` | ||
- `showCancelButton() method` | ||
- `persistent() method` | ||
- `autoClose() method` | ||
- `toToast() method` | ||
- `footer() method` | ||
|
||
### Deprecated | ||
- v1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The Laravel SweetAlert2 code of conduct is derived from the Ruby code of conduct. Any violations of the code of conduct may be reported to Rashid Ali ([email protected]). | ||
|
||
- Participants will be tolerant of opposing views. | ||
|
||
- Participants must ensure that their language and actions are free of personal attacks and disparaging personal remarks. | ||
|
||
- When interpreting the words and actions of others, participants should always assume good intentions. | ||
|
||
- Behavior which can be reasonably considered harassment will not be tolerated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
If you would like to contribute enhancements or fixes, please do the following: | ||
|
||
1. Create Laravel Project via Composer or Laravel Installer. | ||
|
||
2. In the project root directory create folder named as packages. | ||
|
||
3. Fork the `sweet-alert` repository and clone it in packages. | ||
|
||
4. Now goto your `composer.json` file and add this `"RealRashid\\SweetAlert\\": "packages/realrashid/sweet-alert/src"` line under `autoload` `psr-4` section | ||
|
||
like below | ||
|
||
``` json | ||
"autoload": { | ||
"classmap": [ | ||
"database/seeds", | ||
"database/factories" | ||
], | ||
"psr-4": { | ||
"App\\": "app/", | ||
"RealRashid\\SweetAlert\\": "packages/realrashid/sweet-alert/src" | ||
} | ||
}, | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- Provide a general summary of the issue in the Title above --> | ||
|
||
## Detailed description | ||
|
||
Provide a detailed description of the change or addition you are proposing. | ||
|
||
Make it clear if the issue is a bug, an enhancement or just a question. | ||
|
||
## Context | ||
|
||
Why is this change important to you? How would you use it? | ||
|
||
How can it benefit other users? | ||
|
||
## Possible implementation | ||
|
||
Not obligatory, but suggest an idea for implementing addition or change. | ||
|
||
## Your environment | ||
|
||
Include as many relevant details about the environment you experienced the bug in and how to reproduce it. | ||
|
||
* Version used (e.g. Laravel v5.6, SweetAlert2 v7.18.0): | ||
* Operating system and version (e.g. Ubuntu 16.04, Windows 7): | ||
* Link to your project: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# The MIT License (MIT) | ||
|
||
Copyright (c) 2018 Rashid Ali <[email protected]> | ||
|
||
> Permission is hereby granted, free of charge, to any person obtaining a copy | ||
> of this software and associated documentation files (the "Software"), to deal | ||
> in the Software without restriction, including without limitation the rights | ||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
> copies of the Software, and to permit persons to whom the Software is | ||
> furnished to do so, subject to the following conditions: | ||
> | ||
> The above copyright notice and this permission notice shall be included in | ||
> all copies or substantial portions of the Software. | ||
> | ||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
> THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,59 @@ | ||
{ | ||
"name": "realrashid/sweet-alert", | ||
"description": "SweetAlert2 for Laravel 5.x by Rashid Ali", | ||
"authors": [{ | ||
"name": "Rashid Ali", | ||
"email": "[email protected]" | ||
}], | ||
"license": "MIT", | ||
"require": { | ||
"php": ">=5.4.0", | ||
"illuminate/support": "~5.4" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"RealRashid\\SweetAlert\\": "src/" | ||
"name": "realrashid/sweet-alert", | ||
"type": "library", | ||
"description": "SweetAlert2 for Laravel 5.5.* by Rashid Ali", | ||
"keywords": [ | ||
"laravel", | ||
"sweet-alert2", | ||
"sweet", | ||
"notifier", | ||
"alert", | ||
"noty" | ||
], | ||
"homepage": "https://github.com/realrashid/sweet-alert", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Rashid Ali", | ||
"email": "[email protected]", | ||
"homepage": "https://realrashid.com", | ||
"role": "Developer" | ||
} | ||
], | ||
"support": { | ||
"email": "[email protected]", | ||
"issues": "https://github.com/realrashid/sweet-alert/issues", | ||
"source": "https://github.com/realrashid/sweet-alert", | ||
"docs": "https://github.com/realrashid/sweet-alert/README.md" | ||
}, | ||
"require": { | ||
"illuminate/support": "~5.1", | ||
"illuminate/session": "~5.1", | ||
"php": "~5.6|~7.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": ">=5.4.3", | ||
"squizlabs/php_codesniffer": "^2.3" | ||
}, | ||
"files": [ | ||
"src/RealRashid/SweetAlert/functions.php" | ||
] | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "3.0-dev" | ||
"autoload": { | ||
"psr-4": { | ||
"RealRashid\\SweetAlert\\": "src" | ||
}, | ||
"files": [ | ||
"src/functions.php" | ||
] | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"RealRashid\\SweetAlert\\SweetAlertServiceProvider" | ||
], | ||
"aliases": { | ||
"Alert": "RealRashid\\SweetAlert\\Facades\\Alert::class" | ||
"Alert": "RealRashid\\SweetAlert\\Facades" | ||
} | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Oops, something went wrong.