
Codeigniter download files from database and host - theme, will
tattersoftware / codeigniter4-files
File uploads and management, for CodeIgniter 4
Quick Start
- Install with Composer:
- Migrate the database:
- Seed the database:
- Start managing files: https://example.com/files



Features
The Files module is a self-contained set of routes and functions that adds uploading and CRUD controls to any project. It uses DropzoneJS for drag-and-drop uploads, and supports a number of extensions for generating file thumbnails and exporting files to various destinations.
Installation
Install easily via Composer to take advantage of CodeIgniter 4's autoloading capabilities and always be up-to-date:
Or, install manually by downloading the source files and adding the directory to .
Once the files are downloaded and included in the autoload, run any library migrations to ensure the database is setup correctly:
Finally, run the seeder to install necessary database settings:
NOTE: If your project is part of a tracking repository you probably want to add the file storage to your .gitignore
Configuration (optional)
The library's default behavior can be altered by extending its config file. Copy examples/Files.php to app/Config/ and follow the instructions in the comments. If no config file is found in app/Config the library will use its own.
-