bitmotion / locate
此软件包已被废弃且不再维护。作者建议使用 leuchtfeuer/locate 软件包。
用户的国籍、首选语言和其他事实将被检测。根据可配置的规则,用户可能被重定向到其他语言或页面。Locate 还为可配置国家中的可配置页面提供地理封锁。
v12.0.3
2024-05-21 11:10 UTC
Requires
- php: >=8.1
- doctrine/dbal: ^3.6
- symfony/console: ^6.3
- typo3/cms-backend: ^12.4
- typo3/cms-core: ^12.4
- typo3/cms-extbase: ^12.4
- typo3/cms-frontend: ^12.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpunit/phpunit: ^10.0
- typo3/testing-framework: ^8.0
Suggests
- ext-bcmath: Alternative for an accurate IPv6 calculation. Not needed if you have gmp installed.
- ext-gmp: Recommended for an accurate IPv6 calculation.
- jaybizzle/crawler-detect: If you do not want to redirect bots.
- sjbr/static-info-tables: If you want to use IP based data.
Replaces
- bitmotion/locate: v12.0.3
- typo3-ter/locate: v12.0.3
This package is auto-updated.
Last update: 2024-05-21 11:10:43 UTC
README
此 TYPO3 扩展提供了一些功能,以便将您网站的合适语言版本分配给网站用户,或在可配置国家中拒绝访问可配置页面(地理封锁)。
最新版本的完整文档可以在此处找到。
要求
我们目前支持以下 TYPO3 版本
扩展版本 | TYPO3 v12 支持 | TYPO3 v11 支持 | TYPO3 v10 支持 | TYPO3 v9 支持 |
---|---|---|---|---|
12.x | x | - | - | - |
11.x | - | x | x | - |
10.x | - | - | x | x |
IPv6 支持
为了准确支持 IPv6,您的 PHP 需要支持 gmp
或 bcmath
。它还必须在不带 --disable-ipv6
选项的情况下编译。在没有这些包的情况下,也可以确定 IP 地址,但精度较低。
贡献
您可以通过向此存储库的 master 分支提交 pull request 来做出贡献。或者,我们也很乐意接收一些 啤酒...
本网站或产品包含从 https://lite.ip2location.com 获取的 IP2Location LITE 数据。