jeremykenedy/laravel-blocker ? reverse-engineered prompt

Reverse engineered prompt

Build me a Laravel package that lets me block people from using my app in a few different ways.

I want to be able to block by IP address, email address, domain, user, and location like city, state, country, continent, and region. It should have a simple admin area where I can create, edit, search, soft delete, restore, and permanently delete blocked entries. I also want a way to manage blocked types, and it should be easy to add more types later with a seed.

Please include middleware so blocked users cannot log in, register, or access the app, and make the blocked response configurable. Add install and update commands that set everything up cleanly without overwriting my existing app files. The interface should work with the common Laravel Blade setup, and it would be nice if it supports both older Bootstrap based views and a more modern theme too.

If you need to check current Laravel docs or best practices, go ahead and look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab