No description
Find a file
2026-11-04 08:18:14 +01:00
.vscode intial work 2026-11-03 15:29:18 +01:00
config feat(StorageServiceConfig): add prefix handling and validation 2026-11-04 08:11:57 +01:00
src feat(StorageServiceConfig): add prefix handling and validation 2026-11-04 08:11:57 +01:00
tests feat(StorageServiceConfig): add prefix handling and validation 2026-11-04 08:11:57 +01:00
.editorconfig intial work 2026-11-03 15:29:18 +01:00
.gitattributes chore: add .gitattributes for line endings and export-ignore rules 2026-11-03 16:16:49 +01:00
.gitignore chore: update .gitignore and add bun.lock and cliff.toml 2026-11-04 07:27:52 +01:00
.gitlab-ci.yml feat(tests): add initial test structure and example tests 2026-11-03 16:20:14 +01:00
bun.lock chore: update .gitignore and add bun.lock and cliff.toml 2026-11-04 07:27:52 +01:00
CHANGELOG.md chore(cliff.toml): add spacing before release headings in changelog 2026-11-04 08:18:14 +01:00
cliff.toml chore(cliff.toml): add spacing before release headings in changelog 2026-11-04 08:18:14 +01:00
composer.json docs: update changelog for version 1.0.2 2026-11-04 08:14:53 +01:00
license.md intial work 2026-11-03 15:29:18 +01:00
package.json chore: update .gitignore and add bun.lock and cliff.toml 2026-11-04 07:27:52 +01:00
phpcs.xml chore: update phpcs and phpstan configurations 2026-11-03 16:17:24 +01:00
phpstan.neon chore(dependencies): update phpstan-mockery version in composer.json 2026-11-03 17:35:33 +01:00
phpunit.xml feat(tests): add initial test structure and example tests 2026-11-03 16:20:14 +01:00
pint.json chore: update phpcs and phpstan configurations 2026-11-03 16:17:24 +01:00
README.md intial work 2026-11-03 15:29:18 +01:00

Storage Laravel

A clean Laravel service package to manage and sanitize external files.

Installation

composer require uwil/storage-laravel

Configuration

Publish the config file:

php artisan vendor:publish --provider="Uwil\Storage\StorageServiceProvider" --tag="config"

Usage

Inject Uwil\Storage\Contracts\StorageService into your controllers or jobs:

use Uwil\Storage\Contracts\StorageService;

public function upload(Request $request, StorageService $storage)
{
    $request->validate(['file' => 'required|file']);

    $storedPath = $storage->storeUploaded($request->file('file'));
}