Skip to content

Commit 191e24c

Browse files
committed
Initial commit
0 parents  commit 191e24c

File tree

8 files changed

+144
-0
lines changed

8 files changed

+144
-0
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2

.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
* text=auto
2+
3+
/.github export-ignore
4+
/tests export-ignore
5+
.editorconfig export-ignore
6+
.gitattributes export-ignore
7+
.gitignore export-ignore
8+
.styleci.yml export-ignore
9+
phpunit.xml.dist export-ignore

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/vendor
2+
composer.lock
3+
/phpunit.xml
4+
.phpunit.result.cache
5+
.DS_Store

LICENSE

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

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Laravel TALL Preset
2+
3+
<a href="https://github.com/danharrin/tall/actions"><img src="https://github.com/danharrin/tall/workflows/tests/badge.svg" alt="Build Status"></a>
4+
<a href="https://packagist.org/packages/danharrin/tall"><img src="https://poser.pugx.org/danharrin/tall/d/total.svg" alt="Total Downloads"></a>
5+
<a href="https://packagist.org/packages/danharrin/tall"><img src="https://poser.pugx.org/danharrin/tall/v/stable.svg" alt="Latest Stable Version"></a>
6+
<a href="https://packagist.org/packages/danharrin/tall"><img src="https://poser.pugx.org/danharrin/tall/license.svg" alt="License"></a>

composer.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"name": "danharrin/tall",
3+
"description": "TALL preset for Laravel.",
4+
"keywords": [
5+
"tall",
6+
"laravel",
7+
"preset"
8+
],
9+
"license": "MIT",
10+
"support": {
11+
"issues": "https://github.com/danharrin/tall/issues",
12+
"source": "https://github.com/danharrin/tall"
13+
},
14+
"authors": [
15+
{
16+
"name": "Dan Harrin",
17+
"email": "[email protected]"
18+
},
19+
{
20+
"name": "Liam Hammett",
21+
"email": "[email protected]"
22+
}
23+
],
24+
"require": {
25+
"php": "^7.2.5"
26+
},
27+
"require-dev": {
28+
"phpunit/phpunit": "^8.0"
29+
},
30+
"autoload": {
31+
"psr-4": {
32+
"DanHarrin\\TALL\\": "src/"
33+
}
34+
},
35+
"autoload-dev": {
36+
"psr-4": {
37+
"DanHarrin\\TALL\\Tests\\": "tests/"
38+
}
39+
},
40+
"extra": {
41+
"laravel": {
42+
"providers": [
43+
"DanHarrin\\TALL\\TALLServiceProvider"
44+
]
45+
}
46+
},
47+
"minimum-stability": "dev",
48+
"prefer-stable": true
49+
}

phpunit.xml.dist

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
beStrictAboutTestsThatDoNotTestAnything="false"
5+
bootstrap="vendor/autoload.php"
6+
colors="true"
7+
convertErrorsToExceptions="true"
8+
convertNoticesToExceptions="true"
9+
convertWarningsToExceptions="true"
10+
processIsolation="false"
11+
stopOnFailure="false"
12+
>
13+
<testsuites>
14+
<testsuite name="TALL Test Suite">
15+
<directory suffix=".php">./tests/</directory>
16+
</testsuite>
17+
</testsuites>
18+
<filter>
19+
<whitelist processUncoveredFilesFromWhitelist="true">
20+
<directory suffix=".php">./src/</directory>
21+
</whitelist>
22+
</filter>
23+
</phpunit>

src/TALLServiceProvider.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
namespace DanHarrin\TALL;
4+
5+
use Illuminate\Support\ServiceProvider;
6+
7+
class TALLServiceProvider extends ServiceProvider
8+
{
9+
/**
10+
* Register any application services.
11+
*
12+
* @return void
13+
*/
14+
public function register()
15+
{
16+
//
17+
}
18+
19+
/**
20+
* Bootstrap any application services.
21+
*
22+
* @return void
23+
*/
24+
public function boot()
25+
{
26+
//
27+
}
28+
}

0 commit comments

Comments
 (0)