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 1w 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 14% 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://www.gravatar.com/avatar/d1227c70272353d0086d5d5b4d97f8ba260ca0e9fb1976c8e290cf52e653b731?d=identicon)[llvdl](/maintainers/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/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[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.

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

A simple API extension for DateTime.

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

PHPackages © 2026

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