Skip to content
On this page

Consultation Access


What does it do

This package is used to create enquiries for free consultation access.
Users with appropriate permissions can accept the enquiry and send a meeting link or reject the enquiry by sending a response message.

Consultation management is in our other package which is here.


  • composer require escolalms/consultation-access
  • php artisan migrate
  • php artisan db:seed --class="EscolaLms\ConsultationAccess\Database\Seeders\ConsultationAccessPermissionSeeder"


The endpoints are defined in swagger


Run ./vendor/bin/phpunit to run tests. Test details codecov


  • ConsultationAccessEnquiryAdminCreatedEvent - This event is dispatched when a user submits an enquiry for consultation. It includes the enquiry itself and the user who has authorization to approve it.
  • ConsultationAccessEnquiryAdminUpdatedEvent - This event is dispatched when an enquiry is updated. It includes the author of the enquiry and the enquiry itself. Includes reason for refusal
  • ConsultationAccessEnquiryApprovedEvent - This event is dispatched when an enquiry is approved.
  • ConsultationAccessEnquiryDisapprovedEvent - This event is dispatched when an enquiry is disapproved (includes reason for refusal).

Flow diagram

See the diagram below



This package does not listen for any events.


Permissions are defined in seeder.