PHPackages                             tonci/phonebook - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tonci/phonebook

ActiveApplication[Utility &amp; Helpers](/categories/utility)

tonci/phonebook
===============

Simple phonebook application for PHP 5.5

17PHP

Since Apr 23Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

phonebook
=========

[](#phonebook)

Simple PhoneBook Application

How to install
==============

[](#how-to-install)

- Make sure you have web server installed with php version &gt;= 5.5.\*
- Navigate to web accesible folder and execute: (if installing on linux, you may need to add "sudo" infront of every command)

```
git clone https://github.com/tonci/phonebook phonebook

```

- Get dependencies: [Additional instructions](https://getcomposer.org/doc/00-intro.md)

```
composer install

```

- Open config/db.php and setup a database
- Run this SQL:

```
CREATE DATABASE IF NOT EXISTS `phonebook` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `phonebook`;

CREATE TABLE IF NOT EXISTS `contacts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned NOT NULL,
  `full_name` varchar(255) NOT NULL,
  `email` varchar(80) NOT NULL,
  `phone` varchar(20) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `users` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `username` varchar(60) NOT NULL,
  `password` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

ALTER TABLE `contacts`
  ADD CONSTRAINT `fk_contacts_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e6fd306cfc5902b1010321264690c720c5d670b8c0f2e492f51d83012dd3b4b7?d=identicon)[tonci](/maintainers/tonci)

---

Top Contributors

[![tonci](https://avatars.githubusercontent.com/u/803858?v=4)](https://github.com/tonci "tonci (23 commits)")

### Embed Badge

![Health badge](/badges/tonci-phonebook/health.svg)

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

###  Alternatives

[silverstripesk/silverstripe-disqus

Disqus module for SilverStripe CMS http://silverstripe.sk/clanky/disqus/

171.0k](/packages/silverstripesk-silverstripe-disqus)

PHPackages © 2026

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