moo/flashcard-bundle
MooFlashCard
This package provides model for card & category to organise simple flash card system. It provide an API end-point to query for cards or categories.
Installation
Install the package via composer:
composer require moo/flashcard
Rebuild the cached package manifest
artisan package:discover
Update your database with the package schema.
artisan migrate
DONE!
API Usage
Query Categories
Request all categories
/api/categories
Request categories by search query
/api/categories?filter[custom]=search_query
Query Cards
Request all cards
/api/cards
Request cards by search query
/api/cards?filter[custom]=search_query
Request cards & include category details for each card
/api/cards?include=category
Request cards with pagination
/api/cards?page=1&limit=20
Request all card by id
/api/cards/{id}
Changelog
Please see CHANGELOG for more information what has changed recently.
Demo
- You can view my personal use of this package - Demo.
License
This package is under the MIT license. View the LICENSE.md file for the full copyright and license information.
Related Packages
CLI Tool for creating consistent and committable changelog entries.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.0.2 | >=7.1 | ^5.6 | MIT | |
| v2.0.1 | >=7.1 | ^5.6 | MIT | |
| v2.0.0 | >=7.1 | ^5.6 | MIT | |
| v1.1.1 | >=5.5.0 | MIT | ||
| v1.1.0 | >=5.3.2 | MIT | ||
| v1.0.3 | >=5.3.2 | MIT | ||
| v1.0.2 | >=5.3.2 | MIT | ||
| 1.0.0 | >=5.3.2 | MIT |


