codedor/laravel-online-scope

Package that adds an online scope

v1.1.0 2024-08-02 09:05 UTC

This package is auto-updated.

Last update: 2025-02-03 12:02:57 UTC


README

This package adds an online scope to ypur model, if it has an online boolean column. It will also check if the model is translatable using the spatie/laravel-translatable package.

Installation

You can install the package via composer:

composer require codedor/laravel-online-scope

Usage

use Codedor\OnlineScope\Model\Traits\HasOnlineScope;

Documentation

For the full documentation, check here.

Testing

vendor/bin/pest

Changelog

Please see CHANGELOG for more information on what has changed recently.

Upgrading

Please see UPGRADING for more information on how to upgrade to a new version.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

If you discover any security-related issues, please email info@codedor.be instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.