poldixd/laravel-sa11y
最新稳定版本:0.1.0
Composer 安装命令:
composer require poldixd/laravel-sa11y
包简介
README 文档
README
This package integrates Sa11y into your Laravel 11+ application.
Installation
To get started, install the package using Composer and publish the configuration file if needed.
You can install the package via composer:
composer require poldixd/laravel-sa11y
You can publish the config-file with:
php artisan vendor:publish --tag=sa11y
Usage
Include the following Blade component inside the <head> section of your layout:
<x-sa11y />
When SA11Y_ENABLED=true is set in your environment, the Sa11y CDN script will be automatically injected into your application.
Configuration
You can control Sa11y integration through the published config file (config/sa11y.php) or by setting environment variables.
Example in .env:
SA11Y_ENABLED=true
统计信息
- 总下载量: 67
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-02