laravel-ban

Laravel Ban simplify blocking and banning Eloquent models.

MIT License

Downloads
479.9K
Stars
1.1K
Committers
18

Bot releases are visible (Hide)

laravel-ban - 4.9.0 Latest Release

Published by antonkomarev 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/cybercog/laravel-ban/compare/4.8.0...4.9.0

laravel-ban - 4.8.0

Published by antonkomarev over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/cybercog/laravel-ban/compare/4.7.0...4.8.0

laravel-ban - 4.7.0

Published by antonkomarev over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/cybercog/laravel-ban/compare/4.6.1...4.7.0

laravel-ban - 4.6.1

Published by antonkomarev over 3 years ago

Fixed

  • (#72) Fixed typo in LogsOutBannedUser middleware variable
laravel-ban - 4.6.0

Published by antonkomarev over 3 years ago

Added

  • (#71) Added Inertia support
laravel-ban - 4.5.0

Published by antonkomarev almost 4 years ago

Added

  • (#66) Added PHP 8.x support
laravel-ban - 4.4.0

Published by antonkomarev about 4 years ago

Added

  • (#63) Added configurable redirect url for the banned users

View the changes from 4.3.0 to 4.4.0

laravel-ban - 4.3.0

Published by antonkomarev about 4 years ago

Added

  • (#61) Added Laravel 8 support

View the changes from 4.2.1 to 4.3.0

laravel-ban - 4.2.1

Published by antonkomarev over 4 years ago

Added

  • Added Laravel 7 support

View the changes from 4.2.0 to 4.2.1

laravel-ban - 4.2.0

Published by antonkomarev about 5 years ago

Added

  • (#50) Added publishable configuration file
  • (#50) Added ability to ignore default migrations

View the changes from 4.1.0 to 4.2.0

laravel-ban - 4.1.0

Published by antonkomarev about 5 years ago

Added

  • (#48) Laravel 6.0 support

View the changes from 4.0.0 to 4.1.0

laravel-ban - 4.0.0

Published by antonkomarev over 5 years ago

Added

  • Laravel 5.8 support

Changed

  • All methods are strict typed now

Removed

  • Laravel 5.1, 5.2, 5.3 and 5.4 support

View the changes from 3.5.0 to 4.0.0

laravel-ban - 3.5.0

Published by antonkomarev about 6 years ago

Added

  • Ban created_by_type & created_by_id are fillable now (#35)

View the changes from 3.4.0 to 3.5.0

laravel-ban - 3.4.0

Published by antonkomarev about 6 years ago

Added

  • Add datetime cast for the deleted_at attribute (#29)

Fixed

  • Fixed bannable models ban & unban with applied BannedAtScope (#30)

View the changes from 3.3.0 to 3.4.0

laravel-ban - 3.3.0

Published by antonkomarev about 6 years ago

Added

  • Add isPermanent & isTemporary ban checks (#27)

Fixed

  • Stop trying to parse null value for expired_at as Carbon value (#27)

View the changes from 3.2.0 to 3.3.0

laravel-ban - 3.2.0

Published by antonkomarev about 6 years ago

Added

  • Laravel 5.7 support (#26)
  • Middleware to force logout banned users (#25)

View the changes from 3.1.0 to 3.2.0

laravel-ban - 3.1.0

Published by antonkomarev over 6 years ago

Added

  • Laravel 5.6 support (#8)

View the changes from 3.0.1 to 3.1.0

laravel-ban - 3.0.1

Published by antonkomarev almost 7 years ago

Upgrade PHPUnit to 6.0 to fix Laravel 5.5 support.

View the changes from 3.0.0 to 3.0.1

laravel-ban - 3.0.0

Published by antonkomarev about 7 years ago

Upgrade instructions from v2 to v3

Added

  • Laravel 5.5 support (#7)
  • Add package auto discovery for L5.5 (#8)
  • Auto-loading migrations

Changed

  • Cog\Ban\Contracts\Ban moved to Cog\Contracts\Ban\Ban
  • Cog\Ban\Contracts\HasBans moved to Cog\Contracts\Ban\HasBans
  • Cog\Ban\Contracts\BanService moved to Cog\Contracts\Ban\BanService
  • All classes namespaces moved from Cog\Ban\* to Cog\Laravel\Ban\*
  • Renamed database table ban to bans
  • Renamed database column owned_by_id to bannable_id
  • Renamed database column owned_by_type to bannable_type
  • Renamed trait HasBans to Bannable
  • Renamed contract HasBans to Bannable
  • Renamed Ban::whereOwnedBy($bannable) to Ban::whereBannable($bannable)
  • Renamed Ban model relation ownedBy to bannable

Removed

  • Dropped Laravel Ownership Dependency (#9)
  • Removed owner method from Ban model
  • Removed getOwner method from Ban model

View the changes from 2.1.1 to 3.0.0

laravel-ban - 2.1.1

Published by antonkomarev over 7 years ago

Changed

View the changes from 2.1.0 to 2.1.1

Package Rankings
Top 1.1% on Packagist.org
Badges
Extracted from project README
Stargazers over time
Related Projects