PHPackages                             mr4-lc/content-protected - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. mr4-lc/content-protected

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

mr4-lc/content-protected
========================

Laravel content protected

0.0.1(2y ago)03MITJavaScriptPHP &gt;=7.0.0

Since Nov 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/han48/mr4-lc.content-protected)[ Packagist](https://packagist.org/packages/mr4-lc/content-protected)[ Docs](https://github.com/han48/mr4-lc.content-protected)[ RSS](/packages/mr4-lc-content-protected/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Content protected editor extension for laravel-admin
====================================================

[](#content-protected-editor-extension-for-laravel-admin)

This is a `laravel` component that integrates \[Content protected\]. Protected web content.

Mode open:

- Developer (and Crawler) can access tp shadow root.

Mode closed:

- Developer (and Crawler) can access tp shadow root.

Screenshot
----------

[](#screenshot)

[![Screenshot 2023-11-16 at 18 32 03](https://private-user-images.githubusercontent.com/27817127/283753721-148d6921-94d4-4aa7-b4c4-b3c3a4fb7b6f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU2MTg3MTksIm5iZiI6MTc3NTYxODQxOSwicGF0aCI6Ii8yNzgxNzEyNy8yODM3NTM3MjEtMTQ4ZDY5MjEtOTRkNC00YWE3LWI0YzQtYjNjM2E0ZmI3YjZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09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
------------

[](#installation)

```
composer require mr4-lc/content-protected
php artisan vendor:publish --tag=mr4-lc-content-protected --force
```

Configuration
-------------

[](#configuration)

Usage
-----

[](#usage)

Example router:

```
$router->get('content-protected', 'HomeController@getContentProtected')->name('content-protected.get');
```

Example controller:

```
public function getContentProtected()
{
    $id = request()->get('id');
    return response("This is protected content $id", 200);
}
```

Example usage

```

```

Basic usage

```

```

=&gt;

```

    #shadow-root (closed)
    This is protected content 1

```

Mode open

```

```

=&gt;

```

    #shadow-root (open)
    This is protected content 2

```

Customize CSS

```

```

=&gt;

```

    #shadow-root (closed)
    This is protected content 3

```

License
-------

[](#license)

Licensed under The [MIT License (MIT)](https://github.com/han48/mr4-lc.content-protected/blob/main/LICENSE).

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

905d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76fe5f5458078ee9ea3f07eb623d35e0d09540bcd83cfa688ff488739b0595f9?d=identicon)[Mr4](/maintainers/Mr4)

---

Top Contributors

[![dungdv-sbt](https://avatars.githubusercontent.com/u/92131000?v=4)](https://github.com/dungdv-sbt "dungdv-sbt (3 commits)")[![han48](https://avatars.githubusercontent.com/u/27817127?v=4)](https://github.com/han48 "han48 (3 commits)")

---

Tags

crawlercontentextensionlaravel-adminprotectedanti

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mr4-lc-content-protected/health.svg)

```
[![Health](https://phpackages.com/badges/mr4-lc-content-protected/health.svg)](https://phpackages.com/packages/mr4-lc-content-protected)
```

###  Alternatives

[james.xue/login-captcha

laravel-admin 登录验证码

3725.4k](/packages/jamesxue-login-captcha)[asundust/auth-captcha

Sliding captcha for Laravel-Admin auth, Multiple platform support / Laravel-Admin登录 滑动验证插件 多平台支持

593.6k](/packages/asundust-auth-captcha)[manzhouya/auth-attempts

Add captcha and login attempts for laravel-admin

142.1k](/packages/manzhouya-auth-attempts)[ghost/google-authenticator

Google 两步验证码

122.5k](/packages/ghost-google-authenticator)[iamtong/laravel-admin-login-check-safe

登录添加验证码，后台用户锁定，错误次数过多锁定，密码强制修改，添加密码修改记录，登录日志

102.5k](/packages/iamtong-laravel-admin-login-check-safe)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
