承接 adzchappers/iconicapp-for-laravel 相关项目开发

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

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

adzchappers/iconicapp-for-laravel

Composer 安装命令:

composer require adzchappers/iconicapp-for-laravel

包简介

Laravel Blade files for the wonderful iconic.app icon set

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A Laravel package for easy use of the wonderful iconic.app icon set in blade, svg, or png.

Requirements

  • PHP 7.4 or higher
  • Laravel 7.0 or higher

Installation

You can install the package via composer, this will give you access to the blade components:

composer require adzchappers/iconicapp-for-laravel

If you want to use the SVG or PNG files directly, you'll need to publis them directly.

All Files

php artisan vendor:publish --provider="AdzChappers\IconicappForLaravel\ServiceProvider" --force

SVG Files

php artisan vendor:publish --provider="AdzChappers\IconicappForLaravel\ServiceProvider" --tag=iconic-svg --force

All PNG Files

php artisan vendor:publish --provider="AdzChappers\IconicappForLaravel\ServiceProvider" --tag=iconic-png --force

Black PNG Files

php artisan vendor:publish --provider="AdzChappers\IconicappForLaravel\ServiceProvider" --tag=iconic-png-black --force

White PNG Files

php artisan vendor:publish --provider="AdzChappers\IconicappForLaravel\ServiceProvider" --tag=iconic-png-white --force

Updating

General steps for every update:

  • Run php artisan view:clear
  • If you published the raw icons run one of the above installations commands, eg php artisan vendor:publish --provider="AdzChappers\IconicappForLaravel\ServiceProvider" --force

Usage

Iconic icons can be used with a self-closing Blade component, which will be compiled to an SVG:

<x-iconic-announcement />

You can also pass a class, style, or stroke color (any or all) into the component:

<x-iconic-announcement class="w-6 h-6" style="margin-bottom: 10px" stroke="#555"/>

The icons can also be used in their raw format (svg, or png)

<img src="{{ asset('vendor/iconic/svg/announcement.svg') }}" width="24" height="24"/>

<img src="{{ asset('vendor/iconic/png/white/announcement.png') }}" width="24" height="24"/>

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-05-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固