承接 erikgaal/blade-streamline-icons 相关项目开发

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

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

erikgaal/blade-streamline-icons

最新稳定版本:v1.0.3

Composer 安装命令:

composer require erikgaal/blade-streamline-icons

包简介

A package to easily make use of Streamline Icons in your Laravel Blade views.

README 文档

README

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

Installation

You can install the package via composer:

composer require erikgaal/blade-streamline-icons

You can publish the config file with:

php artisan vendor:publish --tag="blade-streamline-icons-config"

This is the contents of the published config file:

return [
    'prefix' => 'streamline',

    'path' => resource_path('icons/streamline'),

    /*
     * Define any aliases for families here.
     */
    'family_aliases' => [
        'core-line' => 'streamline-mini-line',
        'core' => 'core-free',
        'flex' => 'flex-free',
        'plump' => 'plump-free',
        'sharp' => 'sharp-free',
    ]
];

You must login to the Streamline API with:

php artisan streamline-icons:login

Usage

Retrieve icons from Streamline with:

php artisan streamline-icons:save core-line interface-home-1
#                                     ▲            ▲
#                                     │            └──── icon
#                                     └──── family                    

# Alternatively, output in terminal.
php artisan streamline-icons:get core-line interface-home-1

Icons can be used as self-closing Blade components which will be compiled to SVG icons:

<x-streamline-core-line-interface-home-1/>

You can also pass classes to your icon components:

<x-streamline-core-line-interface-home-1 class="w-6 h-6 text-gray-500"/>

And even use inline styles:

<x-streamline-core-line-interface-home-1 style="color: #555"/>

Or use the @svg directive:

@svg('streamline-core-line-interface-home-1', 'w-6 h-6', ['style' => 'color: #555'])

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.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固