Skip to content

Commit 4c1982e

Browse files
author
Lovecoding
committed
initial commit
initial commit
1 parent 276bd6b commit 4c1982e

10 files changed

+614
-0
lines changed

composer.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "lovecoding/greetr",
3+
"description": "Greetr - A simple Laravel Package",
4+
"type": "project",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Lovecoding",
9+
"email": "[email protected]"
10+
}
11+
],
12+
"minimum-stability": "dev",
13+
"autoload": {
14+
"psr-4": {
15+
"Lovecoding\\Greetr\\": "src/"
16+
}
17+
},
18+
"require": {}
19+
}

src/Greetr.php

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace Lovecoding\Greetr;
4+
5+
class Greetr
6+
{
7+
public function greet(String $sName)
8+
{
9+
return 'Hi ' . $sName . '! How are you doing today?';
10+
}
11+
}

vendor/autoload.php

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
// autoload.php @generated by Composer
4+
5+
require_once __DIR__ . '/composer/autoload_real.php';
6+
7+
return ComposerAutoloaderInite0665ded212d94986e9e1377840d1ba5::getLoader();

0 commit comments

Comments
 (0)