PHPackages                             renatomefidf/sammui - 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. renatomefidf/sammui

ActiveProject

renatomefidf/sammui
===================

The Symfony AngularJS MongoDB Mobile UI Project - sammui

v0.1.0(11y ago)10763[1 issues](https://github.com/renatomefidf/sammui/issues)MITPHPPHP &gt;=5.3.3

Since Jan 8Pushed 10y ago1 watchersCompare

[ Source](https://github.com/renatomefidf/sammui)[ Packagist](https://packagist.org/packages/renatomefidf/sammui)[ RSS](/packages/renatomefidf-sammui/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (25)Versions (8)Used By (0)

sammui
======

[](#sammui)

[![Join the chat at https://gitter.im/renatomefidf/sammui](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/renatomefidf/sammui?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Build Status](https://camo.githubusercontent.com/440359af1ec700f67a2ca85c5950fca4b34c4f36a95a286baf7cc43c1be10707/68747470733a2f2f7472617669732d63692e6f72672f72656e61746f6d65666964662f73616d6d75692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/renatomefidf/sammui)[![Code Climate](https://camo.githubusercontent.com/57cc136f5478f419f3af2b78672bff30e372bbd7f0b197ee16f9892b2545e015/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f72656e61746f6d65666964662f73616d6d75692f6261646765732f6770612e737667)](https://codeclimate.com/github/renatomefidf/sammui)[![Test Coverage](https://camo.githubusercontent.com/138cf7b0bad91f62fa2618ca73bb5a772b17810fbea73725fb88b6724e7df41c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f72656e61746f6d65666964662f73616d6d75692f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/renatomefidf/sammui)[![Latest Stable Version](https://camo.githubusercontent.com/3e498795c9440679650a97093a100b7da0da05a6c5b41ac56b2bce3592c9319a/68747470733a2f2f706f7365722e707567782e6f72672f72656e61746f6d65666964662f73616d6d75692f762f737461626c652e737667)](https://packagist.org/packages/renatomefidf/sammui)[![Total Downloads](https://camo.githubusercontent.com/2245fd78ddee1226f2c94023b351203f953afd19a88bd00c09886a45563995a6/68747470733a2f2f706f7365722e707567782e6f72672f72656e61746f6d65666964662f73616d6d75692f646f776e6c6f6164732e737667)](https://packagist.org/packages/renatomefidf/sammui)[![Latest Unstable Version](https://camo.githubusercontent.com/5b73d8dbe23528b5a672a203d5c7742ca3f2be0a19b3c120d0845a51deb75a30/68747470733a2f2f706f7365722e707567782e6f72672f72656e61746f6d65666964662f73616d6d75692f762f756e737461626c652e737667)](https://packagist.org/packages/renatomefidf/sammui)[![License](https://camo.githubusercontent.com/5ac05c649a059ccd0b0490318730c2b7e0954750f78d4843f6c32b58d2bfba9e/68747470733a2f2f706f7365722e707567782e6f72672f72656e61746f6d65666964662f73616d6d75692f6c6963656e73652e737667)](https://packagist.org/packages/renatomefidf/sammui)

The Symfony Angular MongoDB Mobile UI Project

Original project by @flyers:

Mirror:

Introduction
------------

[](#introduction)

This project is a template application with secured communication via a RestFul API between the client part with AngularJS and the server part with Symfony2.

In use libs and technologies
----------------------------

[](#in-use-libs-and-technologies)

- Symfony 2.6
- Doctrine MongoDB Bundle (doctrine/mongodb-odm-bundle) 3.0
- FOS Rest Bundle (friendsofsymfony/rest-bundle) 1.4
- FOS User Bundle (friendsofsymfony/user-bundle) 1.3.5
- Layout Mobile Angular UI -

JetBrains WebStorm
------------------

[](#jetbrains-webstorm)

We are very happy to use WebStorm IDE.

Thanks JetBrains for giving us a license for Open Source Projects

[![Build Status](https://camo.githubusercontent.com/b0c936c8722c1d1c6a876a01ac78171bcc69588e52ba7afb2d229ca5b3797792/68747470733a2f2f7777772e6a6574627261696e732e636f6d2f77656273746f726d2f646f63756d656e746174696f6e2f646f63732f6c6f676f5f77656273746f726d2e706e67)](https://www.jetbrains.com/webstorm/)

Automatic Installation
----------------------

[](#automatic-installation)

Master:

```
composer create-project renatomefidf/sammui sammui dev-master

```

Any tag:

```
composer create-project renatomefidf/sammui sammui v0.0.1

```

Check the composer package at:

Manual Installation
-------------------

[](#manual-installation)

Clone the project :

```
git clone git@github.com:renatomefidf/sammui sammui

```

Update packages :

```
cd angular-symfony
composer.phar install

```

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

[](#configuration)

Create cache and logs folders :

```
mkdir app/cache
mkdir app/logs
chmod -R 777 app/cache
chmod -R 777 app/logs

```

Edit database credentials :

```
vim app/config/parameters.yml

```

To switch between ORM and ODM (Database and MongoDB) uncomment/comment the following lines on config.yml :

```
# FOS User Bundle for ORM
fos_user:
    db_driver: orm
    firewall_name: main
    user_class: Flyers\BackendBundle\Entity\User

# FOS User Bundle for MongoDB
fos_user:
    db_driver: mongodb
    firewall_name: main
    user_class: Flyers\BackendBundle\Document\User

```

Update schemas (FOSUserBundle) : \* Not needed for MongoDB

```
php app/console doctrine:schema:create

```

Create and activate user :

```
php app/console fos:user:create
php app/console fos:user:activate

```

Link project to your webserver and access it :

```
ln -snf ./ /var/www/html/angular-symfony
firefox http://localhost/angular-symfony/ &

```

Want to run it via nginx? There is a sample virtual host on docs/nginx

Database
--------

[](#database)

If you want to use my current dev database you can get it at /docs/mongo/DATE\_dump I'm using mongodump tool, so it's easy to recover!

Authentication system
---------------------

[](#authentication-system)

The Authentication system is based on the custom Authentication Provider of the Symfony2 Cookbook : [http://symfony.com/doc/2.1/cookbook/security/custom\_authentication\_provider.html](http://symfony.com/doc/2.1/cookbook/security/custom_authentication_provider.html)

> The following chapter demonstrates how to create a custom authentication provider for WSSE authentication. The security protocol for WSSE provides several security benefits:
>
> - Username / Password encryption
> - Safe guarding against replay attacks
> - No web server configuration required
>
> WSSE is very useful for the securing of web services, may they be SOAP or REST.

I used the exact same authentication system with a little change in moment of generating the digest, we use the hexadecimal value of the hashed seed in lieu of the binary value.

Client Side specifics
---------------------

[](#client-side-specifics)

On the client side, I've inspired my code from Nils Blum-Oeste article explaining how to send an authorization token for every request. To do this you have to register a wrapper for every resource actions that execute a specific code before doing the action. For more information you can check .

The differences there is that I send the token, username and user digest in the HTTP Header *X-WSSE*.

Conclusion
----------

[](#conclusion)

You can use this template and adapt it to your needs.

@FlyersWeb

Adaptations by @renatomefidf

- MongoDB support
- Symfony and related dependencies/bundles update
- Packagist project

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96% 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 ~12 days

Total

6

Last Release

4077d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5673401e9623bc09294446a5ce1131c74a4042744b63b3f6e886c1808502fb2?d=identicon)[renatomefi](/maintainers/renatomefi)

---

Top Contributors

[![renatomefi](https://avatars.githubusercontent.com/u/823634?v=4)](https://github.com/renatomefi "renatomefi (431 commits)")[![rafaelsantos-via-consulting](https://avatars.githubusercontent.com/u/5000840?v=4)](https://github.com/rafaelsantos-via-consulting "rafaelsantos-via-consulting (7 commits)")[![chrisostomo](https://avatars.githubusercontent.com/u/6043036?v=4)](https://github.com/chrisostomo "chrisostomo (4 commits)")[![erickfrancis](https://avatars.githubusercontent.com/u/1216574?v=4)](https://github.com/erickfrancis "erickfrancis (2 commits)")[![rafaelSantosSi](https://avatars.githubusercontent.com/u/104367831?v=4)](https://github.com/rafaelSantosSi "rafaelSantosSi (1 commits)")[![vladapopster](https://avatars.githubusercontent.com/u/4058496?v=4)](https://github.com/vladapopster "vladapopster (1 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")[![isleshocky77](https://avatars.githubusercontent.com/u/361586?v=4)](https://github.com/isleshocky77 "isleshocky77 (1 commits)")[![jimx6](https://avatars.githubusercontent.com/u/8724587?v=4)](https://github.com/jimx6 "jimx6 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/renatomefidf-sammui/health.svg)

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

###  Alternatives

[claroline/core-bundle

Claroline core bundle

165.5k43](/packages/claroline-core-bundle)[leaphly/leaphly-sandbox

The Leaphly sandbox

144.4k](/packages/leaphly-leaphly-sandbox)

PHPackages © 2026

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