Download the PHP package t-labs-co/laravel-marking without Composer
On this page you can find all versions of the php package t-labs-co/laravel-marking. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download t-labs-co/laravel-marking
More information about t-labs-co/laravel-marking
Files in t-labs-co/laravel-marking
Package laravel-marking
Short Description Laravel Marking, Just Mark it
License MIT
Homepage https://github.com/t-labs-co/laravel-marking
Informations about the package laravel-marking
Laravel Marking, Just Mark it
Laravel Marking is a flexible package for managing and normalizing marks in Laravel applications. It provides tools for marking, classification, normalization, and customizable configurations to streamline your application's marking system.
Contact Us
(c) T.Labs & Co. Contact for Work: T. [email protected]
Got a PHP or Laravel project? We're your go-to team! We can help you:
- Architect the perfect solution for your specific needs.
- Get cleaner, faster, and more efficient code.
- Boost your app's performance through refactoring and optimization.
- Build your project the right way with Laravel best practices.
- Get expert guidance and support for all things Laravel.
- Ensure high-quality code through thorough reviews.
- Provide leadership for your team and manage your projects effectively.
- Bring in a seasoned Technical Lead.
Features
This package is extend and support all feature like tagging package,
Mark Management: Easily manage marks with a flexible and extensible structure.Classification Support: Classify marks into different categories for better organization.Normalization: Normalize mark values using customizable normalization logic.Customizable Configurations: Fully configurable via the marking configuration file.Morphable Relationships: Supports polymorphic relationships for marking multiple models.Value Casting: Automatically cast mark values based on their classification.
Support PHP and Laravel Version
This package supports the following versions:
- PHP:
^8.2or higher - Laravel:
^11.0or higher
Installation
You can install the package via composer:
You can publish the migrations and config with:
The config marking.php content:
Usage
Add trait to your Models
Your models should use the Markable trait:
Adding and Removing Mark from a Model
Mark your models with the marking() method:
You can remove marks individually with unmarking() or entirely with demarking():
Apply classification your marks
Config your classification from config file marking.php
Mark your models with your desired classification
Save the value to your marks
Config your value caster depend by classification from config file marking.php
Mark your models with your desired value
Interact with the value from your marks
Your models should use the Markable and InteractMarkableValue trait:
You also add value to your mark
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- T.
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-marking with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0