Download the PHP package borah/knowledge-base-laravel without Composer
On this page you can find all versions of the php package borah/knowledge-base-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download borah/knowledge-base-laravel
More information about borah/knowledge-base-laravel
Files in borah/knowledge-base-laravel
Package knowledge-base-laravel
Short Description Laravel wrapper for the Knowledge-Base API
License MIT
Homepage https://github.com/BorahLabs/knowledge-base-laravel
Informations about the package knowledge-base-laravel
Laravel wrapper for the Knowledge-Base API
This package is a Laravel wrapper for the Knowledge Base API. It will create and maintain a Knowledge Base for all the configured Eloquent models.
Installation
You can install the package via composer:
You must publish the migrations:
After the migration has been published you can run them using php artisan migrate
.
Also, if you want, you can publish the config file with:
This is the contents of the published config file:
Requirements
This package is a wrapper for Knowledge Base API, so you need to have it running in order to use this package.
Usage
To use it, you need to add the Borah\KnowledgeBase\Traits\HasKnowledgeBase
trait to the models you want to add to the Knowledge Base. Also, these models should implement the Borah\KnowledgeBase\Contracts\Embeddable
interface.
For example:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Raúl López
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of knowledge-base-laravel with dependencies
spatie/laravel-package-tools Version ^1.16.4
illuminate/contracts Version ^10.0|^11.0