ganga/laravel-auth-themes
Composer 安装命令:
composer require ganga/laravel-auth-themes
包简介
Laravel 5.2 Generator for Authentication themes
README 文档
README
Laravel 5.2 package for replacing auth theme generated by
$ php artisan make:auth
Install
Via Composer
$ composer require ganga/laravel-auth-themes
Usage
Laravel Auth Themes creates a php artisan command to enable you download auth themes from github.
Once you have required this package, go to config/app.php and add it to service providers.
$providers = [ ... ... ..., Ganga\AuthThemes\AuthThemesServiceProvider::class, ]; $aliases = [ ... ... ... 'AuthTheme' => App\Providers\RouteServiceProvider::class, ];
Then head over to your terminal and vendor:publish the package. This simply creates a new console Command file in your app/Console/Commands directory called AuthThemeCommand.
$ php artisan vendor:publish
We need to let Laravel's artisan know about this new command. So, head over to the app/Console/Kernel.php file and add the following under the commands array.
protected $commands = [ Commands\AuthThemeCommand::class, ];
Now, you need to first generate laravel default auth.
$ php artisan make:auth
This artisan command creates some blade view files in your reources\views folder. This are what Laravel Auth Themes will replace. Currently, there's only one repo with the structure of the default theme. But I will list them here as time goes. Feel free to create a theme too, and add a link here and send a PR.
$ php artisan auth:theme https://github.com/gangachris/default-laravel-auth-theme.git
The easiest way to make any theme is to run the php artisan make:auth command, then edit the generated html, then pusblish it to a public repo.
List of available themes
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email ganga.chris@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
ganga/laravel-auth-themes 适用场景与选型建议
ganga/laravel-auth-themes 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 271 次下载、GitHub Stars 达 0, 最近一次更新时间为 2016 年 03 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「themes」 「theme」 「auth」 「Laravel Auth」 「ganga」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ganga/laravel-auth-themes 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ganga/laravel-auth-themes 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ganga/laravel-auth-themes 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Laravel Themes
Laravel Multiauth package
WordPress mu-plugin to register the theme directory for the default WordPress themes.
This is twig version of Flow Theme for OXID eShop.
Test theme for Altis DXP, based on Automattic/_s starter theme.
This is a Smarty version of Admin Theme for OXID eShop.
统计信息
- 总下载量: 271
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-03-04