PHPackages                             geeksltd/pangolin.symfony - 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. geeksltd/pangolin.symfony

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

geeksltd/pangolin.symfony
=========================

api for pangolin

2.24(3y ago)01.5kPHPPHP &gt;=8.1

Since Jul 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Geeksltd/Pangolin.Symfony)[ Packagist](https://packagist.org/packages/geeksltd/pangolin.symfony)[ RSS](/packages/geeksltd-pangolinsymfony/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (22)Versions (46)Used By (0)

First you need to install apcu php extension
--------------------------------------------

[](#first-you-need-to-install-apcu-php-extension)

[Tutorial on how to install apcu on windows machine](https://stackoverflow.com/questions/24448261/how-to-install-apcu-in-windows)

Make sure to install these packages first
-----------------------------------------

[](#make-sure-to-install-these-packages-first)

```
composer req annotation api
```

Install the package through composer
------------------------------------

[](#install-the-package-through-composer)

```
composer require geeksltd/pangolin.symfony --dev
```

Enable pangolin bundle in your config/bundles.php file
------------------------------------------------------

[](#enable-pangolin-bundle-in-your-configbundlesphp-file)

### Simply add this PangolinBundle class to the array as bellow.Pangolin bundle only is available on dev and test environment.

[](#simply-add-this-pangolinbundle-class-to-the-array-as-bellowpangolin-bundle-only-is-available-on-dev-and-test-environment)

```
// config/bundles.php
return [
    Geeks\Pangolin\PangolinBundle::class => ['dev' => true, 'test' => true],
];
```

### This Project contains controllers and routes. you must enable pangolin routes in your main routes.yaml file

[](#this-project-contains-controllers-and-routes-you-must-enable-pangolin-routes-in-your-main-routesyaml-file)

```
# config/routes.yaml
pangolin_bundle:
    resource: '@PangolinBundle/Resources/config/routes.yaml'
```

### Enable Debug menu in your symfony application

[](#enable-debug-menu-in-your-symfony-application)

```
 {% include '@Pangolin/debug/debug.html.twig' %}

```

-----------------------------------------------------------
-----------------------------------------------------------

[](#-----------------------------------------------------------)

! Important note : *Make sure to create a database that ends with `.temp` . it is a must in this package.Otherwise, following api won't work*
---------------------------------------------------------------------------------------------------------------------------------------------

[](#-important-note--make-sure-to-create-a-database-that-ends-with-temp--it-is-a-must-in-this-packageotherwise-following-api-wont-work)

-----------------------------------------------------------
-----------------------------------------------------------

[](#------------------------------------------------------------1)

Available apis
==============

[](#available-apis)

1 )GET /cmd/db-restart
----------------------

[](#1-get-cmddb-restart)

### This api drops and recreates the current the database and runs all migrations and fixtures.

[](#this-api-drops-and-recreates-the-current-the-database-and-runs-all-migrations-and-fixtures)

Response Examples :

```
{
  "message": "All operations successfully completed",
  "status": true
}
```

Or

```
{
  "message": "Database name does not contain .temp suffix",
  "status": false
}
```

-----------------------------------------------------------
===========================================================

[](#------------------------------------------------------------2)

2 )GET /cmd/get-db-changes
--------------------------

[](#2-get-cmdget-db-changes)

### Get the latest executed sql queries. all the queries will be wiped out once the api is called

[](#get-the-latest-executed-sql-queries-all-the-queries-will-be-wiped-out-once-the-api-is-called)

Response Examples :

```
{
  "data": [
    {
      "log": "INSERT INTO product (title, code, type) VALUES ('product_name', 'code1', 'car')"
    },
    {
      "log": "INSERT INTO user (title) VALUES ('ranger')"
    }
  ]
}
```

Or

```
{
  "data": null
}
```

-----------------------------------------------------------
===========================================================

[](#------------------------------------------------------------3)

3 )POST /cmd/db-run-changes
---------------------------

[](#3-post-cmddb-run-changes)

### This api expects the previous json response above as a json request and runs all the queries. Make sure to add Content-Type : application/json in your header.

[](#this-api-expects-the-previous-json-response-above-as-a-json-request-and-runs-all-the-queries-make-sure-to-add-content-type--applicationjson-in-your-header)

Response Examples :

```
{
"message": "All queries have been executed successfully",
"status": true
}
```

-----------------------------------------------------------
===========================================================

[](#------------------------------------------------------------4)

4 )GET /cmd/outbox
------------------

[](#4-get-cmdoutbox)

### This route displays a list of available mails in the database based on interface implemented by an entity

[](#this-route-displays-a-list-of-available-mails-in-the-database-based-on-interface-implemented-by-an-entity)

-----------------------------------------------------------
===========================================================

[](#------------------------------------------------------------5)

5 )GET /cmd/local-date?date=2/2/2021&amp;time=20:20:20
------------------------------------------------------

[](#5-get-cmdlocal-datedate222021time202020)

### This api expects a get request

[](#this-api-expects-a-get-request)

Response Examples :

```
{
  "message": "Local time has been updated.",
  "status": true,
  "data": "2/2/2021 20:20:20"
}
```

-----------------------------------------------------------
===========================================================

[](#------------------------------------------------------------6)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 78.9% 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 ~13 days

Recently: every ~4 days

Total

45

Last Release

1184d ago

Major Versions

1.43 → 2.02022-08-23

PHP version history (2 changes)v1.0PHP &gt;=7.4

2.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/4971bd04bb6d2e3c4c0d0984a23439f3709ed6f819e4aaf4d5745ecea9928edd?d=identicon)[PlItiCrI](/maintainers/PlItiCrI)

---

Top Contributors

[![PlItiCrI](https://avatars.githubusercontent.com/u/87538418?v=4)](https://github.com/PlItiCrI "PlItiCrI (105 commits)")[![atir-naveed-geeksltd](https://avatars.githubusercontent.com/u/87660497?v=4)](https://github.com/atir-naveed-geeksltd "atir-naveed-geeksltd (28 commits)")

### Embed Badge

![Health badge](/badges/geeksltd-pangolinsymfony/health.svg)

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[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)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[kadirov/api-starter-kit

443.9k](/packages/kadirov-api-starter-kit)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)

PHPackages © 2026

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