承接 alertify/alert 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

alertify/alert

最新稳定版本:0.0.1

Composer 安装命令:

composer require alertify/alert

包简介

awesome alert messages

README 文档

README

alt text

This package provides a way of easy alerts for the UI of your app.

extra thing Animation animate the alerts.

Installation

composer require alertify/alert "~1.0.0"

now publishing the provider Alertify\Alert\AlertifyServiceProvider

php artisan vendor:publish --provider="Alertify\Alert\AlertifyServiceProvider" 

You can customize animation , pulse enabled / disabled and icons show/hide from

config/alertify.php

Laravel should be able to automatically detect the package and include it.

You should also make sure you have appropriately installed Animate.css into your apps UI.

Quick Start

Add service provider into your config/app.php file

    \Alertify\Alert\AlertifyServiceProvider::class

Blade

head

<link rel="stylesheet" href="{{ asset('vendor/alertify/assets/css/alertify.css') }}">
<link rel="stylesheet" href="{{ asset('vendor/alertify/assets/css/animate.min.css') }}">

before body end tag

<script type="text/javascript" src="{{ asset('vendor/alertify/assets/js/alert.js') }}"></script>

for success

<x-Alertify::success title="Success" body="your body here" />

for warning

<x-Alertify::warning title="Warning" body="your body here" />

for danger

<x-Alertify::danger title="Error" body="your body here" />

for info

<x-Alertify::info title="Info" body="your body here" />

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-30