{"id":1013,"date":"2018-03-07T19:28:05","date_gmt":"2018-03-07T18:28:05","guid":{"rendered":"https:\/\/2018.vienna.wordcamp.org\/?post_type=wcb_session&#038;p=1013"},"modified":"2018-03-07T19:28:05","modified_gmt":"2018-03-07T18:28:05","slug":"using-composer-wordpress-is-just-a-dependency","status":"publish","type":"wcb_session","link":"https:\/\/vienna.wordcamp.org\/2018\/session\/using-composer-wordpress-is-just-a-dependency\/","title":{"rendered":"Using Composer: WordPress is just a dependency"},"content":{"rendered":"<p>In this talk I intend to cover the basics of the Composer dependency manager and its usefulness in the context of WordPress.<\/p>\n<p>To do so I intend to cover the following points in depth:<\/p>\n<p>1. What is Composer: &#8211; A brief introduction &#8211; Who uses Composer?<br \/>\n2. Stand-alone usage of Composer: &#8211; The composer.json file &#8211; Loading directories &#8211; Name-spacing &#8211; Usage within WordPress themes and plugins<br \/>\n3. WordPress as a dependency &#8211; https:\/\/wpackagist.org\/ &#8211; Well-known WordPress core packages &#8211; Moving plugins and themes into the proper directories<br \/>\n4. Pros &amp; Cons &#8211; Cons: Another dependency on your host &#8211; Pros: Simplified GIT repositories, command-line access, versioning, etc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this talk I intend to cover the basics of the Composer dependency manager and its usefulness in the context of WordPress. To do so I intend to cover the following points in depth: 1. What is Composer: &#8211; A brief introduction &#8211; Who uses Composer? 2. Stand-alone usage of Composer: &#8211; The composer.json file [&hellip;]<\/p>\n","protected":false},"author":13742289,"featured_media":0,"template":"","meta":{"_wcpt_session_time":1523095200,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1011],"footnotes":""},"session_track":[1240777],"session_category":[],"class_list":["post-1013","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-aula-dev"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pheLTZ-gl","session_date_time":{"date":"April 7, 2018","time":"11:00"},"session_speakers":[{"id":"1011","slug":"radoslav-georgiev","name":"Radoslav Georgiev","link":"https:\/\/vienna.wordcamp.org\/2018\/speaker\/radoslav-georgiev\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/vienna.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vienna.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/vienna.wordcamp.org\/2018\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/vienna.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1013\/revisions"}],"predecessor-version":[{"id":1014,"href":"https:\/\/vienna.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1013\/revisions\/1014"}],"speakers":[{"embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2018\/wp-json\/wp\/v2\/speakers\/1011"}],"author":[{"embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2018\/wp-json\/wporg\/v1\/users\/radogeorgiev"}],"wp:attachment":[{"href":"https:\/\/vienna.wordcamp.org\/2018\/wp-json\/wp\/v2\/media?parent=1013"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_track?post=1013"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_category?post=1013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}