uxweb / sweet-alert

A simple PHP package to show SweetAlerts with the Laravel Framework
MIT License
834 stars 208 forks source link

Support for Laravel 6.0 and Sweet-Alert 2.0 #99

Closed backstageel closed 5 years ago

backstageel commented 5 years ago

This PR only adds support for Laravel 6.0 and Sweet Alert 2.0

nasrulhazim commented 5 years ago

temporarily I added the following and update my sweet alert.

    "repositories": [{
        "type": "vcs",
        "url": "https://github.com/backstageel/sweet-alert"
    }]
anburocky3 commented 5 years ago

vcs

Here is the reference file: https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository

After adding your snippet, what to do? Need to insert this? { "uxweb/sweet-alert": "dev-bugfix" }

decalages commented 5 years ago

Hi @anburocky3, I updated my composer.json file as follows:

...
 "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/backstageel/sweet-alert"
        }
    ],
    "require": {
        "php": "^7.2",
        "fideloper/proxy": "^4.0",
        "laravel/framework": "^6.0",
        "laravel/tinker": "^1.0",
        "uxweb/sweet-alert": "^2.0"
    },
...