PackageTrack
Sign in Get early access

silber/bouncer

Eloquent roles and abilities.

v1.0.4 4.9M downloads/mo #2375 most downloaded on Packagist JosephSilber/bouncer

What this package is like to depend on

Last release 5 months ago

18 Mar 2026

Ships fairly regularly

a new release about every 6 months

Rarely documented

notes for 4 of 39 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

60 releases · first in 2015

1 release in the last 12 months

see the full history below

Release timeline

59 releases · Sep 2015 to Mar 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60
  1. v1.0.4 18 Mar 2026
    Release notes

    Fix invalid version number. The previous release accidentally had a dot after the v: v.1.0.4

    Open source →
    Release notes

    Bouncer is now ready for Laravel 13 🥳

    Open source →
  2. v1.0.3 24 Feb 2025
    Release notes

    Bouncer is now ready for Laravel 12 🥳

    Open source →
  3. v1.0.2 14 Mar 2024
    Release notes

    Bouncer is now ready for Laravel 11 🥳


    Bouncer has long tried to maintain support for a huge matrix of Laravel versions, simultaneously. However, as the list of versions grows, it becomes untenable to support them all in a single codebase.

    The commit to support Laravel 11 has over 2,500 lines of additions/deletions. The test suite was upgraded to PHPUnit 11, and now uses Workbench to run tests against a real Laravel app. Trying to do all that while supporting a huge matrix of Laravel and PHP versions is nigh impossible.

    So this version of Bouncer, v1.0.2, makes a clean break: we now only support Laravel 11 and up. If you're using older versions of Laravel, you'll still be fine with Bouncer v1.0.1.


    While contemplating this change, I wasn't sure whether to make this a major new version. It doesn't feel like a major new version, but is it a breaking change?

    I asked on Twitter, and @michaeldyrynda helpfully pointed me to this pertinent article by @sebastiandedeyne: Composer, semver, and underlying dependency changes.

    In it, he quotes directly from semver.org:

    What should I do if I update my own dependencies without changing the public API?

    That would be considered compatible since it does not affect the public API. Software that explicitly depends on the same dependencies as your package should have their own dependency specifications and the author will notice any conflicts.

    In other words: since Composer will handle this correctly, it's not considered a breaking change. If you're not yet on Laravel 11, Composer will keep you on Bouncer v1.0.1, chugging along nicely till you're ready to upgrade.

    Open source →
  4. v1.0.1 10 Feb 2023
    Release notes
    Open source →
  5. v1.0.0 21 Feb 2022

    Nothing published for this version

  6. v1.0.0-rc.13 no date pre-release
    Release notes

    This is mainly a housecleaning release, with two breaking changes:

    1. Levels were removed. They were too much of a burden on maintenance, and has actively hindered development on new features. With Bouncer's many features, such as allowing & forbidding permissions, broad model abilities, per-model abilities, and the powerful ownership model, the need for levels is now truly niche, and no longer worth the maintenance cost.

      They were purposefully never documented, and I've been saying in the issues for years that they will eventually be removed.

    2. Bouncer's checks, by default, now run after your policies and gate definitions. This gives your code precedence for all auth checks. If your code explicitly passes/fails a check, that will now be honored and Bouncer won't even run for that.

      This is actually what people expect intuitively, and has been a setting in Bouncer for a long time now. This release just switches the default.

      If you prefer the old order of things, you can tell Bouncer to run before your code:

      Bouncer::runBeforePolicies();

      This setting used to be called Bouncer::runAfterPolicies(), as it toggled the inverse. If you have that your code, you can now safely remove it.

    Open source →
  7. v1.0.0-rc.12 08 Feb 2022 pre-release
    Release notes

    New

    Support for Laravel 9 🥳

    Open source →
  8. v1.0.0-rc.11 25 Nov 2021 pre-release
    Release notes

    New

    • PHP 8.1 🚀

    Fixes

    • Fix for Postgres databases #568
    • Fix for Oracle databases #564
    • Fix the bouncer:clean command for morphed class names #560
    Open source →
  9. v1.0.0-rc.10 08 Dec 2020 pre-release
    Release notes

    New

    • Support for PHP 8.0 🎉

    Fixes

    • Support non-standard auth configs (#527, #528)
    Open source →
  10. v1.0.0-rc.9 08 Sep 2020 pre-release

    Nothing published for this version

  11. v1.0.0-rc.8 31 Mar 2020 pre-release

    Nothing published for this version

  12. v1.0.0-rc.7 04 Mar 2020 pre-release

    Nothing published for this version

  13. v1.0.0-rc.6 04 Sep 2019 pre-release

    Nothing published for this version

  14. v1.0.0-rc.5 27 Feb 2019 pre-release

    Nothing published for this version

  15. v1.0.0-rc.4 22 Oct 2018 pre-release

    Nothing published for this version

  16. v1.0.0-rc.3 09 Sep 2018 pre-release

    Nothing published for this version

  17. v1.0.0-rc.2 04 Sep 2018 pre-release

    Nothing published for this version

  18. v1.0.0-rc.1 01 Feb 2018 pre-release

    Nothing published for this version

  19. v1.0.0-beta.5 31 Dec 2017 pre-release

    Nothing published for this version

  20. v1.0.0-beta.4 01 Sep 2017 pre-release

    Nothing published for this version

  21. v1.0.0-beta.3 03 Aug 2017 pre-release

    Nothing published for this version

  22. v1.0.0-beta.2 25 Jan 2017 pre-release

    Nothing published for this version

  23. v1.0.0-beta.1 12 Dec 2016 pre-release

    Nothing published for this version

  24. v1.0.0-alpha.3 21 Sep 2016 pre-release

    Nothing published for this version

  25. v1.0.0-alpha.2 26 Aug 2016 pre-release

    Nothing published for this version

  26. v1.0.0-alpha.1 27 Mar 2016 pre-release

    Nothing published for this version

  27. v0.1.7 24 Feb 2016

    Nothing published for this version

  28. v0.1.6 21 Feb 2016

    Nothing published for this version

  29. v0.1.5 21 Feb 2016

    Nothing published for this version

  30. v0.1.4 21 Feb 2016

    Nothing published for this version

  31. 0.1.3 17 Feb 2016

    Nothing published for this version

  32. v0.1.2 10 Jan 2016

    Nothing published for this version

  33. v0.1.1 27 Dec 2015

    Nothing published for this version

  34. v0.1.0 09 Dec 2015

    Nothing published for this version

  35. v0.0.26 08 Dec 2015

    Nothing published for this version

  36. v0.0.25 29 Nov 2015

    Nothing published for this version

  37. v0.0.24 29 Nov 2015

    Nothing published for this version

  38. v0.0.23 29 Nov 2015

    Nothing published for this version

  39. v0.0.22 22 Nov 2015

    Nothing published for this version

  40. v0.0.21 20 Nov 2015

    Nothing published for this version

  41. v0.0.20 04 Nov 2015

    Nothing published for this version

  42. v0.0.19 19 Oct 2015

    Nothing published for this version

  43. v0.0.18 18 Oct 2015

    Nothing published for this version

  44. v0.0.17 15 Oct 2015

    Nothing published for this version

  45. v0.0.16 02 Oct 2015

    Nothing published for this version

  46. v0.0.15 27 Sep 2015

    Nothing published for this version

  47. v0.0.14 27 Sep 2015

    Nothing published for this version

  48. v0.0.13 27 Sep 2015

    Nothing published for this version

  49. v0.0.12 24 Sep 2015

    Nothing published for this version

  50. v0.0.11 22 Sep 2015

    Nothing published for this version

  51. v0.0.10 21 Sep 2015

    Nothing published for this version

  52. v0.0.9 21 Sep 2015

    Nothing published for this version

  53. v0.0.8 20 Sep 2015

    Nothing published for this version

  54. v0.0.7 20 Sep 2015

    Nothing published for this version

  55. v0.0.6 20 Sep 2015

    Nothing published for this version

  56. v0.0.5 18 Sep 2015

    Nothing published for this version

  57. v0.0.4 17 Sep 2015

    Nothing published for this version

  58. v0.0.3 17 Sep 2015

    Nothing published for this version

  59. v0.0.2 17 Sep 2015

    Nothing published for this version

  60. v0.0.1 17 Sep 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive