Release v1.1.2
Configuration
We can now customize the route path via config('inbox.route_path')
, by default it is inbox
Added SQLite support
SQLite is fast, minimal, and could be really useful for applications that only need to record msgs, resolve them, and flush the inbox msgs frequently.
Improvements
Authorize & Validate
Now you can implement authorize
and rules
for your Request
class. The built-in inbox HTTP layer will make sure both will be run to ensure the requests are legit to go into DB.
Best practices: use authorize
to check the signature of the payload (signing, validating, etc) and use rules
to ensure the payload is good enough.