{"id":14974947,"url":"https://github.com/waveygroup/sweetalert","last_synced_at":"2025-10-27T10:31:49.144Z","repository":{"id":43212048,"uuid":"448493655","full_name":"waveygroup/sweetalert","owner":"waveygroup","description":"🍩 SweetAlert 2 Implementation for Laravel","archived":false,"fork":false,"pushed_at":"2024-03-12T19:15:25.000Z","size":33,"stargazers_count":50,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-28T19:41:39.246Z","etag":null,"topics":["alert","alertdialog","alerting","composer","composer-package","laravel","laravel-framework","laravel-package","laravel8","library","package","php","sweetalert","sweetalert2"],"latest_commit_sha":null,"homepage":"https://wavey.group","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/waveygroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"waveygroup"}},"created_at":"2022-01-16T08:06:50.000Z","updated_at":"2024-07-26T19:44:31.000Z","dependencies_parsed_at":"2024-09-18T16:45:16.243Z","dependency_job_id":null,"html_url":"https://github.com/waveygroup/sweetalert","commit_stats":{"total_commits":13,"total_committers":4,"mean_commits":3.25,"dds":0.6153846153846154,"last_synced_commit":"5816f56d21966f56a60a83ec1072c2cb96f7399d"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waveygroup%2Fsweetalert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waveygroup%2Fsweetalert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waveygroup%2Fsweetalert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waveygroup%2Fsweetalert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waveygroup","download_url":"https://codeload.github.com/waveygroup/sweetalert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219861468,"owners_count":16555994,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alert","alertdialog","alerting","composer","composer-package","laravel","laravel-framework","laravel-package","laravel8","library","package","php","sweetalert","sweetalert2"],"created_at":"2024-09-24T13:51:18.214Z","updated_at":"2025-10-27T10:31:43.798Z","avatar_url":"https://github.com/waveygroup.png","language":"PHP","funding_links":["https://github.com/sponsors/waveygroup"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://wavey.group/packages/sweetalert\"\u003e\n    \u003cimg alt=\"Sweetalerts\" src=\"https://i.imgur.com/UVnxkCl.png\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://img.shields.io/packagist/v/wavey/sweetalert\"\u003e\n    \u003cimg src=\"https://img.shields.io/packagist/v/wavey/sweetalert\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://img.shields.io/github/checks-status/waveygroup/sweetalert/master\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/checks-status/waveygroup/sweetalert/master\"\u003e\n  \u003c/a\u003e\n\u003ca href=\"https://img.shields.io/packagist/stars/wavey/sweetalert\"\u003e\n    \u003cimg src=\"https://img.shields.io/packagist/stars/wavey/sweetalert\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://img.shields.io/github/issues/waveygroup/sweetalert\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues/waveygroup/sweetalert\"\u003e\n  \u003c/a\u003e\n    \u003ca href=\"https://img.shields.io/packagist/dependency-v/wavey/sweetalert/php\"\u003e\n    \u003cimg src=\"https://img.shields.io/packagist/dependency-v/wavey/sweetalert/php\"\u003e\n  \u003c/a\u003e\n      \u003ca href=\"https://img.shields.io/github/license/waveygroup/sweetalert\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/waveygroup/sweetalert\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eSweetalerts\u003c/b\u003e is an Laravel implementation of the much loved \u003ca href=\"https://sweetalert2.github.io/\"\u003eSweetalerts 2\u003c/a\u003e package. Show your users some beautiful alerts when actions are performed in your Laravel application with some handy helpers.\n\u003c/p\u003e\n\n## ⚡️ Quickstart\n\nInstall Sweetalert through composer and run our installer.\n```shell\ncomposer require wavey/sweetalert \u0026\u0026 php artisan sweetalert:install\n```\n\nInclude the Sweetalert2 javascript and then include our sweetalert 2 components.\n```php\n\u003cscript src=\"//cdn.jsdelivr.net/npm/sweetalert2@11\"\u003e\u003c/script\u003e\n@include('sweetalert::sweetalert')\n```\n\n\n## 📖 Usage\n\nBefore using Sweetalerts, you will need to include the sweetalert facade at the top of your controllers:\n```php\nuse Wavey\\Sweetalert\\Sweetalert;\n```\n\nNow you should have access to the `Sweetalert` facade inside your controllers. Their is many varients of the alerts you can use:\n```php\nSweetalert::basic('Description', 'Title');\nSweetalert::info('Description', 'Title');\nSweetalert::success('Description', 'Title');\nSweetalert::error('Description', 'Title');\nSweetalert::warning('Description', 'Title');\nSweetalert::message('Description', 'Title');\nSweetalert::message('Description \u003ch2\u003eCustom HTML\u003c/h2\u003e', 'Title')-\u003ehtml();\n```\n\n## ⚠️ Limitations\n* Currently this package doesn't work as expected from inside Livewire components, we are working on a fix for this and will be inside a later release.                                                                                                      |\n  \n\n## 👍 Contribute\n\nIf you want to say **thank you** and/or support the active development of `Sweetalerts`:\n\n1. Add a [GitHub Star](https://github.com/waveygroup/sweetalert/stargazers) to the project.\n2. Tweet about the project on your twitter.\n3. Write a review or tutorial on [Medium](https://medium.com/), [Dev.to](https://dev.to/) or personal blog.\n4. Support the project by pleding through [GitHub](https://github.com/sponsors/waveygroup).\n   \n## 🛡️ Security Vulnerabilities\n\nPlease review our [security policy](https://github.com/waveygroup/sweetalert/security/policy) on how to report security vulnerabilities.\n\n## ⚠️ License\n\nCopyright (c) 2022-present [Wavey Group](https://github.com/waveygroup) and [Contributors](https://github.com/waveygroup/sweetalert/graphs/contributors). `Sweetalert` is free and open-source software licensed under the [MIT License](https://github.com/waveygroup/sweetalert/blob/master/LICENSE.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaveygroup%2Fsweetalert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaveygroup%2Fsweetalert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaveygroup%2Fsweetalert/lists"}