Skip to content

Commit 73e219d

Browse files
Initial commit
1 parent 2e61edd commit 73e219d

File tree

5 files changed

+86
-6
lines changed

5 files changed

+86
-6
lines changed

.gitignore

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
composer.phar
2-
/vendor/
1+
.gitignore
2+
.idea/
33

4-
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
5-
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
6-
# composer.lock
4+
/vendor/
5+
composer.phar
6+
composer.lock
7+
.php_cs.cache
8+
.DS_Store
9+
Thumbs.db

README.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1-
# database-dynamic-menu
1+
<p align="center">
2+
<h1 align="center">Database Dynamic Menu</h1>
3+
</p>
4+
5+
<p align="center">
6+
<a href="https://travis-ci.org/life-code/dynamic-menu"><img src="https://travis-ci.org/life-code/dynamic-menu.svg" alt="Build Status"></a>
7+
<a href="https://packagist.org/packages/life-code/dynamic-menu"><img src="https://poser.pugx.org/life-code/dynamic-menu/d/total.svg" alt="Total Downloads"></a>
8+
<a href="https://packagist.org/packages/life-code/dynamic-menu"><img src="https://poser.pugx.org/life-code/dynamic-menu/v/stable.svg" alt="Latest Stable Version"></a>
9+
<a href="https://packagist.org/packages/life-code/dynamic-menu"><img src="https://poser.pugx.org/life-code/dynamic-menu/license.svg" alt="License"></a>
10+
</p>
11+
12+
13+
## About Database Dynamic Menu
14+
<p align="justify">
15+
The Database Dynamic Menu is a class package to facilitate the development of Database dynamic menus for websites and systems. The Database Dynamic Menu uses the international database pattern to generate the same. o desenvolvimento de menus dinâmicos para sites e sistemas. O Menu Dinâmico utiliza o padrão de banco de dados internacional para gerar o mesmo.
16+
<p>
17+
18+
## Contributing
19+
Contribute to the Database Dynamic Menu and help bring this idea forward!
20+
21+
## License
22+
The Database Dynamic Menu is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

composer.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "life-code/database-dynamic-menu",
3+
"description": "Database Dynamic menu for websites and systems",
4+
"keywords": ["menu", "database", "database dynamic menu", "database-dynamic-menu"],
5+
"type": "library",
6+
"license": "MIT",
7+
"authors": [
8+
{
9+
"name": "Vinicius Pugliesi",
10+
"email": "[email protected]"
11+
}
12+
],
13+
"require": {
14+
"php": ">7.0"
15+
},
16+
"require-dev": {
17+
"phpunit/phpunit": "~6.2"
18+
},
19+
"autoload": {
20+
"psr-4": {
21+
"DatabaseDynamicMenu\\": "src/DatabaseDynamicMenu/"
22+
}
23+
},
24+
"autoload-dev": {
25+
"psr-4": {
26+
"DatabaseDynamicMenu\\Tests\\": "tests/"
27+
}
28+
},
29+
"minimum-stability": "dev",
30+
"prefer-stable": true
31+
}

phpunit.xml

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

tests/bootstrap.php

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php
2+
3+
require __DIR__.'/../vendor/autoload.php';
4+

0 commit comments

Comments
 (0)