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.
Requires
- php: ^8.1.0
- illuminate/database: ^10.0.0 || ^11.0.0 || ^12.0.0
- illuminate/support: ^10.0.0 || ^11.0.0 || ^12.0.0
- spatie/laravel-schemaless-attributes: ^2.4.0
- spatie/laravel-sluggable: ^3.4.0
- spatie/laravel-translatable: ^6.0.0
- vinkla/hashids: ^11.0.0 || ^12.0.0 || ^13.0.0
- watson/validating: ^8.0.0
Requires (Dev)
- codedungeon/phpunit-result-printer: ^0.32.0
- phpunit/phpunit: ^10.1.0
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.
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.