PHPackages                             nitricware/nwfileoperations - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. nitricware/nwfileoperations

ActiveLibrary[File &amp; Storage](/categories/file-storage)

nitricware/nwfileoperations
===========================

Function collection for different file operations like completing a path or creating a file.

1.0.1(5y ago)0251MITPHPPHP &gt;=5.3.0

Since Jul 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/nitricware/NWFileOperations)[ Packagist](https://packagist.org/packages/nitricware/nwfileoperations)[ Docs](https://github.com/nitricware/nwfileoperations)[ RSS](/packages/nitricware-nwfileoperations/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

NWFileOperations 1.0.1
======================

[](#nwfileoperations-101)

**Disclaimer: This package is a legacy package for nitricware/nwlog and nitricware/nwdatabase (before version 2.0)**

Introduction
------------

[](#introduction)

NWFileOperations provides multiple functions for easy file handling.

License
-------

[](#license)

The NWFileOperations is distributed under the **MIT License** which allows you to use it privately and commercially, to distribute, modify and sublicense it. You may not hold me liable and must include my name in the credits of your work.

NWFileOperations was created by **Kurt Höblinger** as **NitricWare**.

Requirements
------------

[](#requirements)

NWFileOperations requires NWLog (available on Github) and PHP 5.x.

Usage
-----

[](#usage)

Use *Composer* to install NWFileOperations to your project via the `composer require nitricware/nwfileoperations` command or your `composer.json`.

Alternatively you can also just include the NWFileOperations.php-file.

```
require "./path/to/NWFileOperations.php";
```

Functions
---------

[](#functions)

For information about the functions, please check the documentation inside the .php-file!

### With NWFileOperations you can:

[](#with-nwfileoperations-you-can)

- Complete a path to match ./path/
- Delete an object
- Create a file
- Create a directory
- Empty a directory
- List the contents of a directory
- Get the size of a file
- Copy an object
- Rename an object
- Move an object
- Count the lines of a file
- Read specified lines of a file
- Append a number to a filename while filename exists

Changelog
---------

[](#changelog)

v1.0.1

- composer fix

v1.0c

- made it available to composer

v1.0

- initial release

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2129d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0de3ce105b67096aa4cf6ae39d1e4f6f371541174b264fedc4191a90aa4c5e21?d=identicon)[nitricware](/maintainers/nitricware)

---

Top Contributors

[![nitricware](https://avatars.githubusercontent.com/u/10908453?v=4)](https://github.com/nitricware "nitricware (10 commits)")

---

Tags

phputilityfile

### Embed Badge

![Health badge](/badges/nitricware-nwfileoperations/health.svg)

```
[![Health](https://phpackages.com/badges/nitricware-nwfileoperations/health.svg)](https://phpackages.com/packages/nitricware-nwfileoperations)
```

###  Alternatives

[blueimp/jquery-file-upload

File Upload widget for jQuery.

141.5M18](/packages/blueimp-jquery-file-upload)[davaxi/vcalendar

PHP Class to generate VCalendar (ics) file

1180.8k](/packages/davaxi-vcalendar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
