License.html 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793
  1. <!DOCTYPE html>
  2. <html class="writer-html5" lang="en" >
  3. <head>
  4. <meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>License &mdash; PHP-QRCode main
  7. Manual</title>
  8. <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  9. <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  10. <!--[if lt IE 9]>
  11. <script src="../_static/js/html5shiv.min.js"></script>
  12. <![endif]-->
  13. <script src="../_static/jquery.js?v=5d32c60e"></script>
  14. <script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
  15. <script src="../_static/documentation_options.js?v=a8da1a53"></script>
  16. <script src="../_static/doctools.js?v=888ff710"></script>
  17. <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
  18. <script src="../_static/js/theme.js"></script>
  19. <link rel="index" title="Index" href="../genindex.html" />
  20. <link rel="search" title="Search" href="../search.html" />
  21. <link rel="prev" title="Popular content and URI schemes" href="URI-Content.html" />
  22. </head>
  23. <body class="wy-body-for-nav">
  24. <div class="wy-grid-for-nav">
  25. <nav data-toggle="wy-nav-shift" class="wy-nav-side">
  26. <div class="wy-side-scroll">
  27. <div class="wy-side-nav-search" >
  28. <a href="../index.html" class="icon icon-home">
  29. PHP-QRCode
  30. </a>
  31. <div role="search">
  32. <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
  33. <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
  34. <input type="hidden" name="check_keywords" value="yes" />
  35. <input type="hidden" name="area" value="default" />
  36. </form>
  37. </div>
  38. </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
  39. <p class="caption" role="heading"><span class="caption-text">Usage</span></p>
  40. <ul>
  41. <li class="toctree-l1"><a class="reference internal" href="../Usage/Overview.html">Overview</a><ul>
  42. <li class="toctree-l2"><a class="reference internal" href="../Usage/Overview.html#features">Features</a></li>
  43. <li class="toctree-l2"><a class="reference internal" href="../Usage/Overview.html#requirements">Requirements</a></li>
  44. <li class="toctree-l2"><a class="reference internal" href="../Usage/Overview.html#framework-integration">Framework Integration</a></li>
  45. <li class="toctree-l2"><a class="reference internal" href="../Usage/Overview.html#shameless-advertising">Shameless advertising</a></li>
  46. </ul>
  47. </li>
  48. <li class="toctree-l1"><a class="reference internal" href="../Usage/Installation.html">Installation</a><ul>
  49. <li class="toctree-l2"><a class="reference internal" href="../Usage/Installation.html#installation-with-composer">Installation with Composer</a><ul>
  50. <li class="toctree-l3"><a class="reference internal" href="../Usage/Installation.html#composer-json">composer.json</a><ul>
  51. <li class="toctree-l4"><a class="reference internal" href="../Usage/Installation.html#version-switch">Version switch</a></li>
  52. </ul>
  53. </li>
  54. <li class="toctree-l3"><a class="reference internal" href="../Usage/Installation.html#terminal">Terminal</a></li>
  55. </ul>
  56. </li>
  57. <li class="toctree-l2"><a class="reference internal" href="../Usage/Installation.html#manual-installation">Manual installation</a><ul>
  58. <li class="toctree-l3"><a class="reference internal" href="../Usage/Installation.html#can-i-use-this-library-without-using-composer">Can i use this library without using composer?</a></li>
  59. </ul>
  60. </li>
  61. <li class="toctree-l2"><a class="reference internal" href="../Usage/Installation.html#supported-php-versions-extension-requirements">Supported PHP versions &amp; extension requirements</a></li>
  62. <li class="toctree-l2"><a class="reference internal" href="../Usage/Installation.html#imagemagick">ImageMagick</a></li>
  63. </ul>
  64. </li>
  65. <li class="toctree-l1"><a class="reference internal" href="../Usage/Quickstart.html">Quickstart</a><ul>
  66. <li class="toctree-l2"><a class="reference internal" href="../Usage/Quickstart.html#import-the-library">Import the library</a></li>
  67. <li class="toctree-l2"><a class="reference internal" href="../Usage/Quickstart.html#create-your-first-qr-code">Create your first QR Code</a><ul>
  68. <li class="toctree-l3"><a class="reference internal" href="../Usage/Quickstart.html#configuration">Configuration</a></li>
  69. </ul>
  70. </li>
  71. <li class="toctree-l2"><a class="reference internal" href="../Usage/Quickstart.html#reading-qr-codes">Reading QR Codes</a></li>
  72. <li class="toctree-l2"><a class="reference internal" href="../Usage/Quickstart.html#notes">Notes</a></li>
  73. </ul>
  74. </li>
  75. <li class="toctree-l1"><a class="reference internal" href="../Usage/Advanced-usage.html">Advanced usage</a><ul>
  76. <li class="toctree-l2"><a class="reference internal" href="../Usage/Advanced-usage.html#configuration-via-qroptions">Configuration via <code class="docutils literal notranslate"><span class="pre">QROptions</span></code></a><ul>
  77. <li class="toctree-l3"><a class="reference internal" href="../Usage/Advanced-usage.html#supply-an-iterable-of-options">Supply an <code class="docutils literal notranslate"><span class="pre">iterable</span></code> of options</a></li>
  78. <li class="toctree-l3"><a class="reference internal" href="../Usage/Advanced-usage.html#load-and-save-options-from-to-json">Load and save options from/to JSON</a></li>
  79. <li class="toctree-l3"><a class="reference internal" href="../Usage/Advanced-usage.html#extending-the-qroptions-class">Extending the <code class="docutils literal notranslate"><span class="pre">QROptions</span></code> class</a></li>
  80. </ul>
  81. </li>
  82. <li class="toctree-l2"><a class="reference internal" href="../Usage/Advanced-usage.html#qrcode-methods"><code class="docutils literal notranslate"><span class="pre">QRCode</span></code> methods</a><ul>
  83. <li class="toctree-l3"><a class="reference internal" href="../Usage/Advanced-usage.html#render-a-qrmatrix-instance">Render a <code class="docutils literal notranslate"><span class="pre">QRMatrix</span></code> instance</a></li>
  84. <li class="toctree-l3"><a class="reference internal" href="../Usage/Advanced-usage.html#mixed-mode">Mixed mode</a></li>
  85. <li class="toctree-l3"><a class="reference internal" href="../Usage/Advanced-usage.html#qr-code-reader">QR Code reader</a></li>
  86. </ul>
  87. </li>
  88. <li class="toctree-l2"><a class="reference internal" href="../Usage/Advanced-usage.html#common-output-options">Common output options</a><ul>
  89. <li class="toctree-l3"><a class="reference internal" href="../Usage/Advanced-usage.html#save-to-file">Save to file</a></li>
  90. <li class="toctree-l3"><a class="reference internal" href="../Usage/Advanced-usage.html#base64-uri-output">Base64 URI output</a></li>
  91. <li class="toctree-l3"><a class="reference internal" href="../Usage/Advanced-usage.html#return-the-image-resource">Return the image resource</a></li>
  92. <li class="toctree-l3"><a class="reference internal" href="../Usage/Advanced-usage.html#add-a-logo-space">Add a logo space</a></li>
  93. </ul>
  94. </li>
  95. </ul>
  96. </li>
  97. <li class="toctree-l1"><a class="reference internal" href="../Usage/Configuration-settings.html">Configuration settings</a><ul>
  98. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#version">version</a></li>
  99. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#versionmin">versionMin</a></li>
  100. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#versionmax">versionMax</a></li>
  101. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#ecclevel">eccLevel</a></li>
  102. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#maskpattern">maskPattern</a></li>
  103. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#addquietzone">addQuietzone</a></li>
  104. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#quietzonesize">quietzoneSize</a></li>
  105. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#outputtype">outputType</a></li>
  106. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#outputinterface">outputInterface</a></li>
  107. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#returnresource">returnResource</a></li>
  108. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#cachefile">cachefile</a></li>
  109. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#outputbase64">outputBase64</a></li>
  110. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#eol">eol</a></li>
  111. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#bgcolor">bgColor</a></li>
  112. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#invertmatrix">invertMatrix</a></li>
  113. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#drawlightmodules">drawLightModules</a></li>
  114. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#drawcircularmodules">drawCircularModules</a></li>
  115. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#circleradius">circleRadius</a></li>
  116. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#keepassquare">keepAsSquare</a></li>
  117. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#connectpaths">connectPaths</a></li>
  118. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#excludefromconnect">excludeFromConnect</a></li>
  119. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#modulevalues">moduleValues</a></li>
  120. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#addlogospace">addLogoSpace</a></li>
  121. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#logospacewidth">logoSpaceWidth</a></li>
  122. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#logospaceheight">logoSpaceHeight</a></li>
  123. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#logospacestartx">logoSpaceStartX</a></li>
  124. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#logospacestarty">logoSpaceStartY</a></li>
  125. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#scale">scale</a></li>
  126. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#imagetransparent">imageTransparent</a></li>
  127. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#transparencycolor">transparencyColor</a></li>
  128. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#quality">quality</a></li>
  129. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#imagickformat">imagickFormat</a></li>
  130. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#cssclass">cssClass</a></li>
  131. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#markupdark">markupDark</a></li>
  132. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#markuplight">markupLight</a></li>
  133. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#svgaddxmlheader">svgAddXmlHeader</a></li>
  134. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#svgopacity">svgOpacity</a></li>
  135. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#svgdefs">svgDefs</a></li>
  136. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#svgpreserveaspectratio">svgPreserveAspectRatio</a></li>
  137. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#textdark">textDark</a></li>
  138. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#textlight">textLight</a></li>
  139. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#textlinestart">textLineStart</a></li>
  140. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#jsonasbooleans">jsonAsBooleans</a></li>
  141. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#fpdfmeasureunit">fpdfMeasureUnit</a></li>
  142. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#readeruseimagickifavailable">readerUseImagickIfAvailable</a></li>
  143. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#readergrayscale">readerGrayscale</a></li>
  144. <li class="toctree-l2"><a class="reference internal" href="../Usage/Configuration-settings.html#readerincreasecontrast">readerIncreaseContrast</a></li>
  145. </ul>
  146. </li>
  147. </ul>
  148. <p class="caption" role="heading"><span class="caption-text">Customizing output</span></p>
  149. <ul>
  150. <li class="toctree-l1"><a class="reference internal" href="../Customizing/Module-Values.html">Module values</a><ul>
  151. <li class="toctree-l2"><a class="reference internal" href="../Customizing/Module-Values.html#basics">Basics</a></li>
  152. <li class="toctree-l2"><a class="reference internal" href="../Customizing/Module-Values.html#assigning-values">Assigning values</a></li>
  153. <li class="toctree-l2"><a class="reference internal" href="../Customizing/Module-Values.html#handling-in-your-own-qroutputinterface">Handling in your own <code class="docutils literal notranslate"><span class="pre">QROutputInterface</span></code></a><ul>
  154. <li class="toctree-l3"><a class="reference internal" href="../Customizing/Module-Values.html#setting-module-values">Setting module values</a></li>
  155. <li class="toctree-l3"><a class="reference internal" href="../Customizing/Module-Values.html#using-the-module-values">Using the module values</a></li>
  156. </ul>
  157. </li>
  158. </ul>
  159. </li>
  160. </ul>
  161. <p class="caption" role="heading"><span class="caption-text">Built-In Output Modules</span></p>
  162. <ul>
  163. <li class="toctree-l1"><a class="reference internal" href="../Built-In-Output/QREps.html">QREps</a><ul>
  164. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QREps.html#example">Example</a></li>
  165. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QREps.html#additional-methods">Additional methods</a></li>
  166. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QREps.html#options-that-affect-this-module">Options that affect this module</a><ul>
  167. <li class="toctree-l3"><a class="reference internal" href="../Built-In-Output/QREps.html#options-that-have-no-effect">Options that have no effect</a></li>
  168. </ul>
  169. </li>
  170. </ul>
  171. </li>
  172. <li class="toctree-l1"><a class="reference internal" href="../Built-In-Output/QRFpdf.html">QRFpdf</a><ul>
  173. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRFpdf.html#example">Example</a></li>
  174. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRFpdf.html#additional-methods">Additional methods</a></li>
  175. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRFpdf.html#options-that-affect-this-module">Options that affect this module</a><ul>
  176. <li class="toctree-l3"><a class="reference internal" href="../Built-In-Output/QRFpdf.html#options-that-have-no-effect">Options that have no effect</a></li>
  177. </ul>
  178. </li>
  179. </ul>
  180. </li>
  181. <li class="toctree-l1"><a class="reference internal" href="../Built-In-Output/QRGdImage.html">QRGdImage</a><ul>
  182. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRGdImage.html#example">Example</a></li>
  183. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRGdImage.html#additional-methods">Additional methods</a></li>
  184. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRGdImage.html#options-that-affect-this-module">Options that affect this module</a><ul>
  185. <li class="toctree-l3"><a class="reference internal" href="../Built-In-Output/QRGdImage.html#options-that-have-no-effect">Options that have no effect</a></li>
  186. </ul>
  187. </li>
  188. </ul>
  189. </li>
  190. <li class="toctree-l1"><a class="reference internal" href="../Built-In-Output/QRImagick.html">QRImagick</a><ul>
  191. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRImagick.html#example">Example</a></li>
  192. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRImagick.html#additional-methods">Additional methods</a></li>
  193. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRImagick.html#options-that-affect-this-module">Options that affect this module</a><ul>
  194. <li class="toctree-l3"><a class="reference internal" href="../Built-In-Output/QRImagick.html#options-that-have-no-effect">Options that have no effect</a></li>
  195. </ul>
  196. </li>
  197. </ul>
  198. </li>
  199. <li class="toctree-l1"><a class="reference internal" href="../Built-In-Output/QRMarkupHTML.html">QRMarkupHTML</a><ul>
  200. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRMarkupHTML.html#example">Example</a></li>
  201. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRMarkupHTML.html#additional-methods">Additional methods</a></li>
  202. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRMarkupHTML.html#options-that-affect-this-module">Options that affect this module</a><ul>
  203. <li class="toctree-l3"><a class="reference internal" href="../Built-In-Output/QRMarkupHTML.html#options-that-have-no-effect">Options that have no effect</a></li>
  204. </ul>
  205. </li>
  206. </ul>
  207. </li>
  208. <li class="toctree-l1"><a class="reference internal" href="../Built-In-Output/QRMarkupSVG.html">QRMarkupSVG</a><ul>
  209. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRMarkupSVG.html#example">Example</a></li>
  210. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRMarkupSVG.html#additional-methods">Additional methods</a></li>
  211. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRMarkupSVG.html#options-that-affect-this-module">Options that affect this module</a><ul>
  212. <li class="toctree-l3"><a class="reference internal" href="../Built-In-Output/QRMarkupSVG.html#options-that-have-no-effect">Options that have no effect</a></li>
  213. </ul>
  214. </li>
  215. </ul>
  216. </li>
  217. <li class="toctree-l1"><a class="reference internal" href="../Built-In-Output/QRString.html">QRString</a><ul>
  218. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRString.html#plain-text">Plain text</a></li>
  219. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRString.html#json">JSON</a></li>
  220. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRString.html#additional-methods">Additional methods</a></li>
  221. <li class="toctree-l2"><a class="reference internal" href="../Built-In-Output/QRString.html#options-that-affect-this-module">Options that affect this module</a><ul>
  222. <li class="toctree-l3"><a class="reference internal" href="../Built-In-Output/QRString.html#options-that-have-no-effect">Options that have no effect</a></li>
  223. </ul>
  224. </li>
  225. </ul>
  226. </li>
  227. </ul>
  228. <p class="caption" role="heading"><span class="caption-text">Appendix</span></p>
  229. <ul class="current">
  230. <li class="toctree-l1"><a class="reference internal" href="Contribute.html">How to contribute</a><ul>
  231. <li class="toctree-l2"><a class="reference internal" href="Contribute.html#questions-and-issues">Questions and issues</a></li>
  232. <li class="toctree-l2"><a class="reference internal" href="Contribute.html#bug-reports">Bug reports</a></li>
  233. <li class="toctree-l2"><a class="reference internal" href="Contribute.html#pull-requests-and-bug-fixes">Pull requests and bug fixes</a></li>
  234. <li class="toctree-l2"><a class="reference internal" href="Contribute.html#documentation">Documentation</a></li>
  235. </ul>
  236. </li>
  237. <li class="toctree-l1"><a class="reference internal" href="Terminology.html">Terminology</a><ul>
  238. <li class="toctree-l2"><a class="reference internal" href="Terminology.html#qr-code">QR Code</a></li>
  239. <li class="toctree-l2"><a class="reference internal" href="Terminology.html#matrix">Matrix</a><ul>
  240. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#module">Module</a></li>
  241. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#version">Version</a></li>
  242. </ul>
  243. </li>
  244. <li class="toctree-l2"><a class="reference internal" href="Terminology.html#function-patterns">Function Patterns</a><ul>
  245. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#finder-pattern">Finder Pattern</a></li>
  246. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#alignment-pattern">Alignment Pattern</a></li>
  247. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#timing-pattern">Timing Pattern</a></li>
  248. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#separators">Separators</a></li>
  249. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#quiet-zone">Quiet Zone</a></li>
  250. </ul>
  251. </li>
  252. <li class="toctree-l2"><a class="reference internal" href="Terminology.html#encoding-region">Encoding Region</a><ul>
  253. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#data">Data</a></li>
  254. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#version-information">Version Information</a></li>
  255. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#format-information">Format Information</a></li>
  256. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#darkmodule">Darkmodule</a></li>
  257. </ul>
  258. </li>
  259. <li class="toctree-l2"><a class="reference internal" href="Terminology.html#mode">Mode</a><ul>
  260. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#segment">Segment</a></li>
  261. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#extended-channel-interpretation-eci">Extended Channel Interpretation (ECI)</a></li>
  262. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#mixed-mode">Mixed Mode</a></li>
  263. </ul>
  264. </li>
  265. <li class="toctree-l2"><a class="reference internal" href="Terminology.html#ecc-error-correction-coding">ECC (Error Correction Coding)</a><ul>
  266. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#ecc-level">ECC Level</a></li>
  267. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#maximum-data-capacity">Maximum data capacity</a></li>
  268. </ul>
  269. </li>
  270. <li class="toctree-l2"><a class="reference internal" href="Terminology.html#data-masking">Data masking</a><ul>
  271. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#evaluation">Evaluation</a></li>
  272. <li class="toctree-l3"><a class="reference internal" href="Terminology.html#mask-pattern">Mask pattern</a></li>
  273. </ul>
  274. </li>
  275. <li class="toctree-l2"><a class="reference internal" href="Terminology.html#reflectance">Reflectance</a></li>
  276. </ul>
  277. </li>
  278. <li class="toctree-l1"><a class="reference internal" href="URI-Content.html">Popular content and URI schemes</a><ul>
  279. <li class="toctree-l2"><a class="reference internal" href="URI-Content.html#url-https">URL <code class="docutils literal notranslate"><span class="pre">https</span></code></a></li>
  280. <li class="toctree-l2"><a class="reference internal" href="URI-Content.html#e-mail-mailto">E-Mail <code class="docutils literal notranslate"><span class="pre">mailto</span></code></a></li>
  281. <li class="toctree-l2"><a class="reference internal" href="URI-Content.html#phone-numbers-tel">Phone numbers <code class="docutils literal notranslate"><span class="pre">tel</span></code></a></li>
  282. <li class="toctree-l2"><a class="reference internal" href="URI-Content.html#geo-coordinates-geo">Geo Coordinates <code class="docutils literal notranslate"><span class="pre">geo</span></code></a></li>
  283. <li class="toctree-l2"><a class="reference internal" href="URI-Content.html#mobile-authenticators-otpauth">Mobile Authenticators <code class="docutils literal notranslate"><span class="pre">otpauth</span></code></a></li>
  284. <li class="toctree-l2"><a class="reference internal" href="URI-Content.html#wireless-network-configuration">Wireless Network configuration</a></li>
  285. <li class="toctree-l2"><a class="reference internal" href="URI-Content.html#contact-information-vcard">Contact information: vCard</a></li>
  286. <li class="toctree-l2"><a class="reference internal" href="URI-Content.html#calendar-events-vcalendar-and-icalendar">Calendar Events: vCalendar and iCalendar</a></li>
  287. <li class="toctree-l2"><a class="reference internal" href="URI-Content.html#see-also">See also</a></li>
  288. </ul>
  289. </li>
  290. <li class="toctree-l1 current"><a class="current reference internal" href="#">License</a></li>
  291. </ul>
  292. </div>
  293. </div>
  294. </nav>
  295. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
  296. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  297. <a href="../index.html">PHP-QRCode</a>
  298. </nav>
  299. <div class="wy-nav-content">
  300. <div class="rst-content">
  301. <div role="navigation" aria-label="Page navigation">
  302. <ul class="wy-breadcrumbs">
  303. <li><a href="../index.html" class="icon icon-home" aria-label="Home"></a></li>
  304. <li class="breadcrumb-item active">License</li>
  305. <li class="wy-breadcrumbs-aside">
  306. <a href="https://github.com/chillerlan/php-qrcode/blob/main/docs/Appendix/License.rst" class="fa fa-github"> Edit on GitHub</a>
  307. </li>
  308. </ul>
  309. <hr/>
  310. </div>
  311. <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
  312. <div itemprop="articleBody">
  313. <section id="license">
  314. <h1>License<a class="headerlink" href="#license" title="Link to this heading"></a></h1>
  315. <div class="highlight-text notranslate"><div class="highlight"><pre><span></span>Copyright (c) 2023 smiley.
  316. This work is licensed under the Creative Commons
  317. Attribution 4.0 International (CC BY 4.0)
  318. A summary of the license is given below, followed by the full legal
  319. text.
  320. -----------------------------------------------------------------------
  321. You are free to:
  322. Share
  323. - copy and redistribute the material in any medium or format
  324. Adapt
  325. - remix, transform, and build upon the material for any purpose,
  326. even commercially.
  327. The licensor cannot revoke these freedoms as long as you follow the
  328. license terms.
  329. Under the following terms:
  330. Attribution
  331. - You must give appropriate credit, provide a link to the license,
  332. and indicate if changes were made.
  333. - You may do so in any reasonable manner, but not in any way that
  334. suggests the licensor endorses you or your use.
  335. No additional restrictions
  336. - You may not apply legal terms or technological measures that
  337. legally restrict others from doing anything the license permits.
  338. -----------------------------------------------------------------------
  339. Attribution 4.0 International
  340. =======================================================================
  341. Creative Commons Corporation (&quot;Creative Commons&quot;) is not a law firm and
  342. does not provide legal services or legal advice. Distribution of
  343. Creative Commons public licenses does not create a lawyer-client or
  344. other relationship. Creative Commons makes its licenses and related
  345. information available on an &quot;as-is&quot; basis. Creative Commons gives no
  346. warranties regarding its licenses, any material licensed under their
  347. terms and conditions, or any related information. Creative Commons
  348. disclaims all liability for damages resulting from their use to the
  349. fullest extent possible.
  350. Using Creative Commons Public Licenses
  351. Creative Commons public licenses provide a standard set of terms and
  352. conditions that creators and other rights holders may use to share
  353. original works of authorship and other material subject to copyright
  354. and certain other rights specified in the public license below. The
  355. following considerations are for informational purposes only, are not
  356. exhaustive, and do not form part of our licenses.
  357. Considerations for licensors: Our public licenses are
  358. intended for use by those authorized to give the public
  359. permission to use material in ways otherwise restricted by
  360. copyright and certain other rights. Our licenses are
  361. irrevocable. Licensors should read and understand the terms
  362. and conditions of the license they choose before applying it.
  363. Licensors should also secure all rights necessary before
  364. applying our licenses so that the public can reuse the
  365. material as expected. Licensors should clearly mark any
  366. material not subject to the license. This includes other CC-
  367. licensed material, or material used under an exception or
  368. limitation to copyright. More considerations for licensors:
  369. wiki.creativecommons.org/Considerations_for_licensors
  370. Considerations for the public: By using one of our public
  371. licenses, a licensor grants the public permission to use the
  372. licensed material under specified terms and conditions. If
  373. the licensor&#39;s permission is not necessary for any reason--for
  374. example, because of any applicable exception or limitation to
  375. copyright--then that use is not regulated by the license. Our
  376. licenses grant only permissions under copyright and certain
  377. other rights that a licensor has authority to grant. Use of
  378. the licensed material may still be restricted for other
  379. reasons, including because others have copyright or other
  380. rights in the material. A licensor may make special requests,
  381. such as asking that all changes be marked or described.
  382. Although not required by our licenses, you are encouraged to
  383. respect those requests where reasonable. More considerations
  384. for the public:
  385. wiki.creativecommons.org/Considerations_for_licensees
  386. =======================================================================
  387. Creative Commons Attribution 4.0 International Public License
  388. By exercising the Licensed Rights (defined below), You accept and agree
  389. to be bound by the terms and conditions of this Creative Commons
  390. Attribution 4.0 International Public License (&quot;Public License&quot;). To the
  391. extent this Public License may be interpreted as a contract, You are
  392. granted the Licensed Rights in consideration of Your acceptance of
  393. these terms and conditions, and the Licensor grants You such rights in
  394. consideration of benefits the Licensor receives from making the
  395. Licensed Material available under these terms and conditions.
  396. Section 1 -- Definitions.
  397. a. Adapted Material means material subject to Copyright and Similar
  398. Rights that is derived from or based upon the Licensed Material
  399. and in which the Licensed Material is translated, altered,
  400. arranged, transformed, or otherwise modified in a manner requiring
  401. permission under the Copyright and Similar Rights held by the
  402. Licensor. For purposes of this Public License, where the Licensed
  403. Material is a musical work, performance, or sound recording,
  404. Adapted Material is always produced where the Licensed Material is
  405. synched in timed relation with a moving image.
  406. b. Adapter&#39;s License means the license You apply to Your Copyright
  407. and Similar Rights in Your contributions to Adapted Material in
  408. accordance with the terms and conditions of this Public License.
  409. c. Copyright and Similar Rights means copyright and/or similar rights
  410. closely related to copyright including, without limitation,
  411. performance, broadcast, sound recording, and Sui Generis Database
  412. Rights, without regard to how the rights are labeled or
  413. categorized. For purposes of this Public License, the rights
  414. specified in Section 2(b)(1)-(2) are not Copyright and Similar
  415. Rights.
  416. d. Effective Technological Measures means those measures that, in the
  417. absence of proper authority, may not be circumvented under laws
  418. fulfilling obligations under Article 11 of the WIPO Copyright
  419. Treaty adopted on December 20, 1996, and/or similar international
  420. agreements.
  421. e. Exceptions and Limitations means fair use, fair dealing, and/or
  422. any other exception or limitation to Copyright and Similar Rights
  423. that applies to Your use of the Licensed Material.
  424. f. Licensed Material means the artistic or literary work, database,
  425. or other material to which the Licensor applied this Public
  426. License.
  427. g. Licensed Rights means the rights granted to You subject to the
  428. terms and conditions of this Public License, which are limited to
  429. all Copyright and Similar Rights that apply to Your use of the
  430. Licensed Material and that the Licensor has authority to license.
  431. h. Licensor means the individual(s) or entity(ies) granting rights
  432. under this Public License.
  433. i. Share means to provide material to the public by any means or
  434. process that requires permission under the Licensed Rights, such
  435. as reproduction, public display, public performance, distribution,
  436. dissemination, communication, or importation, and to make material
  437. available to the public including in ways that members of the
  438. public may access the material from a place and at a time
  439. individually chosen by them.
  440. j. Sui Generis Database Rights means rights other than copyright
  441. resulting from Directive 96/9/EC of the European Parliament and of
  442. the Council of 11 March 1996 on the legal protection of databases,
  443. as amended and/or succeeded, as well as other essentially
  444. equivalent rights anywhere in the world.
  445. k. You means the individual or entity exercising the Licensed Rights
  446. under this Public License. Your has a corresponding meaning.
  447. Section 2 -- Scope.
  448. a. License grant.
  449. 1. Subject to the terms and conditions of this Public License,
  450. the Licensor hereby grants You a worldwide, royalty-free,
  451. non-sublicensable, non-exclusive, irrevocable license to
  452. exercise the Licensed Rights in the Licensed Material to:
  453. a. reproduce and Share the Licensed Material, in whole or
  454. in part; and
  455. b. produce, reproduce, and Share Adapted Material.
  456. 2. Exceptions and Limitations. For the avoidance of doubt, where
  457. Exceptions and Limitations apply to Your use, this Public
  458. License does not apply, and You do not need to comply with
  459. its terms and conditions.
  460. 3. Term. The term of this Public License is specified in Section
  461. 6(a).
  462. 4. Media and formats; technical modifications allowed. The
  463. Licensor authorizes You to exercise the Licensed Rights in
  464. all media and formats whether now known or hereafter created,
  465. and to make technical modifications necessary to do so. The
  466. Licensor waives and/or agrees not to assert any right or
  467. authority to forbid You from making technical modifications
  468. necessary to exercise the Licensed Rights, including
  469. technical modifications necessary to circumvent Effective
  470. Technological Measures. For purposes of this Public License,
  471. simply making modifications authorized by this Section 2(a)
  472. (4) never produces Adapted Material.
  473. 5. Downstream recipients.
  474. a. Offer from the Licensor -- Licensed Material. Every
  475. recipient of the Licensed Material automatically
  476. receives an offer from the Licensor to exercise the
  477. Licensed Rights under the terms and conditions of this
  478. Public License.
  479. b. No downstream restrictions. You may not offer or impose
  480. any additional or different terms or conditions on, or
  481. apply any Effective Technological Measures to, the
  482. Licensed Material if doing so restricts exercise of the
  483. Licensed Rights by any recipient of the Licensed
  484. Material.
  485. 6. No endorsement. Nothing in this Public License constitutes or
  486. may be construed as permission to assert or imply that You
  487. are, or that Your use of the Licensed Material is, connected
  488. with, or sponsored, endorsed, or granted official status by,
  489. the Licensor or others designated to receive attribution as
  490. provided in Section 3(a)(1)(A)(i).
  491. b. Other rights.
  492. 1. Moral rights, such as the right of integrity, are not
  493. licensed under this Public License, nor are publicity,
  494. privacy, and/or other similar personality rights; however, to
  495. the extent possible, the Licensor waives and/or agrees not to
  496. assert any such rights held by the Licensor to the limited
  497. extent necessary to allow You to exercise the Licensed
  498. Rights, but not otherwise.
  499. 2. Patent and trademark rights are not licensed under this
  500. Public License.
  501. 3. To the extent possible, the Licensor waives any right to
  502. collect royalties from You for the exercise of the Licensed
  503. Rights, whether directly or through a collecting society
  504. under any voluntary or waivable statutory or compulsory
  505. licensing scheme. In all other cases the Licensor expressly
  506. reserves any right to collect such royalties.
  507. Section 3 -- License Conditions.
  508. Your exercise of the Licensed Rights is expressly made subject to the
  509. following conditions.
  510. a. Attribution.
  511. 1. If You Share the Licensed Material (including in modified
  512. form), You must:
  513. a. retain the following if it is supplied by the Licensor
  514. with the Licensed Material:
  515. i. identification of the creator(s) of the Licensed
  516. Material and any others designated to receive
  517. attribution, in any reasonable manner requested by
  518. the Licensor (including by pseudonym if
  519. designated);
  520. ii. a copyright notice;
  521. iii. a notice that refers to this Public License;
  522. iv. a notice that refers to the disclaimer of
  523. warranties;
  524. v. a URI or hyperlink to the Licensed Material to the
  525. extent reasonably practicable;
  526. b. indicate if You modified the Licensed Material and
  527. retain an indication of any previous modifications; and
  528. c. indicate the Licensed Material is licensed under this
  529. Public License, and include the text of, or the URI or
  530. hyperlink to, this Public License.
  531. 2. You may satisfy the conditions in Section 3(a)(1) in any
  532. reasonable manner based on the medium, means, and context in
  533. which You Share the Licensed Material. For example, it may be
  534. reasonable to satisfy the conditions by providing a URI or
  535. hyperlink to a resource that includes the required
  536. information.
  537. 3. If requested by the Licensor, You must remove any of the
  538. information required by Section 3(a)(1)(A) to the extent
  539. reasonably practicable.
  540. 4. If You Share Adapted Material You produce, the Adapter&#39;s
  541. License You apply must not prevent recipients of the Adapted
  542. Material from complying with this Public License.
  543. Section 4 -- Sui Generis Database Rights.
  544. Where the Licensed Rights include Sui Generis Database Rights that
  545. apply to Your use of the Licensed Material:
  546. a. for the avoidance of doubt, Section 2(a)(1) grants You the right
  547. to extract, reuse, reproduce, and Share all or a substantial
  548. portion of the contents of the database;
  549. b. if You include all or a substantial portion of the database
  550. contents in a database in which You have Sui Generis Database
  551. Rights, then the database in which You have Sui Generis Database
  552. Rights (but not its individual contents) is Adapted Material; and
  553. c. You must comply with the conditions in Section 3(a) if You Share
  554. all or a substantial portion of the contents of the database.
  555. For the avoidance of doubt, this Section 4 supplements and does not
  556. replace Your obligations under this Public License where the Licensed
  557. Rights include other Copyright and Similar Rights.
  558. Section 5 -- Disclaimer of Warranties and Limitation of Liability.
  559. a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
  560. EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
  561. AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
  562. ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
  563. IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
  564. WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
  565. PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
  566. ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
  567. KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
  568. ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
  569. b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
  570. TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
  571. NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
  572. INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
  573. COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
  574. USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
  575. ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
  576. DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
  577. IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
  578. c. The disclaimer of warranties and limitation of liability provided
  579. above shall be interpreted in a manner that, to the extent
  580. possible, most closely approximates an absolute disclaimer and
  581. waiver of all liability.
  582. Section 6 -- Term and Termination.
  583. a. This Public License applies for the term of the Copyright and
  584. Similar Rights licensed here. However, if You fail to comply with
  585. this Public License, then Your rights under this Public License
  586. terminate automatically.
  587. b. Where Your right to use the Licensed Material has terminated under
  588. Section 6(a), it reinstates:
  589. 1. automatically as of the date the violation is cured, provided
  590. it is cured within 30 days of Your discovery of the
  591. violation; or
  592. 2. upon express reinstatement by the Licensor.
  593. For the avoidance of doubt, this Section 6(b) does not affect any
  594. right the Licensor may have to seek remedies for Your violations
  595. of this Public License.
  596. c. For the avoidance of doubt, the Licensor may also offer the
  597. Licensed Material under separate terms or conditions or stop
  598. distributing the Licensed Material at any time; however, doing so
  599. will not terminate this Public License.
  600. d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
  601. License.
  602. Section 7 -- Other Terms and Conditions.
  603. a. The Licensor shall not be bound by any additional or different
  604. terms or conditions communicated by You unless expressly agreed.
  605. b. Any arrangements, understandings, or agreements regarding the
  606. Licensed Material not stated herein are separate from and
  607. independent of the terms and conditions of this Public License.
  608. Section 8 -- Interpretation.
  609. a. For the avoidance of doubt, this Public License does not, and
  610. shall not be interpreted to, reduce, limit, restrict, or impose
  611. conditions on any use of the Licensed Material that could lawfully
  612. be made without permission under this Public License.
  613. b. To the extent possible, if any provision of this Public License is
  614. deemed unenforceable, it shall be automatically reformed to the
  615. minimum extent necessary to make it enforceable. If the provision
  616. cannot be reformed, it shall be severed from this Public License
  617. without affecting the enforceability of the remaining terms and
  618. conditions.
  619. c. No term or condition of this Public License will be waived and no
  620. failure to comply consented to unless expressly agreed to by the
  621. Licensor.
  622. d. Nothing in this Public License constitutes or may be interpreted
  623. as a limitation upon, or waiver of, any privileges and immunities
  624. that apply to the Licensor or You, including from the legal
  625. processes of any jurisdiction or authority.
  626. =======================================================================
  627. Creative Commons is not a party to its public
  628. licenses. Notwithstanding, Creative Commons may elect to apply one of
  629. its public licenses to material it publishes and in those instances
  630. will be considered the “Licensor.” The text of the Creative Commons
  631. public licenses is dedicated to the public domain under the CC0 Public
  632. Domain Dedication. Except for the limited purpose of indicating that
  633. material is shared under a Creative Commons public license or as
  634. otherwise permitted by the Creative Commons policies published at
  635. creativecommons.org/policies, Creative Commons does not authorize the
  636. use of the trademark &quot;Creative Commons&quot; or any other trademark or logo
  637. of Creative Commons without its prior written consent including,
  638. without limitation, in connection with any unauthorized modifications
  639. to any of its public licenses or any other arrangements,
  640. understandings, or agreements concerning use of licensed material. For
  641. the avoidance of doubt, this paragraph does not form part of the
  642. public licenses.
  643. Creative Commons may be contacted at creativecommons.org.
  644. </pre></div>
  645. </div>
  646. </section>
  647. </div>
  648. </div>
  649. <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
  650. <a href="URI-Content.html" class="btn btn-neutral float-left" title="Popular content and URI schemes" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
  651. </div>
  652. <hr/>
  653. <div role="contentinfo">
  654. <p>&#169; Copyright 2023, smiley.</p>
  655. </div>
  656. </footer>
  657. </div>
  658. </div>
  659. </section>
  660. </div>
  661. <script>
  662. jQuery(function () {
  663. SphinxRtdTheme.Navigation.enable(true);
  664. });
  665. </script>
  666. </body>
  667. </html>