ahmedzidan / laravel-support
Rinvex common support helpers, contracts, and traits required by various Rinvex packages. Validator functionality, and basic controller included out-of-the-box.
Requires
- php: ^8.0
- ahmedzidan/tmp-watson-validating: ^6.0.5
- illuminate/auth: ^9.5.1 || ^10.0.0
- illuminate/bus: ^9.5.1 || ^10.0.0
- illuminate/contracts: ^9.5.1 || ^10.0.0
- illuminate/http: ^9.5.1 || ^10.0.0
- illuminate/routing: ^9.5.1 || ^10.0.0
- illuminate/support: ^9.5.1 || ^10.0.0
- illuminate/validation: ^9.5.1 || ^10.0.0
- spatie/laravel-schemaless-attributes: ^2.3.0
- watson/validating: ^7.0.0
Requires (Dev)
- codedungeon/phpunit-result-printer: ^0.31.0
- phpunit/phpunit: ^9.5.0
- dev-master
- v6.1.3
- 6.1.2
- 6.1.1
- v6.1.0
- v6.0.3
- v6.0.2
- v6.0.1
- v6.0.0
- v5.0.19
- v5.0.18
- v5.0.17
- v5.0.16
- v5.0.15
- v5.0.14
- v5.0.13
- v5.0.12
- v5.0.11
- v5.0.10
- v5.0.9
- v5.0.8
- v5.0.7
- v5.0.6
- v5.0.5
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v4.3.1
- v4.3.0
- v4.2.1
- v4.2.0
- v4.1.1
- v4.1.0
- v4.0.7
- v4.0.6
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.1.1
- v2.1.0
- v2.0.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.0.5
- v0.0.4
- v0.0.3
- v0.0.2
- v0.0.1
- dev-develop
This package is auto-updated.
Last update: 2024-10-21 01:57:50 UTC
README
Rinvex common support helpers, contracts, and traits required by various Rinvex packages. Validator functionality, and basic controller included out-of-the-box.
Note: this package is just a support package for other Rinvex packages, which may not be useful on it's own, but contains some complementary generic functionality and also may not respect SemVer and break backward compatibility.
Installation
Install via composer require ahmedzidan/laravel-support
Note for Laravel v9
This package requires felixkiss/uniquewith-validator
dependency, which is not yet compatible with Laravel v9! However as a temporary workaround, add Laravel Shift's fork to the repositories
property of your project root composer.json
:
{ "repositories": [ { "type": "vcs", "url": "https://github.com/laravel-shift/uniquewith-validator.git" } ] }
Usage
Support Helpers
intend()
The intend
method returns redirect response:
intend([ 'route' => 'route.name.here', 'withErrors' => ['error.message.id' => 'A custom error message'], ]);
Note: this helper accepts
redirect
methods as it's input keys, such aswithErrors
,with
,back
, androute
..etc
mimetypes()
The mimetypes
method gets valid mime types:
$mimetypes = mimetypes();
timezones()
The timezones
method gets valid timezones:
$timezones = timezones();
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 help@rinvex.com. All security vulnerabilities will be promptly addressed.
About Rinvex
Rinvex is a software solutions startup, specialized in integrated enterprise solutions for SMEs established in Alexandria, Egypt since June 2016. We believe that our drive The Value, The Reach, and The Impact is what differentiates us and unleash the endless possibilities of our philosophy through the power of software. We like to call it Innovation At The Speed Of Life. That’s how we do our share of advancing humanity.
License
This software is released under The MIT License (MIT).
(c) 2016-2022 Rinvex LLC, Some rights reserved.