{"id":635,"date":"2018-08-20T06:53:31","date_gmt":"2018-08-20T06:53:31","guid":{"rendered":"http:\/\/www.codeinsightacademy.com\/blog\/?page_id=635"},"modified":"2018-08-20T06:53:31","modified_gmt":"2018-08-20T06:53:31","slug":"composer","status":"publish","type":"page","link":"https:\/\/codeinsightacademy.com\/blog\/devops\/composer\/","title":{"rendered":"Composer"},"content":{"rendered":"<p>To add composer<br \/>\ncomposer init<\/p>\n<p>To archive current project<br \/>\ncomposer archive &#8211;format=zip &#8211;dir=dist &#8211;file=cidemo_1.0.0<\/p>\n<p>To install dev dependencies<br \/>\ncomposer install &#8211;dev<\/p>\n<p>To install prod dependencies<br \/>\ncomposer install &#8211;no-dev<\/p>\n<p>To exclude directories in archive<br \/>\n&#8220;archive&#8221;: {<br \/>\n&#8220;exclude&#8221;: [&#8220;vendor&#8221;, &#8220;dist&#8221;]<br \/>\n}<\/p>\n<p>To ignore directories in archive<br \/>\n&#8220;archive&#8221;: {<br \/>\n&#8220;exclude&#8221;: [&#8220;!vendor\/*&#8221;]<br \/>\n}<\/p>\n<p>https:\/\/www.google.co.in\/search?q=composer+archive+commands&#038;rlz=1C1GCEA_enIN785IN785&#038;oq=composer+archive+commands&#038;aqs=chrome..69i57.6671j0j7&#038;sourceid=chrome&#038;ie=UTF-8<br \/>\nhttps:\/\/hyperledger.github.io\/composer\/reference\/composer.archive.create.html<br \/>\n<iframe loading=\"lazy\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/oLWKW-88luA?feature=oembed\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe><br \/>\nhttps:\/\/www.facebook.com\/shaileshsonare<br \/>\nhttps:\/\/www.google.co.in\/search?rlz=1C1GCEA_enIN785IN785&#038;biw=1366&#038;bih=613&#038;ei=ATW5WufOG8nXvASOx5ewAw&#038;q=how+to+build+package+of+php+project&#038;oq=how+to+build+package+of+php+project&#038;gs_l=psy-ab.3..33i22i29i30k1l4.817045.828564.0.829166.39.31.2.5.6.0.399.5235.0j4j15j3.22.0&#8230;.0&#8230;1c.1.64.psy-ab..11.26.4786&#8230;0j0i131k1j0i22i30k1j33i21k1.0.-1uM5hdPfI0<br \/>\nhttps:\/\/stackoverflow.com\/questions\/4388513\/how-i-can-create-installer-for-website-php-mysql<br \/>\nhttps:\/\/www.apphp.com\/index.php?page=product&#038;pc=PHPEI<br \/>\nhttps:\/\/www.phpclasses.org\/package\/3072-PHP-Generate-PHP-application-installation-scripts.html<br \/>\nhttps:\/\/www.phpclasses.org\/package\/2543-PHP-Create-installation-wizard-pages.html<br \/>\nhttp:\/\/www.vadimg.com\/2009\/06\/24\/application-installer-wizard-class\/<br \/>\nhttps:\/\/sourceforge.net\/projects\/upcase-project\/<br \/>\nhttps:\/\/github.com\/SunboX\/Php-Web-Application-Installer\/blob\/master\/README.md<br \/>\nhttps:\/\/sourceforge.net\/projects\/zzossinstaller\/<br \/>\nhttps:\/\/sourceforge.net\/projects\/phpappinstaller\/<br \/>\nhttps:\/\/sourceforge.net\/projects\/piap\/<br \/>\nhttp:\/\/cweiske.de\/tagebuch\/Generic%20PHP%20application%20installers.htm<br \/>\nhttps:\/\/kore-nordmann.de\/blog\/0097_php_web_installer.html<br \/>\nhttp:\/\/www.culttt.com\/2014\/03\/12\/build-php-package\/<br \/>\nhttps:\/\/www.phpclasses.org\/package\/9574-PHP-Create-packages-of-project-files-for-distribution.html<br \/>\nhttp:\/\/sandbox.sgt.saint-gobain.net:3000\/shaileshsonare\/codeignitertest<br \/>\nhttps:\/\/www.google.co.in\/search?q=composer+install+command&#038;rlz=1C1GCEA_enIN785IN785&#038;oq=composer+install+command&#038;aqs=chrome..69i57j0l5.3977j0j7&#038;sourceid=chrome&#038;ie=UTF-8<br \/>\nhttps:\/\/getcomposer.org\/doc\/03-cli.md#install<br \/>\nhttps:\/\/www.google.co.in\/search?q=composer+archive+command&#038;rlz=1C1GCEA_enIN785IN785&#038;oq=composer+archive+command&#038;aqs=chrome..69i57j69i59j69i60.5212j0j7&#038;sourceid=chrome&#038;ie=UTF-8<br \/>\nhttps:\/\/getcomposer.org\/doc\/03-cli.md#update<br \/>\nhttps:\/\/www.google.co.in\/search?q=how+to+use+composer+to+create+archive+of+project&#038;rlz=1C1GCEA_enIN785IN785&#038;oq=how+to+use+composer+to+create+archive+of+project&#038;aqs=chrome..69i57.9694j0j7&#038;sourceid=chrome&#038;ie=UTF-8<br \/>\nhttps:\/\/stackoverflow.com\/questions\/45570435\/is-it-possible-to-use-composers-archive-feature-to-compress-a-project-locally<br \/>\nhttps:\/\/stackoverflow.com\/questions\/15023126\/composer-ignoring-zip-dependecies-composer-json-file?rq=1<br \/>\nhttps:\/\/www.google.co.in\/search?q=exclude+folder+in+composer+archive&#038;rlz=1C1GCEA_enIN785IN785&#038;oq=exclude+folder+in+composer+archive&#038;aqs=chrome..69i57.11143j0j7&#038;sourceid=chrome&#038;ie=UTF-8<br \/>\nhttps:\/\/stackoverflow.com\/questions\/17049313\/how-to-ignore-directories-with-composer<br \/>\nhttps:\/\/getcomposer.org\/doc\/04-schema.md#archive<br \/>\nhttps:\/\/www.google.co.in\/search?q=composer+install+production+only&#038;rlz=1C1GCEA_enIN785IN785&#038;oq=composer+install+produ&#038;aqs=chrome.2.0j69i57j0l2.6013j0j7&#038;sourceid=chrome&#038;ie=UTF-8<br \/>\nhttps:\/\/stackoverflow.com\/questions\/21721495\/how-to-deploy-correctly-when-using-composers-develop-production-switch<br \/>\nhttps:\/\/www.google.co.in\/search?rlz=1C1GCEA_enIN785IN785&#038;q=print+today%27s+history+command&#038;spell=1&#038;sa=X&#038;ved=0ahUKEwikx8r654vaAhVKro8KHfDGCn8QBQgjKAA&#038;biw=1366&#038;bih=662<br \/>\nhttps:\/\/superuser.com\/questions\/397527\/retrieve-linux-command-line-history-by-date<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To add composer composer init To archive current project composer archive &#8211;format=zip &#8211;dir=dist &#8211;file=cidemo_1.0.0 To install dev dependencies composer install &#8211;dev To install prod dependencies composer install &#8211;no-dev To exclude directories in archive &#8220;archive&#8221;: { &#8220;exclude&#8221;: [&#8220;vendor&#8221;, &#8220;dist&#8221;] } To ignore directories in archive &#8220;archive&#8221;: { &#8220;exclude&#8221;: [&#8220;!vendor\/*&#8221;] } https:\/\/www.google.co.in\/search?q=composer+archive+commands&#038;rlz=1C1GCEA_enIN785IN785&#038;oq=composer+archive+commands&#038;aqs=chrome..69i57.6671j0j7&#038;sourceid=chrome&#038;ie=UTF-8 https:\/\/hyperledger.github.io\/composer\/reference\/composer.archive.create.html https:\/\/www.facebook.com\/shaileshsonare https:\/\/www.google.co.in\/search?rlz=1C1GCEA_enIN785IN785&#038;biw=1366&#038;bih=613&#038;ei=ATW5WufOG8nXvASOx5ewAw&#038;q=how+to+build+package+of+php+project&#038;oq=how+to+build+package+of+php+project&#038;gs_l=psy-ab.3..33i22i29i30k1l4.817045.828564.0.829166.39.31.2.5.6.0.399.5235.0j4j15j3.22.0&#8230;.0&#8230;1c.1.64.psy-ab..11.26.4786&#8230;0j0i131k1j0i22i30k1j33i21k1.0.-1uM5hdPfI0 https:\/\/stackoverflow.com\/questions\/4388513\/how-i-can-create-installer-for-website-php-mysql https:\/\/www.apphp.com\/index.php?page=product&#038;pc=PHPEI [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":483,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/635"}],"collection":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/comments?post=635"}],"version-history":[{"count":1,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/635\/revisions"}],"predecessor-version":[{"id":636,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/635\/revisions\/636"}],"up":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/483"}],"wp:attachment":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/media?parent=635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}