PHPackages                             unrivaledir/composer-hello-world - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. unrivaledir/composer-hello-world

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

unrivaledir/composer-hello-world
================================

This is a simple package for starting packaging on composer

V1.0.0(1y ago)05GPL-3.0-or-laterPHPPHP ^8.3

Since Jan 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/UnrivaledIr/composer-hello-world)[ Packagist](https://packagist.org/packages/unrivaledir/composer-hello-world)[ RSS](/packages/unrivaledir-composer-hello-world/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

My PHP Package
==============

[](#my-php-package)

A simple PHP package to demonstrate how to create and publish a Composer package.

Installation
------------

[](#installation)

```
composer require unrivaledir/composer-hello-world
```

How to run?
-----------

[](#how-to-run)

- First run :

`composer dump-autoload`

- then create `index.php` file. insert this code and run it:

```
