PHPackages                             tilhom/phonebook-yii2 - 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. [Framework](/categories/framework)
4. /
5. tilhom/phonebook-yii2

ActiveProject[Framework](/categories/framework)

tilhom/phonebook-yii2
=====================

Implementation of test task telephone directory using Yii 2

2482PHP

Since Jun 29Pushed 10y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

tilhom/phonebook-yii2
=====================

[](#tilhomphonebook-yii2)

Implementation of test task telephone directory using Yii 2

Statement of work: In this work want to create the program phone book containing the following information: full name, date of birth, notes, phone (mobile, home).

Features
--------

[](#features)

- The application is able to perform a global search (in part of the name, telephone),
- CRUD,
- The user interface has two roles (user and aministrator),
- migrations,
- tests,
- RBAC,
- Dynamic Forms,
- Complex Forms,
- Karthik Gridview Expand Row,
- DatePicker widget.

REQUIREMENTS
------------

[](#requirements)

The minimum requirement by this project template that your Web server supports PHP 5.4.0.

INSTALLATION
------------

[](#installation)

### Install via Composer

[](#install-via-composer)

If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).

You can then install this project template using the following command:

```
php composer.phar global require "fxp/composer-asset-plugin:~1.0.0"
php composer.phar create-project --prefer-dist --stability=dev tilhom/phonebook-yii2 phonebook

```

CONFIGURATION
-------------

[](#configuration)

### Database

[](#database)

Create the file `config/db.php` with real data, for example:

```
return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yii2basic',
    'username' => 'root',
    'password' => '1234',
    'charset' => 'utf8',
];
```

**NOTE:** Yii won't create the database for you, this has to be done manually before you can access it.

Also check and edit the other files in the `config/` directory to customize your application.

After the establishment of the project in the working directory, you must run the migration:

```
yii migration

```

After migration, use the following administrator and user accounts:

```
Login: admin
Password: admin121345

```

```
Login: user1
Password: 123456

```

To start the telephone book is in the working directory of the application, type the command:

```
php -S localhost:8080 -t web

```

Now you should be able to access the application through the following URL

```
http://localhost:8080

```

Testing
-------

[](#testing)

To create and verify the tests you must switch to directory test/codeception and correct url in the configuration file codeception.yml

Then return to directory tests to build a test environment using the command:

```
../vendor/bin/codecept build

```

Make migration with command:

```
codeception/bin/yii migrate

```

For example, to run basic template acceptance tests type command:

```
../vendor/bin/codecept run acceptance

```

Please refer to instructions provided in app/tests/README.md

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

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/1f0f0c03c150e3c6d20587286e0de3caf88b65e4e7ee239752f144d6e8f569cb?d=identicon)[tilhom](/maintainers/tilhom)

---

Top Contributors

[![tilhom](https://avatars.githubusercontent.com/u/6543750?v=4)](https://github.com/tilhom "tilhom (14 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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