Download the PHP package curly-deni/laravel-storage without Composer

On this page you can find all versions of the php package curly-deni/laravel-storage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-storage

Laravel Storage

curly-deni/laravel-storage adds polymorphic file records and filesystem helpers to Laravel applications. The package namespace is Aesis\Storage.

Installation

Publish the configuration when you need to change the defaults:

The storage.table option defaults to storage__files, preserving the table name used by the application module. Set storage.public_disk to override the default disk. When it is null, the package uses filesystems.public if your application defines it, and otherwise uses public.

Store files

Files are associated with an Eloquent model through a nullable polymorphic owner relation. The default storeContents method writes to the configured public disk. Other methods allow selecting a disk or copying a stream/file from another disk.

Available storage methods are storeContents, storeContentsOnDisk, storeStreamOnDisk, and storeFromDisk. An external filesystem value treats the file path as an already resolved URL and skips filesystem deletion.

Filesystem adapter

The package registers the aesis_s3 filesystem driver. It retains the path prefix from an S3 endpoint when building URLs, including path-style endpoints used by S3-compatible services. Disks using the driver keep Laravel's regular S3 options such as key, secret, region, bucket, url, endpoint, and use_path_style_endpoint.

The source application adds two disk options consumed by the package's accessUrl method:

The private S3 disk can also set Laravel's temporary_url option to replace the base URL used for signed links. The custom S3 adapter preserves any path prefix in that URL. This is useful when the S3 API endpoint and the URL exposed to clients are different.

For example, the source app configures private files for expiring URLs and public files for stable URLs:

Testing and code style

License

MIT. See LICENSE.md.


All versions of laravel-storage with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.0
illuminate/database Version ^11.0||^12.0||^13.0
illuminate/filesystem Version ^11.0||^12.0||^13.0
illuminate/support Version ^11.0||^12.0||^13.0
league/flysystem-aws-s3-v3 Version ^3.25
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package curly-deni/laravel-storage contains the following files

Loading the files please wait ...