Download the PHP package renatomefidf/sammui without Composer

On this page you can find all versions of the php package renatomefidf/sammui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sammui

sammui

Join the chat at https://gitter.im/renatomefidf/sammui

Build Status Code Climate Test Coverage Latest Stable Version Total Downloads Latest Unstable Version License

The Symfony Angular MongoDB Mobile UI Project

Original project by @flyers: https://github.com/FlyersWeb/angular-symfony

Mirror: http://gitlab.renatomefi.com.br/renatomefi/sammui/commits/master

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

JetBrains WebStorm

We are very happy to use WebStorm IDE.

Thanks JetBrains for giving us a license for Open Source Projects

Build Status

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: https://packagist.org/packages/renatomefidf/sammui

Manual Installation

Clone the project :

git clone [email protected]:renatomefidf/sammui sammui

Update packages :

cd angular-symfony
composer.phar install

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

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

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

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

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 http://nils-blum-oeste.net/angularjs-send-auth-token-with-every--request/.

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

Conclusion

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

@FlyersWeb

Adaptations by @renatomefidf


All versions of sammui with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
symfony/symfony Version 2.6.*
symfony/assetic-bundle Version ~2.3
symfony/swiftmailer-bundle Version ~2.3
symfony/monolog-bundle Version ~2.4
doctrine/doctrine-bundle Version ~1.2
doctrine/orm Version ~2.2,>=2.2.3
doctrine/mongodb Version 1.2.*@dev
doctrine/mongodb-odm Version 1.0.*@dev
doctrine/mongodb-odm-bundle Version 3.0.*@dev
twig/extensions Version ~1.0
sensio/distribution-bundle Version ~3.0
sensio/framework-extra-bundle Version ~3.0
incenteev/composer-parameter-handler Version ~2.0
friendsofsymfony/rest-bundle Version 1.5.0-RC5
friendsofsymfony/user-bundle Version 1.3.5
friendsofsymfony/oauth-server-bundle Version 1.4.2
nelmio/api-doc-bundle Version 2.7.*
jms/serializer-bundle Version *
jms/security-extra-bundle Version *
jms/di-extra-bundle Version *
qandidate/symfony-json-request-transformer Version *
sp/bower-bundle Version 0.11.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package renatomefidf/sammui contains the following files

Loading the files please wait ....