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

{% endif %}

Your packages

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

No packages found.

{% endif %}
{% endblock %}