codeat3 / laravel-1on1-questions
0.0.4
2020-03-17 13:50 UTC
Requires
- php: ^7.2
- calebporzio/sushi: ^1.1
- illuminate/support: ^7.0
- v-graupera/1on1-questions: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-09-18 00:02:54 UTC
README
A laravel wrapper package to access the questions and categories from '1on1-questions' repositories by 'VGraupera'.
安装
您可以通过 composer 安装此包
composer require codeat3/laravel-1on1-questions
用法
// to get the list of categories \Laravel1on1Questions::categories(); // to get the random question \Laravel1on1Questions::random(); // to get ths list of questions \Laravel1on1Questions::get(); // to get ths list of questions from particular category $category = 'Job satisfaction'; \Laravel1on1Questions::get($category); // to get the random question from particular category $category = 'About Manager'; \Laravel1on1Questions::random($category);
测试
composer test
变更日志
请参阅 CHANGELOG 了解最近更改的详细信息。
贡献
请参阅 CONTRIBUTING 了解详细信息。
安全
如果您发现任何与安全相关的问题,请发送电子邮件至 swapnilsarwe@gmail.com 而不是使用问题跟踪器。
鸣谢
许可
MIT 许可证 (MIT)。请参阅 许可文件 了解更多信息。
Laravel Package Boilerplate
此包使用 Laravel Package Boilerplate 生成。