submitPackage.html.twig 1.5 KB

123456789101112131415161718192021222324252627
  1. {% extends "PackagistWebBundle::layout.html.twig" %}
  2. {% block scripts %}
  3. <script src="{{ asset('bundles/packagistweb/js/submitPackage.js')}}?v=2"></script>
  4. {% endblock %}
  5. {% set showSearchDesc = 'hide' %}
  6. {% block content %}
  7. <h2 class="title">Submit package</h2>
  8. <section class="row">
  9. <form class="col-md-6" id="submit-package-form" action="{{ path('submit') }}" data-check-url="{{ path('submit.fetch_info') }}" method="POST" {{ form_enctype(form) }}>
  10. {{ form_widget(form) }}
  11. {{ form_rest(form) }}
  12. <input class="btn btn-block btn-success btn-lg" id="submit" type="submit" value="Submit" />
  13. </form>
  14. <div class="col-md-6">
  15. <p>Please make sure you have read the package <a href="{{ path('about') }}#naming-your-package">naming conventions</a> before submitting your package. The authoritative name of your package will be taken from the composer.json file inside the master branch or trunk of your repository, and it can not be changed after that.</p>
  16. <p><strong>Do not submit forks of existing packages.</strong> If you need to test changes to a package that you forked to patch, use <a href="http://getcomposer.org/doc/05-repositories.md#vcs">VCS Repositories</a> instead. If however it is a real long-term fork you intend on maintaining feel free to submit it.</p>
  17. <p>If you need help or if you have any questions please get in touch with the Composer <a href="http://getcomposer.org/doc/06-community.md">community</a>.</p>
  18. </div>
  19. </section>
  20. {% endblock %}