承接 nickwelsh/fennel 相关项目开发

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

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

nickwelsh/fennel

最新稳定版本:v0.1.1-beta

Composer 安装命令:

composer require nickwelsh/fennel

包简介

A (nearly) feature complete, drop-in replacement for Cloudflare Images

README 文档

README

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

A (nearly) feature complete, drop-in replacement for Cloudflare Images

Installation

You can install the package via composer:

composer require nickwelsh/fennel

You can publish the config file with:

php artisan vendor:publish --tag="fennel-config"

Optionally, you can publish the views using

php artisan vendor:publish --tag="fennel-views"

Usage

Use as a blade component:

<x-fennel-image src="beach.jpg" width="500" :format="\nickwelsh\Fennel\Enums\ImageFormat::AVIF" />

This will generate the following HTML:

<img src="/images/beach.jpg/width=500,format=avif" alt="" width="500">

Use the Fennel facade to generate a URL:

Fennel::fromPath('beach.jpg')->width(500)->format(ImageFormat::AVIF)->getUrl();

Testing

composer test

Changelog

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

Credits

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-16