publiux / laravelcdn Goto Github PK
View Code? Open in Web Editor NEWLaravel CDN Assets Manager
Home Page: http://publiux.github.io/laravelcdn/
License: MIT License
Laravel CDN Assets Manager
Home Page: http://publiux.github.io/laravelcdn/
License: MIT License
Hi,
i am using laravel 5.2.2, i installed laravelcdn, but i when i run php artisan vendor:publish nothing happens, when i run php artisan cdn:push i have:
[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "cdn" namespace.
I looked at the Kernel.php and nothing has changed too.
Hey,
Reading through your config.php I'm curious if the 'Bucket Upload Folder Prefix' can resolve my issue? If I set the AWS_CDN_ASSET_UPLOAD_FOLDER env var pointing to a separate dir 'temp-dir/', instead of my prod 'public/', for testing remote files locally. Would this work? Trying to avoid touching my prod CDN and not have to refactor my code to dynamically point to a separate bucket altogether, I have had trouble with this approach.
Can you tell me more about how to leverage AWS_CDN_ASSET_UPLOAD_FOLDER?
Thanks in advance!
-V
It might be just with me, but when running the command:
php artisan cdn:push
All files are being pushed to S3, including the ones that haven't been modified. Running the command twice pushes all files twice.
I checked the S3 documentation and the cause might be how they define the "Last Modified" date, which is one of the parameters used to compare the files, together with the size. They define it as:
Last-Modified - Object creation date or the last modified date, whichever is the latest.
It seems like they mean the creation time on the bucket, not of the original file. This would take priority over the last modified date as it is the latest and the comparison function would always fail.
Am I doing something wrong? If so, can anybody point out what?
Thank you very much
I don't believe mocking everything in the tests really flexes the package.
As an enchantment, I propose that integration tests should be used to:
Using TravisCI we should be able to store the credentials of the bucket as environment variables to stop people from using the bucket for malicious purposes.
Any plans to support Laravel 10?
Hi,
When trying to call Cdn::path() I have this problem at view
Class 'Cdn' not found
Laravel 5.4
Homestead
I'm sure my bucket region is 'eu-west-1'. I'm not sure why it says 'bucket-name' instead of the actual name of the bucket.
Any ideas?
Hello,
After updating composer, keys of files on S3 are wrong. It's taking absolute path instead of relative. i.e. instead of making public folder in my bucket as root folder, it's creating var as root folder. Full path of files are like /var/www/app/public/css/app.css instead of public/css/app.css.
Issue started happening after Symfony/finder got updated to 3.4.7 from 3.4.6.
After little debugging, I found that $file->getPathName() returns absolute path after updating.
Hi Guys,
Just want to start by saying that you've made a great package here!
So here is the issue, we are running on laravel 5.5/nginx, using AWS ELB and deploy via jenkins/AWS CodeDeploy, and during the build we run npm production and php artisan Cdn:push.
Everything was working as expected as of Friday which is when ran our last test of the week. We came in Monday, and we are suddenly not able pull from CD when our env=production. The files do indeed build and update on cdn so we know its not associated to S3, it appears to be package related.
We tested everything, looked over our code 10x, nothing stands out and all looks in place. However I did notice you guys made some commits, so I am wondering what may have changed and was it documented yet?
We could really use your help resolving this before our deploy today, as we would hate to pull assets from our server if we can avoid it.
Thanks in advance!
Best,
-V
Hi there,
Thanks for the package. Any plans for supporting Laravel 8?
This is giving some issues, in particular if you're trying to replace Vinelab library with this one (this is happening in Laravel 5.5)
I recently switch from Laravel Elixir to Mix, and noticed an issue with double slashes in my dev environment when I use Cdn::mix. I didn't have that problem before with Cdn::elixir
Since this is my dev environment Cdn's bypass option is true. So I'm trying to load assets locally.
The HTML with double slashes:
<link rel="stylesheet" href="http://localhost:8000//css/app.css">
<script src="http://localhost:8000//js/app.js"></script>
From default.blade.php
<link rel="stylesheet" href="{{ Cdn::mix('/css/app.css') }}">
<script src="{{ Cdn::mix('/js/app.js') }}"></script>
mix-manifest.json:
{
"/js/app.js": "/js/app.js",
"/css/app.css": "/css/app.css"
}
I looked at CdnFacade.php and the generateUrl() function. If I change
return Request::root().'/'.$path;
to
return Request::root().''.$path;
the double slash turns into a single slash, and my css and js loads again. But this might have other consequenses.
Hello,
I have a problem with embedding an image in CSS/SCSS, which should be on the CDN later, but after the compiling the /public/ is missing in the class when linking and therefore it cannot find it on the S3 server. Because the image is integrated as follows:
.flag-icon-en {
background-image: url(/images/flags/4x3/en.svg);
}
but it should:
.flag-icon-en {
background-image: url(/public/images/flags/4x3/en.svg);
}
Anybody got a fix? Because you can't just remove the "/public/" folder, so that the CDN is only /images/, /css/, /js/ as I saw it, is the Public folder hardgecoded correct?
Is there a way to trigger the cdn:push when a new image is added? That way the CDN stay's in sync? I tried to use Artisan::call('cdn:push') but that did not work.
Hi there,
thanks for great repo.
when uploading files, it uploads to my prefered folder mentioned in AWS_CDN_ASSET_UPLOAD_FOLDER variable.
is it possible to use "AWS_CDN_ASSET_UPLOAD_FOLDER" folder when using Cdn::mix('some_file_path').
Cdn::mix always returns path without upload folder path.
Thanks in advance.
Hello, @publiux,
There is a dependency issue with Laravel 11 in the publiux/laravelcdn package.
The package publiux/laravelcdn requires symfony/finder version ^5|^6, while Laravel 11 requires v7.0.0.
This is the exact error message:
publiux/laravelcdn dev-master requires symfony/finder ^5|^6 -> found symfony/finder[v5.0.0-BETA1, ... , 5.4.x-dev, v6.0.0-BETA1, ... , 6.4.x-dev] but the package is fixed to v7.0.0 (lock file version) by a partial update and that version does not match. The argument to the update command must specify this version. The argument to the update command must specify this version.
Can you add ^7.0.0 to the dependencies?
Thanks a lot!
Best
When I want to install the package it throws this error
Problem 1
- Conclusion: remove laravel/framework v5.8.15
- Conclusion: don't install laravel/framework v5.8.15
- publiux/laravelcdn 2.0.0 requires illuminate/config 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.* -> satisfiable by illuminate/config[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25,
v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43,
v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44].
- publiux/laravelcdn 2.0.1 requires illuminate/config 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.* -> satisfiable by illuminate/config[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25,
v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43,
v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44].
- publiux/laravelcdn 2.0.2 requires illuminate/config 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.* -> satisfiable by illuminate/config[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25,
v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43,
v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44].
- publiux/laravelcdn 2.0.3 requires illuminate/config 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.* -> satisfiable by illuminate/config[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25,
v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43,
v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44].
- publiux/laravelcdn v2.0.4 requires illuminate/config 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.* -> satisfiable by illuminate/config[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44].
- publiux/laravelcdn v2.0.5 requires illuminate/config 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.* -> satisfiable by illuminate/config[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44].
- publiux/laravelcdn v2.0.6 requires illuminate/config 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.* -> satisfiable by illuminate/config[5.0.x-dev, 5.1.x-dev,
5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20,
v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32,
v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
- publiux/laravelcdn v2.0.7 requires illuminate/config 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.* -> satisfiable by illuminate/config[5.0.x-dev, 5.1.x-dev,
5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20,
v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32,
v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
- publiux/laravelcdn v2.0.8 requires illuminate/config 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.* -> satisfiable by illuminate/config[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.17, 5.7.18, 5.7.19, 5.7.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9, v5.7.0, v5.7.1, v5.7.10, v5.7.11, v5.7.15, v5.7.2, v5.7.20, v5.7.21, v5.7.22, v5.7.23, v5.7.26, v5.7.27, v5.7.28, v5.7.3, v5.7.4, v5.7.5, v5.7.6, v5.7.7, v5.7.8, v5.7.9].
- don't install illuminate/config 5.0.x-dev|don't install laravel/framework v5.8.15
- don't install illuminate/config 5.1.x-dev|don't install laravel/framework v5.8.15
- don't install illuminate/config 5.2.x-dev|don't install laravel/framework v5.8.15
- don't install illuminate/config 5.3.x-dev|don't install laravel/framework v5.8.15
- don't install illuminate/config 5.4.x-dev|don't install laravel/framework v5.8.15
- don't install illuminate/config 5.5.x-dev|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.0.0|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.0.22|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.0.25|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.0.26|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.0.28|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.0.33|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.0.4|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.1|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.13|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.16|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.2|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.20|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.22|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.25|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.28|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.30|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.31|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.41|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.6|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.1.8|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.0|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.19|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.21|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.24|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.25|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.26|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.27|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.28|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.31|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.32|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.37|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.43|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.45|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.6|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.2.7|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.3.0|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.3.16|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.3.23|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.3.4|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.4.0|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.4.13|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.4.17|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.4.19|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.4.27|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.4.36|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.4.9|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.0|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.16|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.17|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.2|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.28|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.33|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.34|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.35|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.36|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.37|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.39|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.40|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.41|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.43|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.5.44|don't install laravel/framework v5.8.15
- don't install illuminate/config 5.6.x-dev|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.0|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.1|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.10|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.11|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.12|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.13|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.14|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.15|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.16|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.17|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.19|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.2|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.20|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.21|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.22|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.23|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.24|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.25|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.26|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.27|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.28|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.29|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.3|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.30|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.31|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.32|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.33|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.34|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.35|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.36|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.37|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.38|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.39|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.4|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.5|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.6|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.7|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.8|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.6.9|don't install laravel/framework v5.8.15
- don't install illuminate/config 5.7.17|don't install laravel/framework v5.8.15
- don't install illuminate/config 5.7.18|don't install laravel/framework v5.8.15
- don't install illuminate/config 5.7.19|don't install laravel/framework v5.8.15
- don't install illuminate/config 5.7.x-dev|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.0|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.1|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.10|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.11|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.15|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.2|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.20|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.21|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.22|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.23|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.26|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.27|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.28|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.3|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.4|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.5|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.6|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.7|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.8|don't install laravel/framework v5.8.15
- don't install illuminate/config v5.7.9|don't install laravel/framework v5.8.15
- Installation request for laravel/framework (locked at v5.8.15, required as 5.8.*) -> satisfiable by laravel/framework[v5.8.15].
- Installation request for publiux/laravelcdn ~2.0 -> satisfiable by publiux/laravelcdn[2.0.0, 2.0.1, 2.0.2, 2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8].
Hello ,
I am trying to use CDN::asset() but I am getting issue Undefined index: scheme for this method . I have added cdn url in env file . Please suggest best solution
When i tried to php artisan cdn:push
Trying to access array offset on value of type null error why is that ?
Hi, wondering if L9 support is coming..
I am following up your documentation and when i try to reload it gives me this error. I have followed a resolving for an earlier issue but i haven't got it fixed.I don't have a config file called cdn.php.I declared everything in app.php.Do i have to make a configuration file?
ErrorException thrown with message "CDN 'config file' (cdn.php) not found (View: C:\xampp\htdocs\carbay\resources\views\index.blade.php)"
Thanxx
Hello,
Whenever I try to install this package, I get the following error
Loading composer repositories with package information
Updating dependencies (including require-dev)
Generating optimized autoload files
Illuminate\Foundation\ComposerScripts::postUpdate
php artisan optimize
[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'Publiux\laravelcdn\CDNServiceProvider' not found
Script php artisan optimize handling the post-update-cmd event returned with an error
[RuntimeException]
Error Output:
I am using Laravel 5.5 Please help!
Regards,
Ajitem
Hey guys, this package is not working for 6.0.0:
Thanks,
G
the same configuration work fine on Mac but never work in ubuntu 16.04
Comparing local files and bucket...
Aws\Exception\CredentialsException : Error retrieving credentials from the instance profile metadata server. (Client error: GET http://169.254.169.254/latest/meta-data/iam/security-credentials/
resulted in a 404 Not Found
response:
not found
)
at /var/www/html/gdf/vendor/aws/aws-sdk-php/src/Credentials/InstanceProfileProvider.php:88
84| return (string) $response->getBody();
85| })->otherwise(function (array $reason) {
86| $reason = $reason['exception'];
87| $msg = $reason->getMessage();
88| throw new CredentialsException(
89| $this->createErrorMessage($msg)
90| );
91| });
92| }
Exception trace:
1 Aws\Credentials\InstanceProfileProvider::Aws\Credentials{closure}(Object(GuzzleHttp\Exception\ClientException))
/var/www/html/gdf/vendor/guzzlehttp/promises/src/Promise.php:203
2 GuzzleHttp\Promise\Promise::callHandler([Object(GuzzleHttp\Exception\ClientException), Object(GuzzleHttp\Psr7\Response)])
/var/www/html/gdf/vendor/guzzlehttp/promises/src/Promise.php:156
Please use the argument -v to see more details.
I'd like to use this with Laravel 5.3 but I'm getting this error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install publiux/laravelcdn v1.0.3
- Conclusion: don't install publiux/laravelcdn v1.0.2
- Conclusion: don't install publiux/laravelcdn v1.0.1
- Conclusion: remove symfony/finder v3.1.4
- Installation request for publiux/laravelcdn ^1.0 -> satisfiable by publiux/laravelcdn[v1.0.0, v1.0.1, v1.0.2, v1.0.3].
- Conclusion: don't install symfony/finder v3.1.4
- publiux/laravelcdn v1.0.0 requires symfony/finder 2.8.*|3.0.* -> satisfiable by symfony/finder[v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9].
- Can only install one of: symfony/finder[v2.8.0, v3.1.4].
- Can only install one of: symfony/finder[v2.8.1, v3.1.4].
- Can only install one of: symfony/finder[v2.8.10, v3.1.4].
- Can only install one of: symfony/finder[v2.8.11, v3.1.4].
- Can only install one of: symfony/finder[v2.8.2, v3.1.4].
- Can only install one of: symfony/finder[v2.8.3, v3.1.4].
- Can only install one of: symfony/finder[v2.8.4, v3.1.4].
- Can only install one of: symfony/finder[v2.8.5, v3.1.4].
- Can only install one of: symfony/finder[v2.8.6, v3.1.4].
- Can only install one of: symfony/finder[v2.8.7, v3.1.4].
- Can only install one of: symfony/finder[v2.8.8, v3.1.4].
- Can only install one of: symfony/finder[v2.8.9, v3.1.4].
- Can only install one of: symfony/finder[v3.0.0, v3.1.4].
- Can only install one of: symfony/finder[v3.0.1, v3.1.4].
- Can only install one of: symfony/finder[v3.0.2, v3.1.4].
- Can only install one of: symfony/finder[v3.0.3, v3.1.4].
- Can only install one of: symfony/finder[v3.0.4, v3.1.4].
- Can only install one of: symfony/finder[v3.0.5, v3.1.4].
- Can only install one of: symfony/finder[v3.0.6, v3.1.4].
- Can only install one of: symfony/finder[v3.0.7, v3.1.4].
- Can only install one of: symfony/finder[v3.0.8, v3.1.4].
- Can only install one of: symfony/finder[v3.0.9, v3.1.4].
- Installation request for symfony/finder (locked at v3.1.4) -> satisfiable by symfony/finder[v3.1.4].
Installation failed, reverting ./composer.json to its original content.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.