Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

File Laravel Package

bengor-file/file

Lightweight PHP file management library built with Domain-Driven Design. Provides common operations like upload (default or by hash), overwrite, remove, and rename, with a tested, documented codebase and flexible storage integration.

View on GitHub
Deep Wiki
Context7

BenGorFile

Lightweight file PHP library developed using Domain-Driven Design

SensioLabsInsight Build Status Scrutinizer Code Quality Total Downloads Latest Stable Version Latest Unstable Version

BenGorFile is lightweight, flexible and easy to use file management library. Using Domain-Driven Design this library offers a well tested and documented codebase with many common use cases already implemented, such as:

  • Upload file
    • Default
    • By hash
  • Overwrite file
  • Remove file
  • Rename file

Requirements

PHP >= 5.5

Installation

The easiest way to install this component is using Composer

$ composer require bengor-file/file

Documentation

All the documentation is stored in the docs folder.

Show me the docs!

Tests

This library is completely tested by PHPSpec, SpecBDD framework for PHP.

Run the following command to launch tests:

$ vendor/bin/phpspec run -fpretty

Contributing

This library follows PHP coding standards, so pull requests need to execute the Fabien Potencier's PHP-CS-Fixer. Furthermore, if the PR creates some not-PHP file remember that you have to put the license header manually. In order to simplify we provide a Composer script that wraps all the commands related with this process.

$ composer run-script cs

There is also a policy for contributing to this project. Pull requests must be explained step by step to make the review process easy in order to accept and merge them. New methods or code improvements must come paired with PHPSpec tests.

If you would like to contribute it is a good point to follow Symfony contribution standards, so please read the Contributing Code in the project documentation. If you are submitting a pull request, please follow the guidelines in the Submitting a Patch section and use the Pull Request Template.

Credits

This library is created by:

@benatespina - benatespina@gmail.com @gorkalaucirica - gorka.lauzirika@gmail.com

Licensing Options

License

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity