scrawler/storage

storage system for scrawler framework

v2.1.0 2024-10-17 18:13 UTC

README

Scrawler Storage

GitHub Workflow Status Codecov Scrutinizer Code Quality PHPStan Enabled Packagist Version Packagist License



🔥A Flysystem wrapper with added file validation and security for efficient, safe file management. 🔥
🇮🇳 Made in India 🇮🇳

💻 Installation

You can install Scrawler App via Composer. If you don't have composer installed , you can download composer from here

composer require scrawler/storage

✨ Basic usage

<?php

require __DIR__ . '/vendor/autoload.php';

storage()->setAdapter(new \Scrawler\Adapters\Storage\LocalAdapter(__DIR__ . '/../storage/app'));
storage()->write('hello.txt','hello world');