34ml/filament-seo
Composer 安装命令:
composer require 34ml/filament-seo
包简介
SEO package for Filament Admin Panel
README 文档
README
-
This package is a convenient helper for using the laravel-seo package with Filament Admin and Forms , please check it for more information about how to set up the SEO logic in your project.
-
It provides a simple component that returns a Filament field group for any language you want to modify the title, description, keywords, follow type fields of the SEO model.
-
It automatically takes care of getting and saving all the data to the seo relationship, and you can thus use it anywhere, without additional configuration!
Installation
You can install the package via composer:
composer require 34ml/filament-seo
You need to publish the config file where you can specify the languages you want to use:
php artisan vendor:publish --tag="filament-seo-config"
The config file will look like this:
<?php return [ 'locales' => [ //Add your locales here 'en', 'ar', 'fr', ], ];
You need also to publish the migration file to create the seo table from the laravel-seo package:
php artisan vendor:publish --tag="seo-migrations"
php artisan migrate
Usage
- Sample usage in filament forms:
use _34ml\SEO\SEOField; public static function form(Form $form): Form { return $form->schema([ ...SEOField::make(), // Your other fields ]); }
- You can add callbacks to add any additional fields you want to the SEO field group:
use _34ml\SEO\SEOField; public static function form(Form $form): Form { return $form->schema([ ...SEOField::make( callbacks: function() { return $this->collapsible(), } ), // Your other fields ]); }
Credits
License
The MIT License (MIT). Please see License File for more information.
34ml/filament-seo 适用场景与选型建议
34ml/filament-seo 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.43k 次下载、GitHub Stars 达 9, 最近一次更新时间为 2023 年 12 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「seo」 「laravel」 「filament」 「34ML」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 34ml/filament-seo 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 34ml/filament-seo 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 34ml/filament-seo 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Help to manage meta data on Laravel Eloquent model
Statamic Fine Seo addon
Alfabank REST API integration
Magento - Force store code extension
LaraNx SEO, meta tag management for Laravel websites
Laravel integration package for NewTXT Translate widget rendering, server-side localization, translated HTML cache, and prewarm workflows.
统计信息
- 总下载量: 1.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-25

