{% extends "PackagistWebBundle::layout.html.twig" %} {% import "PackagistWebBundle::macros.html.twig" as macros %} {% block content %}

{{ user.username }} (that's you!)

Edit your information

Change your password

{% if not user.githubId %}

Connect your github account

{% endif %}

View your favorites

View your public profile

{% if app.user.apiToken %}

Your API Token

Show API Token

You can use your API token to interact with the Packagist API.

GitHub Service Hook

Enabling the Packagist service hook ensures that your package will always be updated instantly when you push to GitHub. To do so you can go to your GitHub repository, click the "Settings" button, then "Service Hooks". Pick "Packagist" in the list, and add your API token (see above), plus your Packagist username if it is not the same as on GitHub. Check the "Active" box and submit the form.

Bitbucket POST Service

To enable the Bitbucket service hook, go to your BitBucket repository, open the "Admin" tab and select "Services" in the menu. Pick "POST" in the list and add it to your repository. Afterwards, you have to enter the Packagist endpoint, containing both your username and API token (see above). Enter https://packagist.org/api/bitbucket?username={{ app.user.username }}&apiToken=… for the service's URL. Save your changes and you're done.

{% endif %}

Your packages

{% if packages|length %} {{ macros.listPackages(packages, true, true, meta) }} {% else %}

No packages found.

{% endif %}
{% endblock %}