docs: Update new information about middleware and bannable model database table #98
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Update new information about middleware.
So, if I start in Laravel 11 or above, it doesn't have
app/Http/Kernel
. Because of that, I need to take an extra step to use this. And yeah, I found a way using Laravel Documentation and adapting it.And then, I add how to use middleware using Laravel 11 or above in this README.md
Add new information in Bannable model database table
After create 'banner_at' column in migration, someone will instinctively use
php artisan migrate
. However, if someone forget to usephp artisan migrate
, I think includephp artisan migrate
step make more clear.Update table contents
I guess, maybe someone need new table contents. In this new version, it include more information.
Note
If you read this, thank you very much. And I hope it'll help more people to use Laravel Ban by cybercog