PHPackages                             yangze/laraveladminposttemplate - 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. yangze/laraveladminposttemplate

ActiveLibrary

yangze/laraveladminposttemplate
===============================

在 laravel-admin 后台生成通用文章模型, 包含分类，文章，评论和统计4个模块

v1.0.1(6y ago)0121MITPHP

Since Dec 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zhenyangze/laraveladminposttemplate)[ Packagist](https://packagist.org/packages/yangze/laraveladminposttemplate)[ Docs](https://github.com/zhenyangze/laraveladminposttemplate)[ RSS](/packages/yangze-laraveladminposttemplate/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (3)Used By (0)

LaravelAdminPostTemplate
========================

[](#laraveladminposttemplate)

[![Latest Version on Packagist](https://camo.githubusercontent.com/15924a9781bbe1dbd64bbe11f64b946f12ab201e1e305c40871ecb21cde4f8cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79616e677a652f6c61726176656c61646d696e706f737474656d706c6174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yangze/laraveladminposttemplate)[![Total Downloads](https://camo.githubusercontent.com/37dc98974f295854ab7ce0c4a4cd8c99e78a653765033429ac625b071bb7a7d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79616e677a652f6c61726176656c61646d696e706f737474656d706c6174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yangze/laraveladminposttemplate)[![Build Status](https://camo.githubusercontent.com/4cb0fce1b2b1db40dc7ca032847799387fae61fc8dcfc6382f39c4fcae655588/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f79616e677a652f6c61726176656c61646d696e706f737474656d706c6174652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/yangze/laraveladminposttemplate)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
$ composer require yangze/laraveladminposttemplate
```

Usage
-----

[](#usage)

run generator command

```
php artisan admin:post-template --module=Crm --post=Post --cat=Category --stat=Statistic --comm=Comment --force
```

and then do like this

```
**************************
*     generator file     *
**************************

ApiController.php OK
CategoryController.php OK
CommentController.php OK
PostController.php OK
2019_12_26_171317_create_crm_category_table.php OK
2019_12_26_171317_create_crm_comment_table.php OK
2019_12_26_171317_create_crm_post_table.php OK
2019_12_26_171317_create_crm_statistic_table.php OK
CategoryModel.php OK
CommentModel.php OK
PostModel.php OK
StatisticModel.php OK
***************************************
*     the next step you should do     *
***************************************

// crm
$router->resource('crm/post', Crm\PostController::class);
$router->resource('crm/category', Crm\CategoryController::class);
$router->resource('crm/comment', Crm\CommentController::class);
```

Change log
----------

[](#change-log)

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

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

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

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~4 days

Total

2

Last Release

2322d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/00d829cadf57df1507ea7b053e44b660179233a342874c101fc6ae50f54a0d55?d=identicon)[yangze](/maintainers/yangze)

---

Top Contributors

[![zhenyangze](https://avatars.githubusercontent.com/u/15710584?v=4)](https://github.com/zhenyangze "zhenyangze (4 commits)")

---

Tags

laravelLaravelAdminPostTemplate

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yangze-laraveladminposttemplate/health.svg)

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

###  Alternatives

[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[glhd/linen

21135.6k](/packages/glhd-linen)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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