PHPackages                             pradeepucer/web\_dev\_tools - 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. pradeepucer/web\_dev\_tools

ActiveTools

pradeepucer/web\_dev\_tools
===========================

Various PHP, JS, SQL, CSS and HTML Web Development tools

v2.0(3y ago)09proprietaryJavaScriptPHP &gt;=5.3.0

Since Apr 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/pradeepucer/webDevTools)[ Packagist](https://packagist.org/packages/pradeepucer/web_dev_tools)[ RSS](/packages/pradeepucer-web-dev-tools/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

webDevTools
===========

[](#webdevtools)

Overview
--------

[](#overview)

Various PHP, JS, SQL, CSS and HTML Web Development tools

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

[](#requirements)

- PHP version 5.4 or newer

Installation
------------

[](#installation)

Install the package using Composer: composer require devpradeep/web\_dev\_tools

CSV Reader
==========

[](#csv-reader)

This is a simple CSV reader that can read a CSV file and return the data as an array. It also supports mapping the data based on a provided mapper, and allows for offset and limit to control the data read.

Usage
-----

[](#usage)

```
$file_input = 'test.csv';
$csv = new CSV($file_input);
try {
    // Example 1: Read all records
    $data = $csv->read($file_input, []);
    print(''.print_r($data,true).'');

    // Example 2: Read only 10 records
    $data = $csv->read($file_input, [], 1, 10);
    print(''.print_r($data,true).'');

    // Example 3: Read only row number 10
    $data = $csv->read($file_input, [], '', '',10);
    print(''.print_r($data,true).'');

    // Example 4: Read with mapper
    $map['id'] = 2;
    $map['desc'] = 12;
    $data = $csv->read($file_input, $map, '', '',10);
    print(''.print_r($data,true).'');

    $file_output = 'log.csv';
    $csv_write = new CSV($file_output);

    $data[] = ['id' => 1, 'desc' => 'test1,455,5567 , 9900', 'link' => 'http://test1.com'];
	$data[] = ['id' => 2, 'desc' => 'test2,569697,454', 'link' => 'http://test1.com'];
	//Simple write
	//$file = $csv_write->write($file_output, $data);
	$map = [];
	$map['ID'] = 'id';
	$map['Link'] = 'link';
	$map['Description'] = 'desc';

	$formatter = array(
		'link' => function ( $v ) {
			$m = $v['link'] . '/test';
			return $m;
		},
	);
	//$file = $csv_write->write($file_output, $data, $map, $formatter)->file;
	$csv_write->write($file_output, $data, $map, $formatter)->download();

} catch (Exception $e) {
    echo "Error: " . $e->getMessage() . "\n";
}
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

Every ~27 days

Total

2

Last Release

1105d ago

Major Versions

v1.0 → v2.02023-05-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/98c64b848771fee5660bc907bf0e8011539e9cd3b1897c702e56155ebbd90539?d=identicon)[pradeepucer](/maintainers/pradeepucer)

---

Top Contributors

[![pradeepucer](https://avatars.githubusercontent.com/u/30661573?v=4)](https://github.com/pradeepucer "pradeepucer (13 commits)")

### Embed Badge

![Health badge](/badges/pradeepucer-web-dev-tools/health.svg)

```
[![Health](https://phpackages.com/badges/pradeepucer-web-dev-tools/health.svg)](https://phpackages.com/packages/pradeepucer-web-dev-tools)
```

PHPackages © 2026

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