HDInnovations / UNIT3D-Community-Edition

Private Torrent Tracker Built With Laravel, Livewire and AlpineJS.

Home Page:https://unit3d.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Request] Global Feature Toggle System

HDVinnie opened this issue · comments

  • This way sites can turn on and off features easily from staff dashboard via database settings like say the random media block, or requests system.
  • The foundation needs to be build first. Then separately start porting features over.

Code example:

if (Feature('torrent-request-feature')->enabled()) {
    ...
} else {
    abort('507', 'This feature is disabled.');
}
@feature('torrent-request-feature')
    ...
@else
    Feature Disabled.
@endfeature

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar