codeat3/laravel-1on1-questions

0.0.4 2020-03-17 13:50 UTC

This package is auto-updated.

Last update: 2024-10-18 00:08:07 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

A laravel wrapper package to access the questions and categories from '1on1-questions' repositories by 'VGraupera'.

Installation

You can install the package via composer:

composer require codeat3/laravel-1on1-questions

Usage

    // 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);

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email swapnilsarwe@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.