Skip to content

docs: Update new information about middleware and bannable model database table #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZhafranBahij
Copy link

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 use php artisan migrate, I think include php 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

…'php artisan migrate' after create a banned_at column in users table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant