PHPackages                             llvdl/example-tweeter-core-bundle - 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. llvdl/example-tweeter-core-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

llvdl/example-tweeter-core-bundle
=================================

Example Symfony2 bundle

022PHP

Since Feb 24Pushed 12y ago1 watchersCompare

[ Source](https://github.com/llvdl/TweeterCoreBundle)[ Packagist](https://packagist.org/packages/llvdl/example-tweeter-core-bundle)[ RSS](/packages/llvdl-example-tweeter-core-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Llvdl Tweeter Core Bundle
=========================

[](#llvdl-tweeter-core-bundle)

This is a sample Symfony2 bundle that contains a simple service to store and retrieve "tweets". The bundle consists of a service implementation, including a repository based on doctrine. It has no forms or controllers.

Installing
----------

[](#installing)

Add the following line to the `require` section in your composer.json file:

`"llvdl/example-tweeter-core-bundle": "dev-master"`

and run composer update.

Add the following item to the `$bundles` array in `registerBundles` in AppKernel.php:

`new Llvdl\TweeterCoreBundle\TweeterCoreBundle()`

Initiating the database
-----------------------

[](#initiating-the-database)

You should have the doctrine/orm package installed. Also a database and user must be created. The configuration of the database properties is probably at `app/config/parameters.yml`.

To create the database tables, run:

`php app/console doctrine:schema:create`

To see the SQL queries to create the tables, but not execute them, add the `--dump-sql` flag:

`php app/console doctrine:schema:create --dump-sql`

Using the service
-----------------

[](#using-the-service)

The bundle gives access to the `tweet_service` service, which has the following methods (see `TweetService.php` for details):

Tweets are short messages created by a tweeter. When creating a tweet, the tweeter entity is created automatically if it does not already exist.

- getRecentTweets
- getRecentTweetsForTweeter
- createTweet

To get a list of recent tweets in a controller:

```
$service = $this->get('llvdl_tweeter_core.tweet_service');
$tweets = $service->getRecentTweets();
// do something with $tweets

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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://avatars.githubusercontent.com/u/6775525?v=4)[llvdl](/maintainers/llvdl)[@llvdl](https://github.com/llvdl)

---

Top Contributors

[![lennaert-finalist](https://avatars.githubusercontent.com/u/1674497?v=4)](https://github.com/lennaert-finalist "lennaert-finalist (3 commits)")[![llvdl](https://avatars.githubusercontent.com/u/6775525?v=4)](https://github.com/llvdl "llvdl (2 commits)")

### Embed Badge

![Health badge](/badges/llvdl-example-tweeter-core-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/llvdl-example-tweeter-core-bundle/health.svg)](https://phpackages.com/packages/llvdl-example-tweeter-core-bundle)
```

###  Alternatives

[laravel/dusk

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

1.9k39.6M293](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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