physio / mylittlecms
此包已被废弃,不再维护。未建议替代包。
使用 laravel backpack 设计的小型 CMS
v1.1
2017-07-29 09:44 UTC
Requires
- php: ~5.6|~7.0
- backpack/base: ^0.7.21
- backpack/crud: ^3.2
- backpack/generators: ^1.1
- backpack/langfilemanager: ^1.0
- backpack/pagemanager: ^1.1
- backpack/permissionmanager: ^2.1
- backpack/settings: ^2.0
- barryvdh/laravel-debugbar: ^2.4
- cviebrock/eloquent-sluggable: ^4.2
- greggilbert/recaptcha: ^2.2
- illuminate/support: ~5.1
- spatie/laravel-cookie-consent: ^1.8
- spatie/laravel-sitemap: ^2.2
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0||~6.0
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2021-03-09 01:36:52 UTC
README
此处应放置您的描述。尽量限制在一两段之内,并可能提及您支持的 PSRs 以避免与用户和贡献者产生混淆。
结构
如果以下任何一项适用于您的项目,那么目录结构应遵循行业最佳实践,并命名为以下名称。
bin/
config/
src/
tests/
vendor/
安装
通过 Composer
$ composer require physio/mylittlecms $ php artisan vendor:publish --provider="Backpack\Base\BaseServiceProvider" #publishes configs, langs, views and AdminLTE files $ php artisan vendor:publish --provider="Prologue\Alerts\AlertsServiceProvider"# publish config for notifications - prologue/alerts php artisan elfinder:publish #published elfinder assets php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="public" #publish CRUD assets php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="lang" #publish CRUD lang files php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="config" #publish CRUD and custom elfinder config files php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="elfinder" #publish custom elFinder views $ php artisan migrate #generates users table (using Laravel's default migrations)
在类名之前使用 Backpack\Base\app\Notifications\RsetPasswordNotification 作为 ResetPasswordNotification;
作为 User 类中的方法
/** * Send the password reset notification. * * @param string $token * @return void */ public function sendPasswordResetNotification($token) { $this->notify(new ResetPasswordNotification($token)); }
使用方法
$skeleton = new physio\mylittlecms(); echo $skeleton->echoPhrase('Hello, League!');
变更日志
有关最近更改的更多信息,请参阅 CHANGELOG。
测试
$ composer test
贡献
请参阅 CONTRIBUTING 和 CONDUCT 以获取详细信息。
安全
如果您发现任何与安全相关的问题,请通过电子邮件 ilphysio@gmail.com 而不是使用问题跟踪器。
致谢
许可
MIT 许可证 (MIT)。有关更多信息,请参阅 许可文件。