Giter VIP home page Giter VIP logo

laravel-enum-pro's People

Contributors

adiasrim avatar adizbek avatar lazerg 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

Watchers

 avatar  avatar

Forkers

adizbek adiasrim

laravel-enum-pro's Issues

No support for Laravel 8.*

I am in need of this package, we are integrating the new enums in a project but the truth is that they are quite basic.
I am currently working on Laravel version 8.*, I believe that the implemented functionalities do not explicitly require Laravel 9. Are you planning to support lower Laravel versions?

Using version ^0.1.1 for lazerg/laravel-enum-pro
./composer.json has been updated
Running composer update lazerg/laravel-enum-pro
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires lazerg/laravel-enum-pro ^0.1.1 -> satisfiable by lazerg/laravel-enum-pro[v0.1.1].
    - lazerg/laravel-enum-pro v0.1.1 requires illuminate/support ^9.0 -> found illuminate/support[v9.0.0-beta.1, ..., 9.x-dev] but these were not loaded, likely because it conflicts with another require.

You can also try re-running composer require with an explicit version constraint, e.g. "composer require lazerg/laravel-enum-pro:*" to figure out if any version is installable, or "composer require lazerg/laravel-enum-pro:^2.1" if you know which you need.

randomFirst method return string

PHP version: ^8.1
Laravel version: 9.2
Package version: 0.3

I've created enum:

    case SM = " 10-13 ";
    case MD = " 14-19 ";
    case LG = " 20-26 ";
    case XL = " 28 ";

I can't get the first random element, because in your randomFirst() method return type is Integer

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.