Download the PHP package nishthatechnosoft/php-file-manager without Composer

On this page you can find all versions of the php package nishthatechnosoft/php-file-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-file-manager

PHP File Manager

Latest Version License PHP Version

PHP File Manager

PHP Version [License](L## Sup## - Path-based na- PSR-12 co## Auth## Author

Dhiraj Dhiman

---Dhiman**


โญ If you find this project useful, please consider giving it a star on GitHub!Comprehensive documentation

Author

Dhiraj Dhiman

---- Bulk operations support

Author

Dhiraj Dhiman

--- Dhiman**


โญ If you find this project useful, please consider giving it a star on GitHub! Dhiman**


โญ If you find this project useful, please consider giving it a star on GitHub!ocumentation](https://github.com/dhiraj-nishthatechnosoft/php-file-manager/wiki)

A modern, feature-rich web-based file manager built with PHP 8.0+. This package provides a complete file management solution with advanced features like bulk operations, archive handling, path-based navigation, and a responsive user interface.

โœจ Features

๐Ÿ” Security

๐Ÿ“ File Operations

๐Ÿ“ฆ Archive Management

๐ŸŽจ Modern Interface

โšก Advanced Features

๐Ÿ“ฆ Installation

Via Composer (Recommended)

Manual Installation

  1. Download the latest release
  2. Extract to your project directory
  3. Install dependencies: composer install

๐Ÿš€ Quick Start

Basic Usage

Using Configuration File

Create filemanager-config.php:

Then in your PHP file:

โš™๏ธ Configuration Options

Option Type Default Description
root_path string $_SERVER['DOCUMENT_ROOT'] Root directory for file operations
upload_path string {root_path}/uploads Directory for file uploads
password string 'admin123' Authentication password
max_file_size integer 52428800 (50MB) Maximum file upload size in bytes
allowed_extensions array See below Array of allowed file extensions
session_name string 'php_file_manager' Session name for authentication
enable_compression boolean true Enable file compression features
enable_bulk_operations boolean true Enable bulk file operations
enable_archive_operations boolean true Enable archive creation/extraction

Default Allowed Extensions

๐ŸŽฏ Usage Examples

Custom Authentication

Restricted File Types

Production Configuration

๐Ÿ›ก๏ธ Security Considerations

  1. Change Default Password: Always use a strong, unique password
  2. Restrict File Types: Only allow necessary file extensions
  3. Set Upload Limits: Configure appropriate file size limits
  4. Use HTTPS: Always serve over encrypted connections
  5. Restrict Access: Use .htaccess or server config to limit access
  6. Regular Updates: Keep the package updated for security patches

Example .htaccess Protection

๐Ÿ”ง Advanced Usage

Custom Resource Management

Integration with Frameworks

Laravel Integration

Symfony Integration

๐ŸŽจ Customization

Custom Styling

Override the default CSS by including your own stylesheet after the package CSS:

Custom JavaScript

Extend functionality by adding your own JavaScript:

๐Ÿงช Development

Requirements

Setup Development Environment

Running Tests

Code Style

๐Ÿ“ Changelog

Version 1.0.0

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Contribution Guidelines

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

๐Ÿ“ž Support

๐Ÿ”— Links


Made with โค๏ธ by Dhiraj Dhiman

Features

Installation

Via Composer (Recommended)

Manual Installation

  1. Download the latest release from GitHub
  2. Extract files to your web directory
  3. Install dependencies:

Quick Start

Basic Usage

Advanced Configuration

Configuration Options

Option Type Default Description
root_path string $_SERVER['DOCUMENT_ROOT'] Root directory for file operations
upload_path string {root_path}/uploads Directory for uploaded files
max_file_size int 52428800 (50MB) Maximum file upload size in bytes
allowed_extensions array See config Array of allowed file extensions
password string admin123 Authentication password
session_name string php_file_manager Session variable name
enable_compression bool true Enable/disable compression features
enable_bulk_operations bool true Enable/disable bulk operations
enable_archive_operations bool true Enable/disable archive operations

Security Features

API Reference

FileManager Class

Constructor

Methods

Configuration Class

Methods

FileController Class

File Operations

Bulk Operations

Archive Operations

Frontend Features

Path-Based Navigation

Bulk Operations

File Editor

Browser Support

Requirements

Development

Running Tests

Code Style Check

Static Analysis

Fix Code Style

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Changelog

v1.0.0 (2025-01-29)

Support

Author

Dhiraj Dhiman


โญ If you find this project useful, please consider giving it a star on GitHub!

Security Considerations

  1. Change Default Password: Always change the default password in production
  2. Restrict Access: Consider additional IP-based restrictions
  3. File Permissions: Set appropriate file system permissions
  4. HTTPS: Use HTTPS in production environments
  5. File Type Validation: The system restricts editable file types for security

Requirements

Troubleshooting

Common Issues

  1. Permission Denied: Ensure web server has write permissions
  2. Upload Fails: Check upload_max_filesize and post_max_size in php.ini
  3. Archive Creation Fails: Ensure ZipArchive extension is installed
  4. Can't Edit Files: Check if file extension is in ALLOWED_EXTENSIONS array

Error Messages

License

This project is open source and available under the MIT License.

Contributing

Feel free to submit issues, fork the repository, and create pull requests for any improvements.

Changelog

Version 1.0


All versions of php-file-manager with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-zip Version *
ext-phar Version *
ext-json Version *
ext-session Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nishthatechnosoft/php-file-manager contains the following files

Loading the files please wait ...