Skip to content

Commit 28f2f1b

Browse files
committed
Initial Commit
0 parents  commit 28f2f1b

File tree

462 files changed

+81609
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

462 files changed

+81609
-0
lines changed

.env

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
DB_TYPE=sqlsrv
2+
DB_HOST=127.0.0.1
3+
DB_PORT=1433
4+
DB_DATABASE=StwPh_12345678_2019
5+
DB_USERNAME=sa
6+
DB_PASSWORD=XXXX

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/composer.lock
2+
/vendor/

Examples/listInvoices.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
namespace Example;
4+
5+
use Dotenv\Dotenv;
6+
7+
define('EASE_LOGGER', 'syslog|console');
8+
9+
require_once dirname(__DIR__).'/vendor/autoload.php';
10+
11+
$dotenv = Dotenv::createImmutable(dirname(__DIR__));
12+
$dotenv->load();
13+
14+
$invoicer = new \SpojeNet\PohodaSQL\Faktura();
15+
16+
$invoicesRaw = $invoicer->getAll();
17+
18+
print_r($invoicesRaw);

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
PohodaSQL
2+
=========

composer.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "spojenet/pohoda-sql",
3+
"description": "Management Library for PohodaSQL",
4+
"authors": [
5+
{
6+
"name": "Vitex",
7+
"email": "[email protected]"
8+
}
9+
],
10+
"minimum-stability": "dev",
11+
"require": {
12+
"vitexsoftware/ease-fluentpdo": "dev-master"
13+
},
14+
"require-dev": {
15+
"vlucas/phpdotenv": "dev-master",
16+
"phpunit/phpunit": "dev-master"
17+
},
18+
"autoload": {
19+
"psr-4": {
20+
"SpojeNet\\PohodaSQL\\": "src/SpojeNet/PohodaSQL/"
21+
}
22+
},
23+
"autoload-dev": {
24+
"psr-4": {
25+
"Test\\SpojeNet\\PohodaSQL\\": "tests/src/SpojeNet/PohodaSQL/"
26+
}
27+
}
28+
}

nbproject/project.properties

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
include.path=${php.global.include.path}
2+
php.version=PHP_74
3+
source.encoding=UTF-8
4+
src.dir=.
5+
tags.asp=false
6+
tags.short=false
7+
web.root=.

nbproject/project.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://www.netbeans.org/ns/project/1">
3+
<type>org.netbeans.modules.php.project</type>
4+
<configuration>
5+
<data xmlns="http://www.netbeans.org/ns/php-project/1">
6+
<name>PohodaSQL</name>
7+
</data>
8+
</configuration>
9+
</project>

0 commit comments

Comments
 (0)