alt-design/alt-password-protect
Composer 安装命令:
composer require alt-design/alt-password-protect
包简介
Alt Password Protect - hide your pages behind a password
README 文档
README
Secure your Statamic entries with user-friendly, individualized password protection
Features
- Choose which entries to password protect
- Choose individual password for each entry
- Choose default password for all selected entries
- Hide password protected entries from collection listings, and then override if needed
- Extends, but doesn't affect, existing Statamic password protection
How to Install
You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:
composer require alt-design/alt-password-protect
How to Use
The Addon adds another tab onto entries, which allows you to select whether you want default password protection, a custom password, or none. You can set the default site password by going to Alt Password Protect in the control panel.
There's also the ability to remove the password protected items from collections, so that they don't show up in the collection listing. This is useful if you want to have a collection of password protected items, but don't want to show them in the collection listing. You can also tweak this setting in the settings (ofc).
You can then also override the hide using alt_protect_ignore="true" on your collection tag.
How to Uninstall
Warning: Do not remove the addon via Composer before running the prepare-uninstall command. If you do, any entries still using the addon's protection schemes will throw 403 errors because the drivers will no longer exist.
Step 1 — Run the prepare-uninstall command from your project root. This will strip the protect and alt_protect_custom_password fields from all entries that use this addon's protection schemes. Make sure you have a full backup before running this.
php artisan alt-password-protect:prepare-uninstall
Step 2 — Once the command has completed, remove the addon via Composer:
composer remove alt-design/alt-password-protect
Questions etc
Drop us a big shout-out if you have any questions, comments, or concerns. We're always looking to improve our addons, so if you have any feature requests, we'd love to hear them.
Starter Kits
Addons
- Alt Cookies Addon
- Alt Redirect Addon
- Alt Akismet Addon
- Alt Inbound Addon
- Alt Sitemap Addon
- Alt Password Protect Addon
- Alt Google 2FA Addon
Postcardware
Send us a postcard from your hometown if you like this addon. We love getting mail from other cool peeps!
Alt Design
St Helens House
Derby
DE1 3EE
UK
alt-design/alt-password-protect 适用场景与选型建议
alt-design/alt-password-protect 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.36k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2024 年 01 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 alt-design/alt-password-protect 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 alt-design/alt-password-protect 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-01