{% 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

{{ app.user.apiToken }}

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 "Admin" 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 Service

Note: The service has currently not been enabled on Bitbucket's side, so please give it some time to become available.

To enable the Bitbucket service hook, go to your BitBucket repository, open the "Admin" tab and select "Services" in the menu. Pick "Packagist" in the list and add it to your repository. Afterwards, configure it like the GitHub service hook.

{% endif %}

Your packages

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

No packages found.

{% endif %}
{% endblock %}