Download the PHP package escolalms/consultations without Composer
On this page you can find all versions of the php package escolalms/consultations. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download escolalms/consultations
More information about escolalms/consultations
Files in escolalms/consultations
Download escolalms/consultations
More information about escolalms/consultations
Files in escolalms/consultations
Vendor escolalms
Package consultations
Short Description Escola Headless LMS Consultations
License MIT
Package consultations
Short Description Escola Headless LMS Consultations
License MIT
Please rate this library. Is it a good library?
Informations about the package consultations
Consultations
One to one conversation package
What does it do
This package is used for creating Consultation for EscolaLms.
Installing
composer require escolalms/consultations
php artisan migrate
php artisan db:seed --class="EscolaLms\Consultations\Database\Seeders\ConsultationsPermissionSeeder"
Schedule
- In App\Console\Kernel to method schedule add
$schedule->job(new ReminderAboutConsultationJob(ConsultationTermReminderStatusEnum::REMINDED_HOUR_BEFORE))->everyFiveMinutes()
- reminder about to consultation before one hour, executed every 5 minutes$schedule->job(new ReminderAboutWebinarJob(ConsultationTermReminderStatusEnum::REMINDED_DAY_BEFORE))->everySixHours();
- reminder about to consultation before one day, executed every 6 hours
Endpoints
All the endpoints are defined in
Tests
Run ./vendor/bin/phpunit --filter=Consultation
to run tests. See tests folder as it's quite good staring point as documentation appendix.
Events
EscolaLms\Consultations\Events\ApprovedTerm
=> Event is dispatched when trainer approved term reported with buyer. Event refers to users, who have permissions studentsEscolaLms\Consultations\Events\ApprovedTermWithTrainer
=> Event is dispatched when trainer approved term reported with buyer. Event refers to users, who have permissions tutorEscolaLms\Consultations\Events\ChangeTerm
=> Event is dispatched when trainer changes term in buyed consultations. Event refers to users, who have permissions studentsEscolaLms\Consultations\Events\RejectTerm
=> Event is dispatched when trainer rejects term reported with buyer. Event refers to users, who have permissions studentsEscolaLms\Consultations\Events\RejectTermWithTrainer
=> Event is dispatched when trainer rejects term reported with buyer. Event refers to users, who have permissions tutorEscolaLms\Consultations\Events\ReminderAboutTerm
=> Event is dispatched after execute cron jobEscolaLms\Consultations\Jobs\ReminderAboutConsultationJob
, Event is dispatched when deadline for purchased consultation before 1 hours and 1 day. Event refers to users, who have permissions studentsEscolaLms\Consultations\Events\ReminderTrainerAboutTerm
=> Event is dispatched some time before start consultation. Event refers to users, who have permissions tutorEscolaLms\Consultations\Events\ReportTerm
=> Event is dispatched after reported term with buyer consultation
Listeners
EscolaLms\Webinar\Listeners\ReminderAboutTermListener
=> Listener execute a method that singed the status in the webinar reminder
How to use this on frontend.
Admin panel
Left menu
List of consultations
Creating/editing consultation
Front Application
See implementation in the demo.
Permissions
Permissions are defined in seeder
Database relation
Author
Consultation is related belong to with UserProposedTerms
Consultation model has many to models ConsultationProposedTermCategories
Consultation belongs to many with models CategoriesUsers
Consultation is related belongs to many with User which bought consultationTerms
Consultation model has many to models ConsultationUserPivot. It is reported terms
All versions of consultations with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
escolalms/auth Version ^0
escolalms/categories Version ^0
escolalms/core Version ^1
escolalms/jitsi Version ^0
escolalms/settings Version ^0
escolalms/model-fields Version ^0
laravel/framework Version >=9.0
escolalms/files Version ^0
escolalms/auth Version ^0
escolalms/categories Version ^0
escolalms/core Version ^1
escolalms/jitsi Version ^0
escolalms/settings Version ^0
escolalms/model-fields Version ^0
laravel/framework Version >=9.0
escolalms/files Version ^0
The package escolalms/consultations contains the following files
Loading the files please wait ....