Skip to content
Packagist like application for PHP Extensions, via Pickle or simple index
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data/redis Add user persistance in Redis & user deletion Apr 21, 2015
src Add User tests & removeExtension() refactoring May 23, 2015
templates add html resultset for search May 15, 2015
tests Add User tests & removeExtension() refactoring May 23, 2015
web fix typo which led to #44 which is now fixed May 19, 2015
.atoum.php Fix atoum config and add travis one Apr 13, 2015
.bootstrap.atoum.php Add tests Apr 11, 2015
.coke Add coke to check CS (use vendor/bin/coke to launch the check) Apr 20, 2015
.gitignore
.travis.yml Remove PHP 5.4 from the build matrix Apr 13, 2015
Dockerfile
LICENSE
README.MD extend README May 7, 2015
composer.json Add atoum stubs for ease test writing May 23, 2015
composer.lock Add atoum stubs for ease test writing May 23, 2015
docker-compose.yml fix comments May 16, 2015

README.MD

PickleWeb

Pickle Logo

Lite version of packagist, used for PHP extensions via Pickle or as a simple index for PHP extensions.

Aims to index PHP, HHVM or other implementations' extensions, according to pickle goals.

TODOs

Github authentification done, package registration&validation in progress, layout, logo and UI done for the general design. Best way to contribute and know what has to be done is to follow the issues and create a PR :)

We will try to keep up-to-date as much as possible :)

Setup

composer install

OAuth

To properly test the application, you will have to login using OAuth and one of the three supported providers. To do so, you will have to create a test application. For example, on Github:

  • Go to https://github.com/settings/applications
  • And click on Register new application
  • Fill in the "Application name" field with a descriptive name, for example "pickleweb-dev"
  • Set the "Homepage URL" to http://localhost:8080 (this URL depends on the method you chose to run the application, PHP or Docker)
  • Set the "Authorization callback URL" to http://localhost:8080/login/github (this URL depends on the method you chose to run the application, PHP or Docker)

Once done, click on the "Register Application" button to get the client ID and secret for your application.

Then, copy src/config.json.example to src/config.json and fill you ID and secret in the proper section.

You are now ready to run the Pickle Web application and use authentication.

Running

PHP built-in server

php -S 0.0.0.0:8080 -t web

On Windows this might under circumstances require administrative privileges to work properly. In any case, the credentials under which PHP is running need to allow symlinking.

Docker

First, install docker (or boot2docker) and docker-compose then run the following command:

docker-compose up

PickleWeb will then be available at http://localhost:8080.

If you are using boot2docker, you will have to replace localhost with the IP of your boot2docker VM (you can get it by running boot2docker ip).

You can’t perform that action at this time.