PHPackages                             jinnguyen/puja-stdlib - 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. jinnguyen/puja-stdlib

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

jinnguyen/puja-stdlib
=====================

Puja-Stdlib provides basic functions such as File,Folder and more

v1.2.0(9y ago)01593Apache License 2.0PHP

Since Jan 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jinnguyen/puja-stdlib)[ Packagist](https://packagist.org/packages/jinnguyen/puja-stdlib)[ RSS](/packages/jinnguyen-puja-stdlib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (3)

puja-stdlib
===========

[](#puja-stdlib)

Puja-Stdlib provides basic functions such as File, Folder and more

### Puja\\Stdlib\\File\\File

[](#pujastdlibfilefile)

Document document at
**Addition functions**```
bool Puja\Stdlib\File\File::isUploadedFile() // Tells whether the file was uploaded via HTTP POST
Returns TRUE if the file named by filename was uploaded via HTTP POST. This is useful to help ensure that a malicious user hasn't tried to trick the script into working on files upon which it should not be working--for instance, /etc/passwd.
```

```
bool Puja\Stdlib\File\File::moveUploadedFile() // Moves an uploaded file to a new location
This function checks to ensure that the file designated by filename is a valid upload file (meaning that it was uploaded via PHP's HTTP POST upload mechanism). If the file is valid, it will be moved to the filename given by destination.
```

### Puja\\Stdlib\\File\\Info

[](#pujastdlibfileinfo)

Document document at
**Addition functions**```
array Puja\Stdlib\File\Info::getBasenameWithoutExt($subfix = null)  // Return the file name without ext
string Puja\Stdlib\File\Info::getContent()  // Return the file content
```

### Puja\\Stdlib\\File\\Temp

[](#pujastdlibfiletemp)

Document at ### Puja\\Stdlib\\Folder\\Folder

[](#pujastdlibfolderfolder)

Document at **Addition functions**

```
array Puja\Stdlib\Folder\Folder::getChildFiles()  // Return a list of child files in folder
array Puja\Stdlib\Folder\Folder::getChildFoldes()  // Return a list of sub folders in folder
array Puja\Stdlib\Folder\Folder::getChild()  // Return a list of both child files and sub folders in folder
array Puja\Stdlib\Folder\Folder::getDirectChildFiles()  // Return a list of direct child files in folder
array Puja\Stdlib\Folder\Folder::getDirectChildFoldes()  // Return a list of direct sub folders in folder
array Puja\Stdlib\Folder\Folder::getDirectChild()  // Return a list of both direct child files and direct sub folders in folder
```

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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

Every ~17 days

Total

3

Last Release

3365d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25e5bd31b5dd70d47cbdc738bded06dbabfba3d584acce63c2c4b4fb7847f39d?d=identicon)[jinnguyen](/maintainers/jinnguyen)

---

Top Contributors

[![linhnmt](https://avatars.githubusercontent.com/u/10231628?v=4)](https://github.com/linhnmt "linhnmt (3 commits)")[![linhnnmt](https://avatars.githubusercontent.com/u/162856460?v=4)](https://github.com/linhnnmt "linhnnmt (2 commits)")

---

Tags

filesystemfolderfile systempujaStandard lib

### Embed Badge

![Health badge](/badges/jinnguyen-puja-stdlib/health.svg)

```
[![Health](https://phpackages.com/badges/jinnguyen-puja-stdlib/health.svg)](https://phpackages.com/packages/jinnguyen-puja-stdlib)
```

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.1k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M788](/packages/league-flysystem-aws-s3-v3)[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[knplabs/knp-gaufrette-bundle

Allows to easily use the Gaufrette library in a Symfony project

72528.6M91](/packages/knplabs-knp-gaufrette-bundle)[league/flysystem-local

Local filesystem adapter for Flysystem.

226231.8M39](/packages/league-flysystem-local)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40029.5M87](/packages/league-flysystem-bundle)

PHPackages © 2026

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