Download the PHP package escolalms/assign-without-account without Composer
On this page you can find all versions of the php package escolalms/assign-without-account. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download escolalms/assign-without-account
More information about escolalms/assign-without-account
Files in escolalms/assign-without-account
Download escolalms/assign-without-account
More information about escolalms/assign-without-account
Files in escolalms/assign-without-account
Vendor escolalms
Package assign-without-account
Short Description Escola Headless LMS Assign without account
License MIT
Package assign-without-account
Short Description Escola Headless LMS Assign without account
License MIT
Please rate this library. Is it a good library?
Informations about the package assign-without-account
Assign-Without-Account
What does it do
The package is used to assign users without an account.
Installing
composer require escolalms/assing-without-account
php artisan migrate
php artisan db:seed --class="EscolaLms\AssignWithoutAccount\Database\Seeders\AssignWitoutAccountPermissionSeeder"
Requirements
You need to define email templates in the Templates
package for AssignToProduct
and AssignToProductable
events.
Database
user-submissions
id | status | created_at | updated_at | morphable_type | morphable_id | |
---|---|---|---|---|---|---|
1 | [email protected] | sent | 2022-04-15 07:36:12 | 2022-04-15 07:36:12 | App\Models\Course | 1 |
2 | [email protected] | accepted | 2022-04-15 07:36:30 | 2022-04-15 07:36:30 | EscolaLms\Cart\Models\Product | 2 |
Example
-
Create user submission like this:
- Create a new account.
- The product is assigned to your account.
Endpoints
All the endpoints are defined in swagger
Tests
Run ./vendor/bin/phpunit
to run tests. See tests folder as it's quite good staring point as documentation appendix.
Events
AssignToProduct
- event dispatched after assigning user to product.AssignToProductable
- event dispatched after assigning user to productable model.
Listeners
AccountRegisteredListener
- listens to newly created accounts.
How to use this on frontend.
Admin panel
List of user submissions
Permissions
Permissions are defined in seeder
All versions of assign-without-account with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
laravel/framework Version >=8
escolalms/core Version ^1.2.2
escolalms/cart Version ^0
laravel/framework Version >=8
escolalms/core Version ^1.2.2
escolalms/cart Version ^0
The package escolalms/assign-without-account contains the following files
Loading the files please wait ....