Git Product home page Git Product logo

laravel-directus-api-wrapper's People

Contributors

boxybird avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

laravel-directus-api-wrapper's Issues

Lumen Compatibility?

Howdy. Wanted to see if there was any luck using Lumen? I get this below error with running php artisan after installing the package. Would be nice if compatibility with Lumen worked to minimize the size of the framework since Directus is used as a backend.

`In Container.php line 811:

Uncaught ReflectionException: Class path.storage does not exist in /home/bgv/dev/laravel/lumenTest/ven
dor/laravel/framework/src/Illuminate/Container/Container.php:809
Stack trace:
#0 /home/bgv/dev/laravel/lumenTest/vendor/laravel/framework/src/Illuminate/Container/Container.php(809
): ReflectionClass->__construct()
#1 /home/bgv/dev/laravel/lumenTest/vendor/laravel/framework/src/Illuminate/Container/Container.php(691
): Illuminate\Container\Container->build()
#2 /home/bgv/dev/laravel/lumenTest/vendor/laravel/framework/src/Illuminate/Container/Container.php(637
): Illuminate\Container\Container->resolve()
#3 /home/bgv/dev/laravel/lumenTest/vendor/laravel/lumen-framework/src/Application.php(300): Illuminate
\Container\Container->make()
#4 /home/bgv/dev/laravel/lumenTest/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(119)
: Laravel\Lumen\Application->make()
#5 /home/bgv/dev/laravel/lumenTest/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(768)
: app()
#6 /home/
`

User cached to same key

Hey,

I was checking the example for Authentication a directus user and I'm not sure if I got that right.
It seems that a user gets always cached with the same key directus_auth_user in the cache.

Shouldn't the key be set to a unique session-id? Because currently, every user from every browser session has access to the cached user if you just run Directus::getUser().

Complete example component/view usage

Hi. First off thanks for your work on the project. Definitely makes it easy to use. I'm VERY new to using laravel and was wondering if you had a functional front end coded already. I keep getting an issue with foreach usage on a list of items. I know the data is being pulled since I can do a var_dump($items); and get the full array.

Also is there a way to avoid have to ['data'] array and have it go straight to the actual array data?

Laravel 8 Support

Hey,

thanks for this package. Are you planning to support Laravel 8 too?
Greets

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.