Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Getting started with TYPO3 and composer

255 Aufrufe

Veröffentlicht am

It is about how to setup composer based TYPO3 projects, import extensions and use other repositories than composer.typo3.org. Also it includes how to apply patches to the TYPO3 core or other packages, autoloading and basic composer settings and possibilities.

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

Getting started with TYPO3 and composer

  1. 1. 2018 // Florian Wessels TYPO3 and Composer 2018 // Florian Wessels A Basic Setup
  2. 2. 2018 // Florian Wessels TYPO3 and Composer • Basics • Getting Started • Files in Projects • Advanced Stuff 2 Agenda
  3. 3. 2017 // Florian Wessels Basics
  4. 4. 2018 // Florian Wessels What is Composer? Basics 4 • Composer is a dependency manager for PHP • Not in the sense as Yum or Apt • Inspired by npm and ruby`s bundler • PHP Archive
  5. 5. 2018 // Florian Wessels How to Install? Basics 5 • Take a look into the documentation
  6. 6. 2017 // Florian Wessels Getting Started
  7. 7. 2018 // Florian Wessels Files Getting Started 7 • composer.json • composer.lock
  8. 8. 2018 // Florian Wessels Commands Getting Started 8 • init • create-project • require / require-dev • remove • dump-autoload • install • valid
  9. 9. 2017 // Florian Wessels Files in Projects
  10. 10. 2018 // Florian Wessels Files in Projects 10 • No composer.lock file • Defines dependencies of the extensions • Includes metadata (authors, description, keywords, …) Extensions
  11. 11. 2018 // Florian Wessels Files in Projects 11 Extensions
  12. 12. 2018 // Florian Wessels Files in Projects 12 • Includes a composer.lock file • Includes all required extensions, also dev-requirements • Not tha TYPO3 Projects
  13. 13. 2018 // Florian Wessels Files in Projects 13 TYPO3 Projects
  14. 14. 2017 // Florian Wessels Advanced Stuff
  15. 15. 2018 // Florian Wessels Advanced Stuff 15 Applying patches • Require the package cweagans/composer-patches • Put following code within the extra section of your composer.json file: •
  16. 16. 2018 // Florian Wessels Advanced Stuff 16 Autoloader
  17. 17. 2018 // Florian Wessels Advanced Stuff 17 Repositories
  18. 18. 2018 // Florian Wessels Advanced Stuff 18 Configuration
  19. 19. 2018 // Florian Wessels 19 • Documentation: https://getcomposer.org/doc/ Linklist
  20. 20. 2018 // Florian Wessels Thank You www.bitmotion.de info@bitmotion.de Twitter: Slack: Instagram: Mail: @flossels f.wessels @flossels f.wessels@bitmotion.de Bitmotion GmbH Immengarten 16-18 30177 Hannover

×