PHPackages                             lsyh/azure-table-service-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lsyh/azure-table-service-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

lsyh/azure-table-service-bundle
===============================

Azure TableService symfony bundle

v1.1.2(6mo ago)03591MITPHP

Since Apr 7Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/Attek/azure-table-bundle)[ Packagist](https://packagist.org/packages/lsyh/azure-table-service-bundle)[ RSS](/packages/lsyh-azure-table-service-bundle/feed)WikiDiscussions main Synced 1mo ago

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

Azure Table Service for Symfony
===============================

[](#azure-table-service-for-symfony)

Installation with symfony recipe:
---------------------------------

[](#installation-with-symfony-recipe)

- Add the following lines to composer.json

```
    "extra": {
        "symfony": {
            "endpoint": ["https://api.github.com/repos/Attek/azure-table-bundle-recipe/contents/index.json", "flex://defaults"]
        }
    }

```

- Download the Bundle Open a command console, enter your project directory and execute:

```
composer require lsyh/azure-table-service-bundle
```

Installation manually:
----------------------

[](#installation-manually)

- Enable the Bundle

Enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Lsyh\TableServiceBundle\TableServiceBundle::class => ['all' => true],
];
```

- Create table\_service.yaml in config/packages folder.

```
table_service:
  azure_url: '%env(AZURE_URL)%'
  azure_table_name: '%env(AZURE_TABLE_NAME)%'
  azure_sas_token: '%env(AZURE_SAS_TOKEN)%'
```

- Download the Bundle Open a command console, enter your project directory and execute:

```
composer require lsyh/azure-table-service-bundle
```

Usage:
------

[](#usage)

### Dependency Injection:

[](#dependency-injection)

```
class AzureTestCommand extends Command
{
    public function __construct(
        private TableServiceInterface $tableService,
    ) {
        parent::__construct();
    }
```

### Create table:

[](#create-table)

```
   $azureApiResponse = $this->tableService->createTable('myTable');
```

### Get table:

[](#get-table)

```
   $azureApiResponse = $this->tableService->getTable('myTable');
```

### Delete table:

[](#delete-table)

```
   $azureApiResponse = $this->tableService->deleteTable('myTable');
```

### Insert Entity:

[](#insert-entity)

```
    $entity = (new Entity())
              ->setPartitionKey('partkey1')
              ->setRowKey('rowkey1')
              ->addProperty('name', 'John Doe')
              ->addProperty('age', 30)
              ->addProperty('isStudent', true)
              ->addProperty('created', new \DateTime());

   $azureApiResponse = $this->tableService->insertEntity('myTable', $entity);
```

### Update Entity:

[](#update-entity)

```
    $entity = (new Entity())
              ->setPartitionKey('partkey1')
              ->setRowKey('rowkey1')
              ->addProperty('name', 'John Doe')
              ->addProperty('age', 30)
              ->addProperty('isStudent', true)
              ->addProperty('created', new \DateTime())
              ->addProperty('binaryTest', 'SomeBinaryData', EdmType::BINARY);

   $azureApiResponse = $this->tableService->updateEntity('myTable', $entity);
```

### Delete Entity:

[](#delete-entity)

```
   $azureApiResponse = $this->tableService->delelteEntity('myTable', 'partkey1', 'rowkey1');
```

### Get Entity:

[](#get-entity)

```
   $azureApiResponse = $this->tableService->getEntity('myTable', 'partkey1', 'rowkey1');

   $azureApiResponse->getEntity();
```

### Get Entity, select properties response:

[](#get-entity-select-properties-response)

```
   $azureApiResponse = $this->tableService->getEntity('myTable', 'partkey1', 'rowkey1', 'name', 'age');
```

### Filter Entity by timestamp

[](#filter-entity-by-timestamp)

```
$azureApiResponse = $this->tableService->getEntityByFilter('myTable', 'and', 'Timestamp le datetime\'' . $date . '\'');
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance68

Regular maintenance activity

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~42 days

Recently: every ~28 days

Total

6

Last Release

189d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/267d57ffe312b5b4053f2955c687b376cabf787b61d75438a1fe1b326c1eaaf7?d=identicon)[attek](/maintainers/attek)

---

Top Contributors

[![Attek](https://avatars.githubusercontent.com/u/6275194?v=4)](https://github.com/Attek "Attek (6 commits)")[![lekob](https://avatars.githubusercontent.com/u/34817163?v=4)](https://github.com/lekob "lekob (6 commits)")

---

Tags

symfonyazureSymfony Bundleazure table

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/lsyh-azure-table-service-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lsyh-azure-table-service-bundle/health.svg)](https://phpackages.com/packages/lsyh-azure-table-service-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)

PHPackages © 2026

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