Git Product home page Git Product logo

laravel-cloudflare-images's Introduction

Hi, I'm Hodun Dmytro

I'm backend developer from Ukraine.

dedmytro

๐Ÿน Iโ€™m currently working on Laravel and Flutter projects

Connect with me:

https://www.linkedin.com/in/hodun-dmytro/ dedmytro dedmytro

Tech Stack:

php logo laravel logo javascript logo typescript logo vuejs logo react logo mysql logo redis logo aws logo linux logo docker logo nginx logo kubernetes logo terraform logo ansible logo cloudflare logo circleci logo github actions logo prometheus logo flutter logo dart logo

laravel-cloudflare-images's People

Contributors

alexjustesen avatar bs1601 avatar dedmytro avatar jasonlfunk avatar julietgar avatar laravel-shift avatar michielbier avatar on-future 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

Watchers

 avatar

laravel-cloudflare-images's Issues

Meta tags

How can we add the meta tags to image ?

TypeError exception in BaseResponse.php

  • Laravel Cloudflare Images version: 0.1.6
  • PHP Version: 8.0.10
  • Laravel/Lumen Framework Version: 8.75.0
  • Database Driver & Version: MySQL 8.0.26

Description:

Hi! Thanks for creating this package. When just getting started, I'm hitting an exception when trying to do basic things like list existing files:

[2021-12-23 19:08:53] local.ERROR: DeDmytro\CloudflareImages\Http\Responses\ListResponse::__construct(): Argument #1 ($result) must be of type array, null given, called in /Users/chris/develop/myproject/vendor/dedmytro/laravel-cloudflare-images/src/Http/Responses/BaseResponse.php on line 57 {"exception":"[object] (TypeError(code: 0): DeDmytro\\CloudflareImages\\Http\\Responses\\ListResponse::__construct(): Argument #1 ($result) must be of type array, null given, called in /Users/chris/develop/myproject/vendor/dedmytro/laravel-cloudflare-images/src/Http/Responses/BaseResponse.php on line 57 at /Users/chris/develop/myproject/vendor/dedmytro/laravel-cloudflare-images/src/Http/Responses/ListResponse.php:27)

I'm wondering if you have any guidance. Thank you.

Steps To Reproduce:

CloudflareApi::images()->list()

I confirmed that these vars are set in .env:

CLOUDFLARE_IMAGES_ACCOUNT
CLOUDFLARE_IMAGES_KEY
CLOUDFLARE_IMAGES_DELIVERY_URL
CLOUDFLARE_IMAGES_DEFAULT_VARIATION

Upload by url

Cloudflare images supports uploading by URL, but this package doesn't. We'd like to see it do so, as we currently have to download and reupload images to Cloudflare ourselves.

Failed to open stream: No such file or directory

  • Laravel Model Related Fields Version: #.#.#
  • PHP Version: #.#.#
  • Laravel/Lumen Framework Version: #.#.#
  • Database Driver & Version:

Uploading images with CloudflareApi::images()->upload() results to Failed to open stream: No such file or directory

Steps To Reproduce:

Execution result:

Show result
// paste result here

Delete cloudflare image

Description:

Suddenly now when i delete the image i'm getting the error
Incorrect CloudFlare Key Or Account ID provided. Please check CLOUDFLARE_IMAGES_ACCOUNT and CLOUDFLARE_IMAGES_KEY to your .env

although delete image functionality is working. on deleting image is removed from the cloudflare but i don't know why i'm getting above error.

i'm using the dedmytro/laravel-cloudflare-images => 0.1.9

Guzzle 7 Support

When running composer install i'm getting the following error:

dedmytro/laravel-cloudflare-images 0.1.5 requires guzzlehttp/guzzle ^6.2.1 -> found guzzlehttp/guzzle[6.2.1, ..., 6.5.x-dev] but the package is fixed to 7.3.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Is it compatible with Guzzle 7?

Incorrect key or account id

  • PHP Version: 8.1
  • Laravel/Lumen Framework Version: 10.13.5
  • Database Driver & Version: MariaDB 10.6.12

Description:

Suddenly getting the error
DeDmytro\CloudflareImages\Exceptions\IncorrectKeyOrAccountProvided: Incorrect CloudFlare Key Or Account ID provided. Please check CLOUDFLARE_IMAGES_ACCOUNT and CLOUDFLARE_IMAGES_KEY to your .env in file

It was working and then it wasn't. I have verified .env file variables and ensured they were correct and even generated new keys and it still isn't working.

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.