alt-design/alt-password-protect 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

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

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 我们能提供哪些服务?
定制开发 / 二次开发

基于 alt-design/alt-password-protect 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 4
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-01