Skip to content

Latest commit

 

History

History
81 lines (47 loc) · 3.05 KB

README.md

File metadata and controls

81 lines (47 loc) · 3.05 KB

Satisfy Build Status

Satis Composer repository manager with a simple web UI.

Satis: list composer repositories Satis: add a new composer repository Satis: update an existing composer repository

Introduction

Satisfy provides:

  • a Web UI: A CRUD to manage your satis configuration file
  • a simple security layer with a login form
  • Satis itself

Satisfy ease your satis configuration management. It provides simple web UI over Satis to avoid a hand-editing of the satis.json configuration file. All repositories from a composer.lock file can also be imported via upload.

How it works ?

Basically, it just reads/writes the satis.json file and provides a web CRUD.

  • On each HTTP request, the satis.json is loaded.
  • If a write occurs in this file, a backup is made in app/data/

Installation

Composer

  • Download composer wget http://getcomposer.org/composer.phar
  • Install php composer.phar create-project playbloom/satisfy --stability=dev

Satis configuration

Define your default/existing satis configuration.

By default, the satis.json file is expected at the project root.

Application configuration

  • Define your configuration cp app/config.php.dist app/config.php
  • Customize app/config.php according to your needs.

Security

You can restrict the access setting auth.use_login_form parameter (in app/config.php) to true. Set authorized users in auth.users config array.

Use the following command to encode the password you want to use:

php -r "echo hash('sha1', 'mypassword');"

Satis packages definition generation

You still need to generate your packages definitions as mentioned in Satis documentation. Satsify just provide a bin shortcut in bin/satis.

Known limitation

Since it's an ultra-KISS project, it doesn't handle race conditions with several simultaneous writes. This could be avoided by extending the project with a simple SQLite layer for example, but then you have to manage the auto-generation of the satis.json file...

Author

Ludovic Fleury - [email protected] - http://twitter.com/ludofleury Julius Beckmann - [email protected] - https://twitter.com/h4cc

Credits

KnpLabs and @ubermuda for the really KISS open-id layer in the marketplace repository

License

Satisfy is licensed under the MIT License - see the LICENSE file for details

Bitdeli Badge