Skip to content

flowan/laravel-warehouse

Repository files navigation

Warehouse. Simple Storage for Laravel.

Build Status Total Downloads Latest Stable Version License

Warehouse is a simple storage for Laravel. It allows you to store files using an HTTP API.

laravel-warehouse

Installation

You can create a new project using Composer:

composer create-project flowan/laravel-warehouse

You can run the application using the following command:

sail up -d

Or using the built-in PHP server:

php artisan serve

Users

You can create a new user using the following command:

php artisan make:filament-user

You can also create a new users in the admin panel.

Buckets

In order to store files, you need to create a bucket. You can create a new bucket in the admin panel.

Buckets and files are stored in the storage/app/bucket directory. You can change the default storage directory in your .env file:

WAREHOUSE_STORAGE_PATH=/path/to/storage

Filesystem Adapter

Warehouse provides a filesystem adapter for Laravel that allows you to use an HTTP API as a filesystem.

Use this adapter in your Laravel project to store files in Warehouse.

License

The MIT License (MIT). Please see License File for more information.