title: php correct json manifest
body: <p>I have errors on png image, Do you know how to resolve this problem ?</p>
  
  <p>Thank you.</p>
  
  <blockquote>
    <p>Web app manifest does not meet the installability
    requirementsFailures: Manifest does not have a PNG icon of at least
    192px.</p>
    
    <p>Is not configured for a custom splash screenFailures: Manifest does
    not have a PNG icon of at least 512px. A themed splash screen ensures
    a high-quality experience when users launch your app from their
    homescreens. Learn more.</p>
  </blockquote>
  
  <p>my php json about the manifest</p>
  
  <pre><code>$manifest = [
      "dir" =&gt; "ltr",
      "lang" =&gt; "{$code_langue}",
      "name" =&gt; "{$siteName}",
      "short_name" =&gt; "{$shortName}",
      "description" =&gt; "{$description}",
      "scope" =&gt; "{$scope}",
      "display" =&gt; "standalone",
      "start_url" =&gt; "{$scope}",
      "theme_color" =&gt; "#317EFB",
      "orientation" =&gt; "any",
      "background_color" =&gt; "#fff",
      "related_applications" =&gt; "",
      "prefer_related_applications" =&gt; "false",
      "screenshots" =&gt; [],
      "generated" =&gt; "true",
      "icons" =&gt; [
        "src" =&gt; "{$image_512}",
        "sizes"=&gt; "192x192 512x512",
        "type" =&gt; "image/png"
      ],
      "src" =&gt; "{$image_512}",
      "sizes" =&gt; "512x512",
      "type" =&gt; "image/png"
    ];
  
     $json_manifest = json_encode($manifest);
  </code></pre>