jeremykenedy / laravelpodcast
Laravel播客管理器包
v0.0.8
2017-02-14 07:04 UTC
Requires
- php: >=5.6.4
- intervention/image: ^2.3
- laravelcollective/html: ^5.3.0
- willvincent/feeds: ^1.1
README
介绍
Laravel Podcast Manager 是一个针对 Laravel 5.3+ 的完整播客管理器包,它允许您管理您最喜欢的播客的 RSS 源,并通过无缝的用户界面收听播客。
要求
-
创建新项目示例命令
laravel new podcast
-
安装认证命令
php artisan make:auth
安装
-
在终端中从您的项目根目录运行
composer require jeremykenedy/laravelpodcast
-
在
config/app.php
中的providers
下使用以下内容将包注册到 Laravel 中Collective\Html\HtmlServiceProvider::class, willvincent\Feeds\FeedsServiceProvider::class, Intervention\Image\ImageServiceProvider::class, jeremykenedy\laravelpodcast\PodcastServiceProvider::class,
-
在
config/app.php
中的aliases
部分使用以下内容将依赖项别名注册到 Laravel 中'Form' => Collective\Html\FormFacade::class, 'Html' => Collective\Html\HtmlFacade::class, 'Feeds' => willvincent\Feeds\Facades\FeedsFacade::class, 'Image' => Intervention\Image\Facades\Image::class,
-
从您的项目根目录运行以下命令以发布包的资产
php artisan vendor:publish
-
配置您的项目
.env
文件并添加以下内容DB_CHARSET=utf8mb4 DB_COLLATION=utf8mb4_unicode_ci
-
从您的项目根目录运行以下命令以更新数据库
php artisan migrate
路由
/podcast
/podcasts
/podcast/search
/podcasts/manage
/podcasts/player
/podcasts/settings
/podcasts/favorites
/podcasts/auto-update
所需包
(包含在本包中)
屏幕截图
许可证
laravelpodcast - 一个开源 Laravel 包,遵循 MIT 许可证