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 Distribution Bundle Laravel Package

aboutcoders/file-distribution-bundle

Symfony bundle providing database-backed file management and distribution. Define filesystems in config or persist via Doctrine ORM, then store and transfer files across local, FTP, or CDN targets. Built on the AbcFileDistribution library and unit tested.

View on GitHub
Deep Wiki
Context7

AbcFileDistributionBundle

The AbcFileDistributionBundle provides a database-backed file management system for Symfony. It gives you a flexible framework for storing and transferring files between various locations (Local, FTP, CDN). It is build on top of AbcFileDistribution library.

Build Status: Build Status

Overview

This bundle provides the following features:

  • Filesystem definitions can be stored via Doctrine ORM, MongoDB/CouchDB ODM or Propel
  • Filesystem definitions can be defined in configuration
  • Unit tested

We appreciate if you decide to use this bundle and we appreciate your feedback, suggestions or contributions.

Installation

Add the AbcFileDistributionBundle to your composer.json file

{
    "require": {
        "aboutcoders/file-distribution-bundle": "~1.1"
    }
}

Then include the bundle in the AppKernel.php class

public function registerBundles()
{
    $bundles = array(
        // ...
        new Abc\Bundle\FileDistributionBundle\AbcFileDistributionBundle(),
    );

    return $bundles;
}

Configuration

Configure doctrine orm

At the current point only doctrine is supported as ORM. However by changing the configuration you can use a different persistence layer.

abc_file_distribution:
    db_driver: orm
    filesystems:
        assets:
            type: LOCAL
            path: "%data_dir%/assets"
            options:
                create: true

Update the database schema

Finally you need to update your database schema in order to create the required tables.

php app/console doctrine:schema:update --force

Further Documentation

ToDo:

  • Update docs

About

AbcFileDistributionBundle is a AboutCoders initiative.

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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
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
christhompsontldr/laravel-inky
spatie/mailcoach-vapor