PHPackages                             wsmallnews/support - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wsmallnews/support

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wsmallnews/support
==================

Wsmallnews system support modules

v1.0.5(1mo ago)09[2 PRs](https://github.com/Wsmallnews/support/pulls)3MITPHPPHP ^8.2CI passing

Since Nov 24Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Wsmallnews/support)[ Packagist](https://packagist.org/packages/wsmallnews/support)[ Docs](https://github.com/wsmallnews/support)[ GitHub Sponsors](https://github.com/Wsmallnews)[ RSS](/packages/wsmallnews-support/feed)WikiDiscussions v1 Synced 1mo ago

READMEChangelog (6)Dependencies (44)Versions (9)Used By (3)

Wsmallnews system support modules
=================================

[](#wsmallnews-system-support-modules)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a1a64c62bf219a0aae65176056caecf93c0b496fc974648d74c777bf7ff45678/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77736d616c6c6e6577732f737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wsmallnews/support)[![GitHub Tests Action Status](https://camo.githubusercontent.com/df23c76833557d432f604abe6581ec745d080686e8e32ef02ea3070c1aeec736/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f77736d616c6c6e6577732f737570706f72742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/wsmallnews/support/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/6bb3d4b764116a8a4a0ddf1665db4bb0ac3a89f9b91a68509c0b6ee7f09622e4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f77736d616c6c6e6577732f737570706f72742f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/wsmallnews/support/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/91bf2440a8cca70d387f976a45c9787139543a8d6da27614d9e58b0ce5140cce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77736d616c6c6e6577732f737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wsmallnews/support)

### 后续文档一些记录

[](#后续文档一些记录)

- media-library 需要更改 observer 为 Wsmallnews\\Support\\Tenant\\MediaLibrary\\Observers\\MediaObserver，否则删除 media 时，会删除文件系统中的文件，导致其他租户的文件也被删除。
- laravel-settings

    - boot 方法中注册事件监听器，可以在数据库中初始化 settings 配置
    - 多租户时，settings.php 中添加 team\_database 配置项，指定 sn\_team\_settings 表 ```
        'team_database' => [
            'type' => Wsmallnews\Support\Tenant\Settings\Repositories\DatabaseSettingsRepository::class,
            'model' => null,
            'table' => 'sn_team_settings',
            'connection' => null,
        ],

        ```

tags 标签表增加三个字段, 支持多租户 team\_id scope\_type scope\_id

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require wsmallnews/support
```

You can publish the config file with:

```
php artisan vendor:publish --tag="support-config"
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="support-views"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

```
$support = new Wsmallnews\Support();
echo $support->echoPhrase('Hello, Wsmallnews!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [smallnews](https://github.com/Wsmallnews)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance91

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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

Every ~21 days

Recently: every ~15 days

Total

7

Last Release

44d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16216215?v=4)[小新](/maintainers/Wsmallnews)[@Wsmallnews](https://github.com/Wsmallnews)

---

Top Contributors

[![Wsmallnews](https://avatars.githubusercontent.com/u/16216215?v=4)](https://github.com/Wsmallnews "Wsmallnews (169 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")

---

Tags

laravelsupportWsmallnews

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/wsmallnews-support/health.svg)

```
[![Health](https://phpackages.com/badges/wsmallnews-support/health.svg)](https://phpackages.com/packages/wsmallnews-support)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[outerweb/filament-settings

Filament integration for the outerweb/settings package

3690.9k4](/packages/outerweb-filament-settings)

PHPackages © 2026

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