PHP Classes

noSQL Packages: Manage the approval of packages stored in files

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 223 All time: 8,176 This week: 263Up
Version License PHP version Categories
docnosql 0.1GNU General Publi...5.4PHP 5, Databases, Files and Folders, C...
Description Author

This class can manage the approval of packages stored in files.

It can add packages to a database made of CSV files with status information that determines if the package is submitted and is pending approval of a moderator, reviewed, approved, rejected or deleted.

The class can also update the package status and other information, retrieve the list of packages by status, retrieve the details of a package, and check if a given package id is valid.

The class can keep track of the history of changes to each package in a separate CSV file.


Open Source Approvals Management Engine
Need an "Open Source Approvals Management Engine"

Innovation Award
PHP Programming Innovation award nominee
November 2015
Number 13
In user contributed content sites, it is often necessary have some kind of moderation to assure that all content complies with the site rules.

This package can manage a system of packages to be approved for publication in a user contributed content site. It uses a moderation process that allows for review and approval of submitted packages.

Manuel Lemos
Picture of Dave Smith
  Performance   Level  
Name: Dave Smith is available for providing paid consulting. Contact Dave Smith .
Classes: 51 packages by
Country: United States United States
Age: 57
All time rank: 639 in United States United States
Week rank: 8 Up1 in United States United States Up
Innovation award
Innovation award
Nominee: 32x

Winner: 7x

Class: docStat
Version: 0.1 beta 10/28/2015

Copyright 2015 Wagon Trader, All Rights Reserved


This class is a package approval system based on document oriented noSQL data.

It supports creating, reading and updating package folders and tracks their
approval status.


docstat.class.php - Main class

example.php - Usage examples


Upload files to a web accessible location on your server (eg. public_html).

On Linux systems, set the permissions on your package folder to read and write (666) or (777)


Configure the following properties in docstat.class.php for your setup...

$rootFolder - The folder which will contain the package data, defaults to package/

$allowDupTitles - Set to false to force unique package titles.

$timeFormat - Set your prefered display format for timeStamps.


Usage examples are provided in the example.php file.


0.1 beta

Initial beta release
  Files folder image Files  
File Role Description
Files folder imagepackage (1 file)
Plain text file docstat.class.php Class Main Class
Accessible without login Plain text file example.php Example Example Usage
Accessible without login Plain text file license.txt Lic. License
Accessible without login Plain text file manual.txt Doc. Documentation

  Files folder image Files  /  package  
File Role Description
  Accessible without login Plain text file data.csv Data Site package data

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,176
This week:263Up
For more information send a message to info at phpclasses dot org.