pith-front/pith-pack-swal

Pack SweetAlert for Pith front-end

Installs: 2

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Language:JavaScript

0.1.0 2024-03-18 06:11 UTC

This package is auto-updated.

Last update: 2024-05-18 06:28:30 UTC


README

Pack SweetAlert for front-end for Pith

About

This project packs SweetAlert2 so that it can be used with the Pith Framework.

For info about SweetAlert2, see the SweetAlert2 website at https://sweetalert2.github.io/

For info on Pith, see the Pith website at https://pith-framework.org/

Install

Install to an existing Pith Framework project

Use Composer to install pack to the vendor folder.

php composer.phar require pith-front/pith-pack-swal

Add new route to your Route List:

public array $routes = [
    // Other routes....
    // ...
    
    // Add route to call SweetAlert resources from
    ['route', 'GET', '/resources/vendor/library/sweet-alert/{filepath:.+}', '\\PithFront\\PithPackSwal\\SwalResourceRoute'],
];

Licensing Info

pith-pack-swal contains SweetAlert2

SweetAlert2

Swal2 No-Anthems Edit

  • Swal2 No-Anthems 11.7.3
  • (SweetAlert2, with lines of junk code removed, no code added. See SweetAlert2)
  • License: The MIT License (MIT)

pith-pack-swal

Thanks!