Download the PHP package escolalms/consultation-access without Composer
On this page you can find all versions of the php package escolalms/consultation-access. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download escolalms/consultation-access
More information about escolalms/consultation-access
Files in escolalms/consultation-access
Package consultation-access
Short Description Escola Headles LMS Consultation Access
License MIT
Informations about the package consultation-access
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.
Installing
composer require escolalms/consultation-accessphp artisan migratephp artisan db:seed --class="EscolaLms\ConsultationAccess\Database\Seeders\ConsultationAccessPermissionSeeder"
Endpoints
Tests
Run ./vendor/bin/phpunit to run tests. Test details
Events
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 refusalConsultationAccessEnquiryApprovedEvent- 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
If you don't send the meeting_url during the approval, an automatic space will be created in Pencil Spaces, and that link will be saved. You can find more information here.
Listeners
This package does not listen for any events.
Permissions
Permissions are defined in seeder.
All versions of consultation-access with dependencies
escolalms/auth Version ^0
escolalms/core Version ^1
escolalms/settings Version ^0
escolalms/consultations Version ^0
laravel/framework Version >=8.0
escolalms/pencil-spaces Version ^0