承接 enniosousa/google-fonts-field-for-backpack 相关项目开发

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

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

enniosousa/google-fonts-field-for-backpack

Composer 安装命令:

composer require enniosousa/google-fonts-field-for-backpack

包简介

Google Fonts field type for the Backpack for Laravel

README 文档

README

Latest Version on Packagist Build Status Quality Score Total Downloads

This package provides a Google Fonts field type for the Backpack for Laravel administration panel. The Google Fonts field allows admins to choose one or more fonts. All you need it's include the slylesheet link to you website.

Screenshot

image

Installation

You can install the package via composer:

composer require enniosousa/google-fonts-field-for-backpack

Publish the view

php artisan vendor:publish --provider="Enniosousa\GoogleFontsFieldForBackpack\GoogleFontsFieldForBackpackServiceProvider"

Usage

Dashboard

CRUD::addField([
    'name' => 'subtitleFont',
    'label' => "Subtitle Font",
    'type' => 'google_fonts',
    //'options'=> ['Lora', 'Jura', 'Muli:300'], //optional
    //'allows_multiple'=> true, //optional, default is false
    //'default' => 'Lora', //optional, it cans be string or array
]);

Frontend

<link href="https://fonts.googleapis.com/css?family=<?= implode('|', array_map('urlencode', (array) $model->subtitleFont)) ?>" rel="stylesheet" type="text/css">

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email ennio@enniosousa.com.br instead of using the issue tracker.

Credits

License

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

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-08-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固