Warehouse is a simple storage for Laravel. It allows you to store files using an HTTP API.
![laravel-warehouse](https://private-user-images.githubusercontent.com/5268124/303065197-116865ac-b9af-4d59-9d37-fe5b0567913a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5NTQ5MTksIm5iZiI6MTcxOTk1NDYxOSwicGF0aCI6Ii81MjY4MTI0LzMwMzA2NTE5Ny0xMTY4NjVhYy1iOWFmLTRkNTktOWQzNy1mZTViMDU2NzkxM2EucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDJUMjExMDE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTNiY2EzYzgwNGMxNGVkOTRmMTkyMTZlY2ZiZDc2Yzk1NjcyMmEyYjIwNTk3MGVmM2MwZjM0M2M0NTlmOTcyMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.hp64ifdtTMsqIWiD0OPbDPFvMolXt34tTl3C_xvu6uQ)
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
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.
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
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.
The MIT License (MIT). Please see License File for more information.