PHPackages                             tuc0w/timeular-public-api-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. [API Development](/categories/api)
4. /
5. tuc0w/timeular-public-api-bundle

ActiveSymfony-bundle[API Development](/categories/api)

tuc0w/timeular-public-api-bundle
================================

Provides a Timeular integration for your Symfony 4 Project.

09PHP

Since Nov 8Pushed 6y ago1 watchersCompare

[ Source](https://github.com/tuc0w/TimeularPublicApiBundle)[ Packagist](https://packagist.org/packages/tuc0w/timeular-public-api-bundle)[ RSS](/packages/tuc0w-timeular-public-api-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

TimeularPublicApiBundle
=======================

[](#timeularpublicapibundle)

[![Build Status](https://camo.githubusercontent.com/cf9e0b6d5c4126cd0fa0d217dca88d49376e1939aa3c9950de6a263f61e86aa8/68747470733a2f2f7472617669732d63692e6f72672f74756330772f54696d65756c61725075626c696341706942756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tuc0w/TimeularPublicApiBundle)

TimeularPublicApiBundle is a way to integrate your time tracking with the Timeular ZEI° device into your Symfony application, but with a bit less work, an easy configuration and predefined useful filters.

Install the package with:

```
composer require tuc0w/timeular-public-api-bundle --dev
```

And that's it! If you're *not* using Symfony Flex, you'll also need to enable the `Tuc0w\TimeularPublicApiBundle\Tuc0wTimeularPublicApiBundle`in your `AppKernel.php` file.

Configuration
-------------

[](#configuration)

A few things needs be configured directly by creating a new `config/packages/tuc0w_timeular_public_api.yaml` file. The default values are:

```
# config/packages/tuc0w_timeular_public_api.yaml
tuc0w_timeular_public_api:
    timeular:
        api_base_url:    https://api.timeular.com
        api_key:         your_api_key
        api_secret:      your_api_secret
        api_timeout:     30.0
        api_version:     /api/v2
```

Usage
-----

[](#usage)

This bundle provides a single service to access the API, which you can autowire by using the `TimeularClient` type-hint:

```
// src/Controller/SomeController.php
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\Routing\Annotation\Route;
use Tuc0w\TimeularPublicApiBundle\Service\Client as TimeularClient;

class SomeController extends AbstractController {
    private $timeular;

    public function __construct(TimeularClient $timeular) {
        $this->timeular = $timeular;
    }

    /**
     * @Route("/", name="app_homepage")
     */
    public function index() {
        $this->timeular->signIn();

        // get the time entries from today
        return new JsonResponse(
            $this->timeular->getTimeEntries(
                new \DateTime(),
                new \DateTime()
            )
        );
    }
}
```

You can also access this service directly using the id `tuc0w_timeular_public_api.client`.

```
$timeular = $container->get('tuc0w_timeular_public_api.client');
```

Available methods
-----------------

[](#available-methods)

Currently there are only a few methods available:

MethodParameterDescriptiongetActivities()*none*Returns a list of created activities.getCurrentTracking()*none*Returns the time entry that is currently tracked.getDevices()*none*Returns a list of registered devices.getTagsAndMentions()*none*Returns a list of used tags and mentions.getTimeEntries($stoppedAfter, $startedBefore)DateTimeInterfaceReturns all time entries between the given start/end date.signIn()*none*Uses the api key/secret to generate a token to sign in.Todos
-----

[](#todos)

- Basic functionality
- Create custom filter methods
- Integrate missing endpoints

Contributing
------------

[](#contributing)

Please feel comfortable submitting issues or pull requests: all contributions and questions are warmly appreciated :)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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/b5a633d1fc19e138f1335cc13e90c613d332e5a13da2ba6f75a34fc1f4c52d41?d=identicon)[tuc0w](/maintainers/tuc0w)

---

Top Contributors

[![tuc0w](https://avatars.githubusercontent.com/u/843830?v=4)](https://github.com/tuc0w "tuc0w (13 commits)")

---

Tags

apiapi-wrapperphpsymfonysymfony4timeular

### Embed Badge

![Health badge](/badges/tuc0w-timeular-public-api-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/tuc0w-timeular-public-api-bundle/health.svg)](https://phpackages.com/packages/tuc0w-timeular-public-api-bundle)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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