PHPackages                             imanilchaudhari/yii2-asset-free - 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. imanilchaudhari/yii2-asset-free

ActiveProject[Framework](/categories/framework)

imanilchaudhari/yii2-asset-free
===============================

Yii 2 Project Template With Asset Free Bundles. Suitable for API &amp; Console Apps

1.4(2y ago)125BSD-3-ClausePHPPHP &gt;=7.4.0

Since Nov 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/imanilchaudhari/yii2-asset-free)[ Packagist](https://packagist.org/packages/imanilchaudhari/yii2-asset-free)[ RSS](/packages/imanilchaudhari-yii2-asset-free/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (5)Dependencies (7)Versions (6)Used By (0)

 [ ![](https://avatars0.githubusercontent.com/u/993323) ](https://github.com/yiisoft)

Yii 2 Asset Free Template
=========================

[](#yii-2-asset-free-template)

This is a project template suitable for API &amp; console apps. This app template is without the bower &amp; npm package, which makes it lightweight.

DIRECTORY STRUCTURE
-------------------

[](#directory-structure)

```
  config/             contains application configurations
  database/           contains database migrations, seeders
  public/             contains the entry script and Web resources
  resources/          contains various tests for the basic application
    mail/             contains view files for e-mails
  runtime/            contains files generated during runtime
  src/
    commands/         contains console commands (controllers)
    controllers/      contains Web controller classes
    models/           contains model classes
  tests/              contains various tests for the basic application
  vendor/             contains dependent 3rd-party packages

```

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

[](#requirements)

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

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

[](#installation)

### Install via Composer

[](#install-via-composer)

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

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

```
composer create-project --prefer-dist imanilchaudhari/yii2-asset-free basic-api

```

Now you should be able to access the application through the following URL, assuming `basic-api` is the directory directly under the Web root.

```
http://localhost/basic-api/public/

```

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

[](#configuration)

### Database

[](#database)

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

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

**NOTES:**

- Yii won't create the database for you, this has to be done manually before you can access it.
- Check and edit the other files in the `config/` directory to customize your application as required.
- Refer to the README in the `tests` directory for information specific to basic application tests.

###  Health Score

31

↑

LowBetter than 68% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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 ~510 days

Total

5

Last Release

1052d ago

PHP version history (2 changes)1.0PHP &gt;=5.4.0

1.4PHP &gt;=7.4.0

### Community

Maintainers

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

---

Top Contributors

[![imanilchaudhari](https://avatars.githubusercontent.com/u/6130886?v=4)](https://github.com/imanilchaudhari "imanilchaudhari (9 commits)")

---

Tags

yii2asset free yii2

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/imanilchaudhari-yii2-asset-free/health.svg)

```
[![Health](https://phpackages.com/badges/imanilchaudhari-yii2-asset-free/health.svg)](https://phpackages.com/packages/imanilchaudhari-yii2-asset-free)
```

###  Alternatives

[yiisoft/yii2-app-advanced

Yii 2 Advanced Project Template

1.7k957.7k5](/packages/yiisoft-yii2-app-advanced)[yiisoft/yii2-app-basic

Yii 2 Basic Project Template

7031.8M7](/packages/yiisoft-yii2-app-basic)[yii2-starter-kit/yii2-starter-kit

Yii2 Starter Kit Application Template

1.4k6.6k](/packages/yii2-starter-kit-yii2-starter-kit)

PHPackages © 2026

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