aqamarine / alphanews
用于轻松快速地为Laravel项目添加新闻管理功能的包
v0.5
2024-01-11 22:52 UTC
Requires
- php: >=8.1
- intervention/image: ^2.7
- laravel/framework: ^10.0
- nwidart/laravel-modules: ^10.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.9
- orchestra/testbench: ^7.6 | ^8.0
- phpunit/phpunit: ^9.5
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.7
- dev-master
- v0.5
- v0.3
- v0.2
- v0.1
- v0.1-alpha
- dev-dev
- dev-34-create-translations
- dev-32-add-controller-generator-commands
- dev-29-posts-ui-update
- dev-27-fix-categories
- dev-dependencies_fix
- dev-24-fix-traits
- dev-22-edit-readme
- dev-20-fix-posts
- dev-18-make-create-module-command
- dev-revert-15-14-little-fixes
- dev-14-little-fixes
- dev-12-add-posts-crud
- dev-10-add-medialibrary-v2
- dev-8-add-repository-action-v2
- dev-6-create-tags-crud
- dev-2-add-post-categories-crud
- dev-1-make-migrations-and-models
This package is auto-updated.
Last update: 2024-09-12 00:24:25 UTC
README
用于轻松快速地为Laravel项目添加新闻管理功能的包
安装
使用包管理器 composer
$ composer require aqamarine/alphanews
包配置
为使包正常工作,需要发布资源和迁移
发布配置(可选)
php artisan vendor:publish --tag="alphanews-config"
发布资源(可选发布所有需要的js和css插件)
php artisan vendor:publish --tag="alphanews-assets"
模块设置
要使用此包,首先创建模块
php artisan module:make {module_name}
然后运行以下命令生成所有需要的文件
php artisan alphanews:generate-all {module_name}