omnibase / drive
The drive application for omnibase: a site's own cloud of folders and files - who each folder is for, sharing by name, workspaces with their tasks, search, previews, zips, download counts - on the site's storage or its Google Drive
Package info
github.com/glitchr-omnisense/omnibase-drive
Type:symfony-bundle
pkg:composer/omnibase/drive
Requires
- php: ^8.2
- doctrine/doctrine-bundle: ^2.10|^3.0
- doctrine/orm: ^2.15|^3.0
- league/flysystem: ^3.0
- league/flysystem-bundle: ^3.1
- omnisense/omnibase: 3.x-dev || 4.0.*-dev
- symfony/config: ^7.0|^8.0
- symfony/console: ^7.0|^8.0
- symfony/dependency-injection: ^7.0|^8.0
- symfony/http-kernel: ^7.0|^8.0
- symfony/mime: ^7.0|^8.0
- symfony/security-bundle: ^7.0|^8.0
- symfony/string: ^7.0|^8.0
Requires (Dev)
- league/flysystem-local: ^3.0
- phpunit/phpunit: ^11.0|^12.0
Suggests
- ext-intl: A search that sets accents aside
- ext-zip: A folder downloaded as one zip
- google/apiclient: The documents on the site's Google Drive, connected from the back office
- masbug/flysystem-google-drive-ext: The flysystem adapter the Google Drive storage goes through
- omnibase/admin: The back office's Google Drive page (/admin/drive)
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-31 14:57:03 UTC
README
The drive application for the sites built on omnisense/omnibase: a site's own cloud of folders and files - who each folder is for, whom it is shared with by name, workspaces with their people and tasks, a search through the tree, each person's own root, previews, zips and download counts - on the site's storage, or on its Google Drive once connected from the back office. Not to be confused with omnisense/omnidrive, the storage access: this bundle is the application a site's people use.
The backend is the bundle's; the look is each site's. The bundle ships plain, unstyled templates
made of blocks, which a site overrides with its own (templates/bundles/DriveBundle/), keeping its
own styles and Stimulus controllers.
Requirements
- PHP 8.2+,
doctrine/orm2.15 or 3,doctrine/doctrine-bundle omnisense/omnibase3.x or 4.0,league/flysystem3 withleague/flysystem-bundle- Symfony 7 or 8 (
config,console,dependency-injection,http-kernel,mime,security-bundle,string) - Suggested:
google/apiclientandmasbug/flysystem-google-drive-ext(the files on the site's Google Drive),omnibase/admin(the back office's Google Drive page),ext-zip,ext-intl
Installation
composer require omnibase/drive
// config/bundles.php Base\Drive\DriveBundle::class => ['all' => true],
# config/routes.yaml drive_controller: resource: "@DriveBundle/src/Controller" type: attribute prefix: /
# config/routes_paths.yaml - where the drive is (omnibase's localized paths) app.share: fr: /cloud/{path} en: /cloud/{path}
# config/packages/flysystem.yaml - its files, never public flysystem: storages: local.share: local: directory: '%kernel.project_dir%/var/storage/share'
Its tables are sharedPath, sharedPathMember, shareTask and shareDownload: generate the
application's migration (make:migration).
Documentation
docs/index.md: installation, configuration, audiences, people, the site's look, Google Drive, commands, testing.
License
MIT