{"repo":"arubacao/asset-cdn","free":true,"listed":false,"github":"https://github.com/arubacao/asset-cdn","clone":"git clone https://github.com/arubacao/asset-cdn.git","description":"Serve Laravel Assets from a Content Delivery Network (CDN)","language":"PHP","stars":110,"topics":["laravel","cdn","content-delivery-network","cloudfront"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Serve Laravel Assets from a Content Delivery Network (CDN) Introduction This package lets you push , sync , delete and serve assets to/from a CDN of your choice e.g. AWS Cloudfront. It adds helper methods mix cdn() and asset cdn() . Simple Illustration Installation Install this package via composer: The service provider is auto-discovered by supported Laravel versions. Notes: - arubacao/asset-cdn supports Laravel 9 , 10 , 11 , 12 , and 13 . - The minimum supported PHP version is 8.1 ; Laravel 13 requires PHP 8.3 or newer. - The CI matrix tests the supported Laravel versions with their compatible PHP, Testbench, and PHPUnit versions. Configuration 1. Configure Filesystem Only required if you plan to manage your assets via the provided commands: asset-cdn:push , asset-cdn:sync , asset-cdn:empty arubacao/asset-cdn utilizes Laravel's Filesystem to push , sync , delete assets to/from the CDN of your choice. Therefore, you have to configure and define a filesystem specific for CDN purposes. Please follow the official documentation. If you plan to use AWS S3/Cloudfront you can use this configuration: 2. Publish Config File 3. Edit cdn url and filesystem.disk 4. Edit files in config/asset-cdn.php Only required if you plan to manage your assets via the provided commands: asset-cdn:push , asset-cdn:sync , asset-cdn:empty files always assumes a relative path from the public directoy - ignoreDotFiles Excludes \"hidden\" directories and files (starting with a dot). - ignoreVCS Ignore versio","default_branch":null,"files":null,"tree":[],"storefront":"/r/arubacao","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/arubacao/asset-cdn/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}