Giter Club home page Giter Club logo

laravel-support's Introduction

Rinvex Support

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

Packagist Scrutinizer Code Quality Travis StyleCI License

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/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 [email protected]. 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.

laravel-support's People

Contributors

altynbek07 avatar dependabot-preview[bot] avatar mohamed-hendawy avatar omranic avatar rattone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

laravel-support's Issues

Dependabot can't resolve your PHP dependency files

Dependabot can't resolve your PHP dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - Root composer.json requires felixkiss/uniquewith-validator ^3.4.0 -> satisfiable by felixkiss/uniquewith-validator[3.4.0].
    - felixkiss/uniquewith-validator 3.4.0 requires illuminate/support ^5.5|^6.0|^7.0 -> found illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but it conflicts with your root composer.json require (^8.0.0 || ^9.0.0).

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Laravel 9 support

Hi,

This package is dependent on rinvex/tmp-watson-validating ^6.0.0 which in turn depends on illuminate/validation ^8.0 thus breaking the dependency chain. To my understanding, the dependencies on validating package should be updated.

The full dependency chain:
L9 > rinvex/laravel-addresses ^6.0 > rinvex/laravel-support ^6.0.0 > rinvex/tmp-watson-validating ^6.0.0 > illuminate/validation ^8.0.0

P.S. creating issue here since the tmp-watson-validating package does not have Issue Tracker enabled.

Wrong locale

Hey there,
I've encountered an issue that originally happened upon installing laravel-categories package,

When installed, application locale would switch to default "en" and not respond as correct set locale,
I tracked down and realized this package as a dependecy for laravel-categories is causing the issue and even when installing it separately as the main root dependency it causes the same issue.

Update: tracked down the issue to be actually initiating from uniquewith-validator

composer require rinvex/support

Hi,
I have this problem when I try to install the rinvex support package. I already installed rinvex/subscriptions and rinvex/cacheable with a modified composer.json for support minimum packages stability => dev. When I run composer for install the rinvex/support:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove laravel/framework v5.5.32
    - Conclusion: don't install laravel/framework v5.5.32
    - rinvex/support 1.0.x-dev requires illuminate/validation ~5.1.0|~5.2.0|~5.3.0|~5.4.0 -> satisfiable by laravel/framework[5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev], illuminate/validation[5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev].
    - rinvex/support v1.0.0 requires illuminate/validation 5.1.*|5.2.*|5.3.* -> satisfiable by laravel/framework[5.1.x-dev, 5.2.x-dev, 5.3.x-dev], illuminate/validation[5.1.x-dev, 5.2.x-dev, 5.3.x-dev].
    - rinvex/support v1.0.1 requires illuminate/validation 5.1.*|5.2.*|5.3.* -> satisfiable by laravel/framework[5.1.x-dev, 5.2.x-dev, 5.3.x-dev], illuminate/validation[5.1.x-dev, 5.2.x-dev, 5.3.x-dev].
    - rinvex/support v1.0.2 requires illuminate/validation 5.1.*|5.2.*|5.3.* -> satisfiable by laravel/framework[5.1.x-dev, 5.2.x-dev, 5.3.x-dev], illuminate/validation[5.1.x-dev, 5.2.x-dev, 5.3.x-dev].
    - rinvex/support v1.0.3 requires illuminate/validation ~5.1.0|~5.2.0|~5.3.0|~5.4.0 -> satisfiable by laravel/framework[5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev], illuminate/validation[5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev].
    - Can only install one of: laravel/framework[5.1.x-dev, v5.5.32].
    - Can only install one of: laravel/framework[5.2.x-dev, v5.5.32].
    - Can only install one of: laravel/framework[5.3.x-dev, v5.5.32].
    - Can only install one of: laravel/framework[5.4.x-dev, v5.5.32].
    - don't install illuminate/validation 5.3.x-dev|don't install laravel/framework v5.5.32
    - don't install illuminate/validation 5.4.x-dev|don't install laravel/framework v5.5.32
    - don't install illuminate/validation 5.1.x-dev|don't install laravel/framework v5.5.32
    - don't install illuminate/validation 5.2.x-dev|don't install laravel/framework v5.5.32
    - Installation request for laravel/framework (locked at v5.5.32, required as 5.5.*) -> satisfiable by laravel/framework[v5.5.32].
    - Installation request for rinvex/support ^1.0@dev -> satisfiable by rinvex/support[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3].

This package is also a dependency of the subscriptions package but is not present under the required packages inside the composer.json and when I try to use the subscriptions functions the framework throw a NOT FOUND exception

Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Trait 'Rinvex\Support\Traits\ValidatingTrait' not found
class Plan extends Model implements PlanContract, Sortable
{
    use HasSlug;
    use SortableTrait;
    use HasTranslations;
    **use ValidatingTrait;**
    use CacheableEloquent;
}

Thx you

Modules translations invalidated by this package

Hi, for some reason this package invalidates the module translations of the nwidart/laravel-modules package. I discovered the problem using rinvex/laravel-categories which has this package as a dependency.

A simple composer require of laravel-categories stops module translations working.. trying to install the single dependencies I noticed that the problem occurs when requiring rinvex/laravel-support.

I couldn't figure out why, we are discussing it here > nWidart/laravel-modules#1476

The problem occurs with both Laravel 8 and 9

Dependabot can't resolve your PHP dependency files

Dependabot can't resolve your PHP dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - Root composer.json requires felixkiss/uniquewith-validator ^3.4.0 -> satisfiable by felixkiss/uniquewith-validator[3.4.0].
    - felixkiss/uniquewith-validator 3.4.0 requires illuminate/support ^5.5|^6.0|^7.0 -> found illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but it conflicts with your root composer.json require (^8.0.0 || ^9.0.0).

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.