Giter Club home page Giter Club logo

repository's Issues

Please Tag a version for Laravel 5.0?

Hi,
I really like the convenience and simplicity of this package.

Would it be possible for you to tag a version for Laravel 5.0/PHP 5.4?

The changes that seem to be required are fairly minimal:

  1. Composer.json
        "php": ">=5.4.0",
        "illuminate/support": "5.0.*",
        "illuminate/config": "5.0.*"
  1. RepositoryServiceProvider.php (replace ::class)
    public function register()
    {
        $this->app->bind('caffeinated.repository.listener', 'Caffeinated\Repository\Listeners\RepositoryEventListener');
    }

It will really help folks like me who are saddled with php 5.4!

Thank you in advance for your time.

Instructions

Is there any more to using this package with a module?

can't work on laravel 5.5

Problem 1
- Conclusion: don't install caffeinated/repository v3.1.1
- Conclusion: remove laravel/framework v5.5.8
- Installation request for caffeinated/repository ^3.1 -> satisfiable by caffeinated/repository[v3.1, v3.1.1].
- Conclusion: don't install laravel/framework v5.5.8
- caffeinated/repository v3.1 requires illuminate/config 5.4.* -> satisfiable by illuminate/config[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
- don't install illuminate/config v5.4.0|don't install laravel/framework v5.5.8
- don't install illuminate/config v5.4.13|don't install laravel/framework v5.5.8
- don't install illuminate/config v5.4.17|don't install laravel/framework v5.5.8
- don't install illuminate/config v5.4.19|don't install laravel/framework v5.5.8
- don't install illuminate/config v5.4.27|don't install laravel/framework v5.5.8
- don't install illuminate/config v5.4.36|don't install laravel/framework v5.5.8
- don't install illuminate/config v5.4.9|don't install laravel/framework v5.5.8
- Installation request for laravel/framework (locked at v5.5.8, required as 5.5.*) -> satisfiable by laravel/framework[v5.5.8].

Suggestion: Repository::create

Hello,

I think that create method should return only Model, not array of [status, Model], I understand that I can extend this and return only Model, but I think it's confusing, and it should return standard output as Eloquent does.

Is contribution allowed here?

ErrorException in AbstractRepository.php line 35:

I got this error when trying to get data from database:

Argument 1 passed to Caffeinated\Repository\Eloquent\AbstractRepository::__construct() must implement interface Illuminate\Contracts\Container\Container, none given

use

how can i use it?

5.4

add laravel 5.4?

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.