ytubes / core
关于此包的最新版本(0.0.11.1)没有可用的许可信息。
基本扩展
0.0.11.1
2017-11-03 10:25 UTC
Requires
- php: ^5.6 || ^7.0
- jaybizzle/crawler-detect: 1.*
- mobiledetect/mobiledetectlib: ^2.8
- samdark/sitemap: ^2.0.7
- yiisoft/yii2: ~2.0.9
- yiisoft/yii2-jui: ~2.0.0
- ytubes/image-compressor: ^1.0.0
This package is not auto-updated.
Last update: 2024-09-22 07:16:16 UTC
README
基本扩展
用于迁移
在控制台应用程序中:console/config/components.php中写入
'controllerMap' => [ 'migrate' => [ 'class' => 'yii\console\controllers\MigrateController', 'migrationPath' => [ '@vendor/ytubes/core/migrations', ], ], ],
cron
同时,为了正常运行,还需要cron的必要工作者
\ytubes\cron\jobs\VisitorsHandler * * * * *
\ytubes\cron\jobs\SitemapBuilder */10 * * * *