PickleWeb
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, export those values:
export GITHUB_CLIENT_ID=<your-application-client-id>
export GITHUB_CLIENT_SECRET=<your-application-client-secret>
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
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
).