Skip to content

Commit 478c0f0

Browse files
author
Grigorii Duca
committed
.
0 parents  commit 478c0f0

10 files changed

+2336
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor
2+
/coverage

.styleci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
preset: recommended
2+
3+
enabled:
4+
- concat_with_spaces
5+
6+
disabled:
7+
- concat_without_spaces
8+
- simplified_null_return

.travis.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: php
2+
3+
php:
4+
- '7.1'
5+
6+
install:
7+
composer install
8+
9+
script:
10+
vendor/bin/phpunit

LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Grigorii Duca
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

README.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Greg PHP Dependency Injection
2+
3+
[![StyleCI](https://styleci.io/repos/29315729/shield?style=flat)](https://styleci.io/repos/29315729)
4+
[![Build Status](https://travis-ci.org/greg-md/php-framework.svg)](https://travis-ci.org/greg-md/php-framework)
5+
[![Total Downloads](https://poser.pugx.org/greg-md/php-framework/d/total.svg)](https://packagist.org/packages/greg-md/php-framework)
6+
[![Latest Stable Version](https://poser.pugx.org/greg-md/php-framework/v/stable.svg)](https://packagist.org/packages/greg-md/php-framework)
7+
[![Latest Unstable Version](https://poser.pugx.org/greg-md/php-framework/v/unstable.svg)](https://packagist.org/packages/greg-md/php-framework)
8+
[![License](https://poser.pugx.org/greg-md/php-framework/license.svg)](https://packagist.org/packages/greg-md/php-framework)
9+
10+
Greg Dependency Injection provides you a lightweight IoC Container
11+
that allows you to standardize and centralize the way objects are constructed in your application.
12+
13+
# Table of Contents
14+
15+
* [Requirements](#requirements)
16+
* [Installation](#installation)
17+
* [How It Works](#how-it-works)
18+
* [License](#license)
19+
* [Huuuge Quote](#huuuge-quote)
20+
21+
# Requirements
22+
23+
* PHP Version `^7.1`
24+
25+
# Installation
26+
27+
`composer require greg-md/php-dependency-injection`
28+
29+
# How It Works
30+
31+
# License
32+
33+
MIT © [Grigorii Duca](http://greg.md)
34+
35+
# Huuuge Quote
36+
37+
![I fear not the man who has practiced 10,000 programming languages once, but I fear the man who has practiced one programming language 10,000 times. © #horrorsquad](http://greg.md/huuuge-quote-fb.jpg)

composer.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "greg-md/php-dependency-injection",
3+
"type": "library",
4+
"description": "Greg PHP Dependency Injection",
5+
"keywords": [ "greg-md", "greg-php", "php-dependency-injection", "greg-dependency-injection", "dependency-injection", "php", "web-artisans" ],
6+
"homepage": "https://github.com/greg-md/php-dependency-injection",
7+
"license": "MIT",
8+
"authors": [
9+
{ "name": "Grigorii Duca", "email": "[email protected]", "homepage": "http://greg.md/" }
10+
],
11+
"require": {
12+
"php": "^7.1",
13+
"greg-md/php-support": "dev-master"
14+
},
15+
"require-dev": {
16+
"phpunit/phpunit": "6.2.*",
17+
"symfony/var-dumper": "^3.2"
18+
},
19+
"autoload": {
20+
"psr-4": {
21+
"Greg\\DependencyInjection\\": "src/"
22+
}
23+
},
24+
"autoload-dev": {
25+
"psr-4": {
26+
"Greg\\DependencyInjection\\": "tests/"
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)