Download the PHP package nodes/assets without Composer
On this page you can find all versions of the php package nodes/assets. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package assets
Assets
A easy integration for handling files with Laravel.
📝 Introduction
One thing we at Nodes have been missing in Laravel is a fast easy file storage integration system.
The Storage
facade made it easier, but we still need the option to upload from differente formats and store to a very specific folder structure, retrieve a path and be able to create urls to serve api and sites.
📦 Installation
To install this package you will need:
- Laravel 5.1+
- PHP 5.5.9+
You must then modify your composer.json
file and run composer update
to include the latest version of the package in your project.
Or you can run the composer require command from your terminal.
🔧 Setup
Setup service provider in config/app.php
Setup alias in config/app.php
Publish config files
If you want to overwrite any existing config files use the --force
parameter
S3 + ImgIX
In general.php config
Make sure to have .env setup
Vapor Cloud
In general.php config
Make sure to have .env setup
Public Folder
Public folder method can resize images. To setup, you need Intervention image lib. To install run
Then add the following to app.php
providers array
aliases array
finally run
Configure for public folder
Modify the configuration in config/nodes/assets/general.php
⚙ Usage
Global methods
Facade methods
🏆 Credits
This package is developed and maintained by the PHP team at Nodes
📄 License
This package is open-sourced software licensed under the MIT license
All versions of assets with dependencies
illuminate/container Version >=5.2.0 <6.15.0
symfony/http-foundation Version 2.8.*||3.0.*||3.1.*||3.2.*||3.3.*||4.3.*||4.4.*
nodes/core Version ^1.1
nodes/cache Version ^1.0
league/flysystem-aws-s3-v3 Version ~1.0