PHPackages                             ex/package - 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. ex/package

AbandonedArchivedLibrary[Framework](/categories/framework)

ex/package
==========

Ex package for BEAR.Sunday

0.1.0(11y ago)0330proprietaryPHP

Since Dec 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bearsunday/Ex.Package)[ Packagist](https://packagist.org/packages/ex/package)[ RSS](/packages/ex-package/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

このレポジトリは[エキサイト](https://www.excite.co.jp/) のために作られました。

This repository was created for [Excite Japan](https://www.excite.co.jp/).

---

Ex.Package
==========

[](#expackage)

Ex Package for BEAR.Sunday
--------------------------

[](#ex-package-for-bearsunday)

### include packages

[](#include-packages)

- [aura/sql](https://github.com/auraphp/Aura.Sql)
- [doctrine/dbal](https://github.com/doctrine/dbal)
- [vlucas/phpdotenv](https://github.com/vlucas/phpdotenv)

composer install
----------------

[](#composer-install)

```
$ create-project bear/skeleton:~1.0@dev Vendor.Package // install bear.skeleton first
$ cd Vendor.Package
$ composer require ex/package:~0.1@dev
$ phpunit

```

module install
--------------

[](#module-install)

```
use Ex\Package\ExAppModule;
use Ray\Di\AbstractModule;
use Ex\Package\ExAppModule;
use BEAR\Package\AppMeta;
use BEAR\Package\PackageModule;
use Dotenv;
use Ray\AuraSqlModule\AuraSqlModule;
use Ray\DbalModule\DbalModule;
use Ray\Di\AbstractModule;

class ExAppModule extends AbstractModule
{
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        // app meta
        $appMeta = new AppMeta('Ex\App');
        // dot env
        Dotenv::load($appMeta->appDir);
        Dotenv::required(['PDO_DSN', 'PDO_USER', 'PDO_PASSWORD']);
        Dotenv::required(['DBAL_CONFIG']);
        // bear/package
        $this->install(new PackageModule($appMeta));
        // ex/package
        $this->install(new ExModule);
        $this->install(new AuraSqlModule($_ENV['PDO_DSN'], $_ENV['PDO_USER']. $_ENV['PDO_PASSWORD']));
        $this->install(new DbalModule($_ENV['DBAL_CONFIG']));
    }
}
```

Config
------

[](#config)

### Database

[](#database)

```
$ cp vendor/ex/package/docs/demo-app/.env .

```

.env

```
# aura/sql

PDO_DSN=mysql:host=localhost;dbname=test
PDO_USER=username
PDO_PASSWORD=password

# doctrine/dbal
# @see http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html

DBAL_CONFIG=driver=pdo_sqlite&path=/tmp/db.sqlite

```

- [PDOドライバ](http://php.net/manual/ja/pdo.drivers.php)

DI
--

[](#di)

- [AuraSqlInject](https://github.com/BEARSunday/Ex.Package/blob/master/src/Inject/AuraSqlInject.php) for `ExtendedPdoInterface`

Demo
----

[](#demo)

- [data base access](https://github.com/BEARSunday/Ex.Package/blob/master/docs/demo-app/src/Resource/App/Person.php)
- [.env](https://github.com/BEARSunday/Ex.Package/blob/master/docs/demo-app/.env)
- [demo-app](https://github.com/BEARSunday/Ex.Package/tree/master/docs/demo-app)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

4095d ago

### Community

Maintainers

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

---

Top Contributors

[![koriym](https://avatars.githubusercontent.com/u/529021?v=4)](https://github.com/koriym "koriym (21 commits)")

---

Tags

bear-sundayskeleton

### Embed Badge

![Health badge](/badges/ex-package/health.svg)

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

###  Alternatives

[laravel/dusk

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

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

The Doppar Framework

366.7k8](/packages/doppar-framework)[lion/bundle

Lion-framework configuration and initialization package

122.2k1](/packages/lion-bundle)

PHPackages © 2026

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