<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# routes.yml

app_index:
    pattern: /

vendor_bundle_index:
    alias: app_index"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> routes.yml</span>

<span class="pl-ent">app_index</span>:
    <span class="pl-ent">pattern</span>: <span class="pl-s">/</span>

<span class="pl-ent">vendor_bundle_index</span>:
    <span class="pl-ent">alias</span>: <span class="pl-s">app_index</span></pre></div>
<p dir="auto">I'm writing a code that implements a serializer interface but I dont want (dont need) to include all Symfony Serializer implementation code to my project, therefore I've just copied SerializerInterface.php to my project to use it.</p>
<p dir="auto">Then my question is to create a packagist library for <code class="notranslate">SerializerInterface</code> to use as standard (like PSR-7) and add this "new" library as dependency of <code class="notranslate">symfony/serializer</code>.</p>
<p dir="auto">Regards.</p>