PHP Classes

NewWay PHP File Manager: Manage files and directories with AJAX interface

Recommend this page to a friend!
  Info   View files View files (51)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 796 All time: 4,290 This week: 152Up
Version License PHP version Categories
newway-file-manager 1.0.17Custom (specified...5PHP 5, Files and Folders, Content man...
Description 

Author

This package can be used to manage files and directories with AJAX interface.

The main class can perform several types of operations on files and directories on the server.

Currently it can handle uploaded files, view and delete files and directories.

Picture of naveen
  Performance   Level  
Name: naveen <contact>
Classes: 5 packages by
Country: India India
Innovation award
Innovation award
Nominee: 2x

Winner: 2x

Recommendations

file php class pdo
I need manipulate files

Details

NEWWAY FILE MANAGER

Gitter [License: GPL v3]() <img src="https://upload.wikimedia.org/wikipedia/commons/0/06/Facebook.svg" width="80">

Need help? Have a suggestion? Join with us in gitter

https://gitter.im/newwayfilemanager/community#

What newway filemanager does?

Newway is a file manager for servers written with PHP. To install it, just download this repo and place the folder in your root and access it by https://yourwebsitename/foldername. You will be asked to set up an email and password to access the file manager. This application doesn't require a database. Instead, it uses a flat files as its database, which will be generated and placed outside your root directory after the completion of setup. Other things in this file manager are pretty self explantory.

REQUIREMENTS

Version 3.0

PHP >= 7.3

Version 2.0

PHP >= 7.2

It is to be noted that version 2.0 is no longer supported and no bug fixes shall be made.

Do i need to have a database?

Newway uses the presence of the newway_users.json file to detect whether an email ID and password has been registered. If you forget the email ID or password registered for Newway, the only way to reset it is to delete the newway_users.json file (thus deleting the existing registered information). After doing so, you'll be able to register a new email ID and password for Newway.

Steps to install

  1. Download or clone the repo and extract it to your server root
  2. Make sure the server is the owner of server root (which is very much essential for newway to function, if not then use ` chmod www-data:www-data /var/www/html`, assuming www-data is your server user name and /var/www/html is your server root
  3. If you are using cpanel without SSH access, then you cant really follow step 2, in that case set the permission of server root to `755`, make sure to recurse the permissions in to subdirectories
  4. Open the url yourdomainname.com/newway-folder-name , you will be asked to register now login with the registered information

Screenshots from Newway

Main UI (List View)

Screenshot_2019-09-29_20-57-28

Main UI (Grid View)

Screenshot_2019-09-29_20-56-55

Like to contribute?

I appreciate your interest to contributing to newway, please follow the below steps - The entire codebase is developed with tdd(test driven development), and all paths in api/all_classes.php are covered in it - Newway file manager uses codeception testing framework for running tests (download from here -> https://codeception.com/) - After downloading, go to newway file manger directory and enter php /path/to/codeception/binary run unit in terminal, it will run the tests and it will pass all the tests (it should, unless some file tests may fail in some operating systems) - Write the test and then make your change - Run the tests again if it passes, push it to your branch - send the pull request. - if the test fail after making your change it indicates it broke some part of the working application - so in that case you need to refactor the code and make sure the tests always pass


  Files folder image Files  
File Role Description
Files folder imageapi (2 files)
Files folder imagecomponents (18 files)
Files folder imagecss (2 files)
Files folder imagefonts (2 files)
Files folder imagejs (6 files)
Files folder imagetests (3 files, 2 directories)
Plain text file codeception.yml Data Auxiliary data
Plain text file CONTRIBUTING.md Data Auxiliary data
Image file favicon.ico Data Auxiliary data
Plain text file index.php Aux. Auxiliary script
Plain text file LICENSE Lic. License text
Plain text file README.md Doc. Documentation

  Files folder image Files  /  api  
File Role Description
  Plain text file all_classes.php Class Class source
  Plain text file views.php Class Class source

  Files folder image Files  /  components  
File Role Description
  HTML file add_user_component.html Doc. Documentation
  Plain text file add_user_component.js Data Auxiliary data
  HTML file alert_component.html Doc. Documentation
  Plain text file alert_component.js Data Auxiliary data
  HTML file create_new_folder_component.html Doc. Documentation
  Plain text file create_new_folder_component.js Data Auxiliary data
  HTML file delete_component.html Doc. Documentation
  Plain text file delete_component.js Data Auxiliary data
  HTML file file_folder_component.html Doc. Documentation
  Plain text file file_folder_component.js Data Auxiliary data
  HTML file layout_chooser_component.html Doc. Documentation
  Plain text file layout_chooser_component.js Data Auxiliary data
  HTML file login_component.html Doc. Documentation
  Plain text file login_component.js Data Auxiliary data
  HTML file registration_component.html Doc. Documentation
  Plain text file registration_component.js Data Auxiliary data
  HTML file upload_component.html Doc. Documentation
  Plain text file upload_component.js Data Auxiliary data

  Files folder image Files  /  css  
File Role Description
  Plain text file bootstrap.min.css Data Auxiliary data
  Plain text file fontawesome.min.css Data Auxiliary data

  Files folder image Files  /  fonts  
File Role Description
  Plain text file fontawesome-webfont.svg Data Auxiliary data
  Plain text file glyphicons-halflings-regular.svg Data Auxiliary data

  Files folder image Files  /  js  
File Role Description
  Plain text file bootstrap.min.js Data Auxiliary data
  Plain text file drag-select.js Data Auxiliary data
  Plain text file jquery.js Data Auxiliary data
  Plain text file util.js Data Auxiliary data
  Plain text file vue-resource.js Data Auxiliary data
  Plain text file vue.js Data Auxiliary data

  Files folder image Files  /  tests  
File Role Description
Files folder imageunit (3 files)
Files folder image_support (3 files, 2 directories)
  Plain text file acceptance.suite.yml Data Auxiliary data
  Plain text file functional.suite.yml Data Auxiliary data
  Plain text file unit.suite.yml Data Auxiliary data

  Files folder image Files  /  tests  /  unit  
File Role Description
  Plain text file LoginTest.php Class Class source
  Plain text file NewwayFileManagerTest.php Class Class source
  Plain text file RegistrationTest.php Class Class source

  Files folder image Files  /  tests  /  _support  
File Role Description
Files folder imageHelper (3 files)
Files folder image_generated (3 files)
  Plain text file AcceptanceTester.php Class Class source
  Plain text file FunctionalTester.php Class Class source
  Plain text file UnitTester.php Class Class source

  Files folder image Files  /  tests  /  _support  /  Helper  
File Role Description
  Plain text file Acceptance.php Class Class source
  Plain text file Functional.php Class Class source
  Plain text file Unit.php Class Class source

  Files folder image Files  /  tests  /  _support  /  _generated  
File Role Description
  Plain text file AcceptanceTesterActions.php Class Class source
  Plain text file FunctionalTesterActions.php Class Class source
  Plain text file UnitTesterActions.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:796
This week:0
All time:4,290
This week:152Up
User Ratings User Comments (2)
 All time
Utility:70%StarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:70%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2380
 
unusable probably due to the many errors open the browser c...
5 years ago (adriano ghezzi)
5%Star
Very good job
6 years ago (Juan Carlos Guerra)
80%StarStarStarStarStar