angkor/laravel-support

Ankgor common support helpers, contracts, and traits required by various Ankgor packages. Validator functionality, and basic controller included out-of-the-box.

8.0.0 2025-05-04 04:19 UTC

This package is auto-updated.

Last update: 2025-05-04 06:13:29 UTC


README

Angkor common support helpers, contracts, and traits required by various Angkor packages. Validator functionality, and basic controller included out-of-the-box.

Packagist License

This package is a fork of the excellent rinvex/laravel-support package by Rinvex. We are grateful for their work which serves as the foundation for this package.

Note: this package is just a support package for other Angkor packages, which may not be useful on its own, but contains some complementary generic functionality and also may not respect SemVer and break backward compatibility.

Installation

Install via composer require angkor/laravel-support

Usage

mimetypes() helper

The mimetypes method gets valid mime types:

$mimetypes = mimetypes();

timezones() helper

The timezones method gets valid timezones:

$timezones = timezones();

unique_with Validator Rule

This feature contains a variant of the validateUnique rule for Laravel, that allows for validation of multi-column UNIQUE indexes.

It was forked and merged from the awesome felixkiss/uniquewith-validator package, which at the time been outdated and un-maintained for a long time. Many thanks to core contributors for developing this.

Changelog

Refer to the Changelog for a full history of the project.

Support

The following support channels are available at your fingertips:

Contributing & Protocols

Thank you for considering contributing to this project! The contribution guide can be found in CONTRIBUTING.md.

Bug reports, feature requests, and pull requests are very welcome.

Security Vulnerabilities

If you discover a security vulnerability within this project, please send an e-mail to khmer@angkor.dev. All security vulnerabilities will be promptly addressed.

Credits

This package is a fork of rinvex/laravel-support by Rinvex. Rinvex is a software solutions startup, specialized in integrated enterprise solutions for SMEs established in Alexandria, Egypt since June 2016. We extend our gratitude to the Rinvex team for their excellent work on the original package.

License

This software is released under The MIT License (MIT).

(c) 2023-present Angkor Dev (c) 2016-2022 Rinvex LLC

Some rights reserved.