diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b47c60c --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +# IDE project files +/.idea/ +/.buildpath/ +/.project/ +/.settings/ +/nbproject/ +/build/ +# Composer vendor directory +/vendor/ +# Windows thumbnail cache +Thumbs.db +# Mac files +.DS_Store +# Temp files +*.lock +*.cache +*.tmp +*.log +*.phar diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2814103 --- /dev/null +++ b/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2022, Enso Studio +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..08745f9 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# dummy-package + +Repository template for Composer packages. + +# Installation + +```bash +composer require vendor/package +``` \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..ce850d6 --- /dev/null +++ b/composer.json @@ -0,0 +1,34 @@ +{ + "name": "vendor/package", + "description": "Repository template for Composer packages", + "keywords": ["package"], + "license": "BSD-3-Clause", + "homepage": "https://github.com/vendor/package", + "authors": [ + { + "name": "...", + "email": "...", + "role": "developer" + } + ], + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": ">=8.5.25" + }, + "autoload": { + "psr-4": { + "Vendor\\Package\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Vendor\\Package\\": "tests/" + } + }, + "config": { + "optimize-autoloader": true + }, + "extra": {} +} \ No newline at end of file diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..92db6fe --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,17 @@ + + + + + tests + + + + \ No newline at end of file diff --git a/src/.gitkeep b/src/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/tests/.gitkeep b/tests/.gitkeep new file mode 100644 index 0000000..e69de29