rinvex / support
Rinvex support contains common helpers, contracts, and traits required by various Rinvex packages. Validator functionality, and basic controller included out-of-the-box.
Requires
- php: ^7.1.3
- illuminate/auth: ~5.6.0
- illuminate/bus: ~5.6.0
- illuminate/contracts: ~5.6.0
- illuminate/http: ~5.6.0
- illuminate/routing: ~5.6.0
- illuminate/support: ~5.6.0
- illuminate/validation: ~5.6.0
- spatie/laravel-schemaless-attributes: ~1.1.0
- watson/validating: ^3.1.0
Requires (Dev)
- codedungeon/phpunit-result-printer: ^0.19.0
- phpunit/phpunit: ^7.0.0
This package is auto-updated.
Last update: 2022-02-01 12:59:19 UTC
README
Rinvex Support contains helpers, contracts, and traits required by various Rinvex packages. Validator functionality, and basic controller included out-of-the-box.
⚠️ This package is renamed and now maintained at rinvex/laravel-support, author suggests using the new package instead. Old package supportes up to Laravel v5.6, and the new one supports Laravel v5.7+
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 rinvex/support
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
lower_case()
The lower_case
method converts the given string to lower-case:
$lowercaseStr = lower_case('THIS UPPER CASE TEXT WILL BE LOWER CASED');
upper_case()
The upper_case
method converts the given string to upper-case:
$uppercaseStr = upper_case('this lower case text will be capitalized');
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-2018 Rinvex LLC, Some rights reserved.