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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxNTk0NDEsIm5iZiI6MTcxOTE1OTE0MSwicGF0aCI6Ii81MjY4MTI0LzMwMzA2NTE5Ny0xMTY4NjVhYy1iOWFmLTRkNTktOWQzNy1mZTViMDU2NzkxM2EucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjNUMTYxMjIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTMyYjY2MmQ1MjE3Yjg5MzYxOTQ0MWY5NmVlNDMyNDg3ODRkMTRjMzIwNmUyZmNmOWY3NzhhZGZhMDAyZGIyOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.MBOsJYfOYyEgAw5BL12vR_7EAMl26OOvnpCnwbDoHBY)
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.