---
title: "Discussion on \"Publishing Your PHP Package via composer\" | Hashnode"
description: "Discussion on \"Publishing Your PHP Package via composer\". Topics to Cover\nIntroduction\n\nWhat is a package\nWhat is composer\nImportance of packages\nRequireements to begin\n\nBuilding the project\n\ninitialize composer\nNamespaces\n\nPublishing the Package\n\nPush to github\nRegister it to packagist\nAdd package tags\n\nIn..."
url: "https://hashnode.com/posts/publishing-your-php-package-via-composer/6023db9580da6c44eadf6eca"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Publishing Your PHP Package via composer](https://master.hashnode.dev/publishing-your-php-package-via-composer?utm_source=hashnode&utm_medium=feed)

Topics to Cover Introduction What is a package What is composer Importance of packages Requireements to begin Building the project initialize composer Namespaces Publishing the Package Push to github Register it to packagist Add package tags In...

Feb 10, 2021 · 6 min read · master.hashnode.dev  
Updated Feb 11, 2021  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#package](https://hashnode.com/tag/package)
-   [#composer](https://hashnode.com/tag/composer)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Ben Josiah](https://hashnode.com/@Benjosiah)

@Benjosiah · Nigeria

  
[View profile](https://hashnode.com/@Benjosiah)

Laravel/Vuejs

I am a software developer ( PHP, Laravel, Vuejs)

## Responses 1

Markdown supported · ⌘↵ to post

[AFOLABI, Oluyosola Elizabeth](https://hashnode.com/@Oluyosola)

[Feb 10, 2021](https://hashnode.com/posts/publishing-your-php-package-via-composer/6023db9580da6c44eadf6eca/comment/602421cf80da6c44eadf75e5)

Wow! This is so detailed and resourceful.

[Ben Josiah](https://hashnode.com/@Benjosiah)

[Feb 11, 2021](https://hashnode.com/posts/publishing-your-php-package-via-composer/6023db9580da6c44eadf6eca/comment/602421cf80da6c44eadf75e5#reply-6025af3c59e32452ff0b7993)

thanks.
