Download the PHP package railroad/usora without Composer
On this page you can find all versions of the php package railroad/usora. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download railroad/usora
More information about railroad/usora
Files in railroad/usora
Informations about the package usora
Usora
Usora is a user management system including auth, user settings, user information, and single sign on.
- Usora
- Single Sign On
- How it Works
- API Reference
- Get Index of Users
- Request Example(s)
- Request Parameters
- Response Example(s)
200 OK
- Get Single User by ID
- Request Example(s)
- Request Parameters
- Response Example(s)
200 OK
- Update User's Display Name
- Request Example(s)
- Request Parameters
- Response Example(s)
200 OK
- (todo: the rest of the endpoints)
- Events
EmailChangeRequest
UserEvent
Single Sign On
How it Works
Users can be signed in on any domain running this package with a single login attempt from any of the domains as long as they are all connected to the same usora database. This is possible by setting authentication cookies on all participating domains after the login succeeds using html img tags.
API Reference
Get Index of Users
GET user/index
Request Example(s)
Request Parameters
path\ | query\ | body | key | required | default | description\ | notes |
---|---|---|---|---|---|---|---|
query | limit |
25 |
|||||
query | page |
1 |
|||||
query | order_by_column |
'created_at' |
|||||
query | order_by_direction |
'desc' |
Response Example(s)
200 OK
Get Single User by ID
GET user/show/{id}
Request Example(s)
Request Parameters
path\ | query\ | body | key | required | default | description\ | notes |
---|---|---|---|---|---|---|---|
path | yes | Id of the user to be returned |
Response Example(s)
200 OK
Update User's Display Name
PUT user/update/{id}
Request Example(s)
Request Parameters
path\ | query\ | body | key | required | default | description\ | notes |
---|---|---|---|---|---|---|---|
path | yes | user id | |||||
body | display_name |
yes | new display name to set |
Response Example(s)
200 OK
(todo: the rest of the endpoints)
Get details from "USORA USER MANAGEMENT SYSTEM - JSON API" section of https://musora.readme.io/v1.0.0/reference
- put, user/store
- patch, user/update/:id
- delete, user/delete/:id
- get, user-field/index/:id
- get, user-field/show/:id
- put, user-field/store
- patch, user-field/update/:id
- patch, user-field/update-or-create-by-key
- delete, user-field/delete/:id
- patch, user-field/update-or-create-multiple-by-key
Events
Name | Parameters | Listener exists | Resultant action(s) |
---|---|---|---|
UserEvent | id, eventType | no | n/a |
EmailChangeRequest | token, email | no | n/a |
EmailChangeRequest
Captures that an EmailChangeRequest was made.
Trigger exists in request
method of EmailChangeController
No Listener exists.
UserEvent
Capture any user-account change.
Trigger exists in:...
- Both
UserQuery
* methodsinsertGetId
(eventType param value: "created")update
(eventType param value: "updated")
- All three
UserFieldQuery
* methods (eventType param value: "field-updated" in each)insertGetId
update
delete
*namespace for each is Railroad\Usora\Repositories\Queries
No listener exists.
All versions of usora with dependencies
laravel/framework Version ^11.9
guzzlehttp/guzzle Version ^7.2
mikemclin/laravel-wp-password Version ~2.0.1
ext-redis Version *
railroad/doctrine Version 3.0.*
doctrine/inflector Version ^2.0
doctrine/annotations Version ^2.0
jms/serializer Version ^3.3
railroad/permissions Version 3.0.*
php-open-source-saver/jwt-auth Version 2.7.*
spatie/laravel-fractal Version ^6.0
railroad/doctrine-array-hydrator Version 3.0.*
league/flysystem Version ^3.0
league/flysystem-aws-s3-v3 Version ^3.0