Skip to content

Commit

Permalink
Creating Own Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AnishSubedi07 committed Jan 19, 2024
1 parent 7688be9 commit ea7bcc4
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,29 @@
# php-hello-world
A simple hello-world for composer

[![Latest Stable Version](https://github.com/silarhi/php-hello-world/workflows/Tests/badge.svg)](https://github.com/silarhi/php-hello-world/workflows/Tests/badge.svg)
[![Latest Stable Version](https://poser.pugx.org/silarhi/hello-world/v/stable)](https://packagist.org/packages/silarhi/hello-world)
[![Total Downloads](https://poser.pugx.org/silarhi/hello-world/downloads)](https://packagist.org/packages/silarhi/hello-world)
[![License](https://poser.pugx.org/silarhi/hello-world/license)](https://packagist.org/packages/silarhi/hello-world)


[![SymfonyInsight](https://insight.symfony.com/projects/5d582202-1186-4ce7-82c7-c4d3a2c11807/big.svg)](https://insight.symfony.com/projects/5d582202-1186-4ce7-82c7-c4d3a2c11807)

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

Install with composer
Install Docker and Docker Compose
``` bash
composer require silarhi/hello-world
sudo apt install docker
```

Run composer update
``` bash
composer update silarhi/hello-world
sudo apt install docker.io
```
``` bash
install docker-compose
```

Usage
-----

``` php
require_once __DIR__ . '/vendor/autoload.php';
Install Composer and use Docker Compose
-------------

use Silarhi\Hello;
Install Composer
``` bash
composer Install
```

$hello = new Hello();
echo $hello->display() . "\n";
Run docker-compose.yml
``` bash
docker-compose up -d
```

0 comments on commit ea7bcc4

Please sign in to comment.