PHPackages                             smallnews/laravel-shopcore - 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. smallnews/laravel-shopcore

ActiveLibrary

smallnews/laravel-shopcore
==========================

shop core composer

02PHP

Since Oct 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Wsmallnews/laravel-shopcore)[ Packagist](https://packagist.org/packages/smallnews/laravel-shopcore)[ RSS](/packages/smallnews-laravel-shopcore/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

 smallnews/laravel-shopcore
============================

[](#-smallnewslaravel-shopcore-)

 shop core composer.

Explain
-------

[](#explain)

Shop core code package is being developed. Please look forward to it

Installing
----------

[](#installing)

```
$ composer require /smallnews/laravel-shopcore -vvv
```

register routes
---------------

[](#register-routes)

```
在 AppServiceProvider 的 boot 方法加入 Shopcore::routes(); 注册 shopcore 路由

Shopcore::routes();

```

publish
-------

[](#publish)

```
数据迁移
php artisan migrate

发布配置文件
php artisan vendor:publish --tag=shopcore-config

发布视图
php artisan vendor:publish --tag=shopcore-views

发布组件
php artisan vendor:publish --tag=shopcore-components

所有操作都触发了 Wsmallnews\Shopcore\Events\OperateLogEvent,您可以监听该事件完成操作日志的记录，可以用下面方法将监听器示例发布到应用中作为完成日志记录的参考
发布事件监听
php artisan vendor:publish --tag=shopcore-operloglistener

```

Usage
-----

[](#usage)

TODO

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

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com//Wsmallnews/laravel-shopcore/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com//Wsmallnews/laravel-shopcore/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

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

### 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 (5 commits)")

### Embed Badge

![Health badge](/badges/smallnews-laravel-shopcore/health.svg)

```
[![Health](https://phpackages.com/badges/smallnews-laravel-shopcore/health.svg)](https://phpackages.com/packages/smallnews-laravel-shopcore)
```

PHPackages © 2026

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