From 82fd55c70d5cc6fb875210e5413db00ad658d52d Mon Sep 17 00:00:00 2001 From: alyx Date: Wed, 3 Jan 2024 21:05:23 -0500 Subject: getting all setup --- .gitignore | 2 + .htaccess | 6 +++ composer.json | 15 +++++++ composer.lock | 132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ index.php | 13 ++++++ 5 files changed, 168 insertions(+) create mode 100644 .gitignore create mode 100644 .htaccess create mode 100644 composer.json create mode 100644 composer.lock create mode 100644 index.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d76610b --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*~ +/vendor diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..39b5440 --- /dev/null +++ b/.htaccess @@ -0,0 +1,6 @@ + + Require all denied + + + Require all denied + diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..04d8654 --- /dev/null +++ b/composer.json @@ -0,0 +1,15 @@ +{ + "name": "aleteoryx/ame-homepage", + "description": "https://aleteoryx.me", + "type": "website", + "require": { + "whichbrowser/parser": "^2.1" + }, + "license": "AGPLv3", + "authors": [ + { + "name": "alyx", + "email": "alyx@aleteoryx.me" + } + ] +} diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..98df654 --- /dev/null +++ b/composer.lock @@ -0,0 +1,132 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "c865e0dfd0e16f8ff91a8d8d7c528897", + "packages": [ + { + "name": "psr/cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ], + "support": { + "source": "https://github.com/php-fig/cache/tree/3.0.0" + }, + "time": "2021-02-03T23:26:27+00:00" + }, + { + "name": "whichbrowser/parser", + "version": "v2.1.7", + "source": { + "type": "git", + "url": "https://github.com/WhichBrowser/Parser-PHP.git", + "reference": "1044880bc792dbce5948fbff22ae731c43c280d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/WhichBrowser/Parser-PHP/zipball/1044880bc792dbce5948fbff22ae731c43c280d9", + "reference": "1044880bc792dbce5948fbff22ae731c43c280d9", + "shasum": "" + }, + "require": { + "php": ">=5.4.0", + "psr/cache": "^1.0 || ^2.0 || ^3.0" + }, + "require-dev": { + "cache/array-adapter": "^1.1", + "icomefromthenet/reverse-regex": "0.0.6.3", + "php-coveralls/php-coveralls": "^2.0", + "phpunit/php-code-coverage": "^5.0 || ^7.0", + "phpunit/phpunit": "^6.0 || ^8.0", + "squizlabs/php_codesniffer": "^3.5", + "symfony/yaml": "~3.4 || ~4.0" + }, + "suggest": { + "cache/array-adapter": "Allows testing of the caching functionality" + }, + "type": "library", + "autoload": { + "psr-4": { + "WhichBrowser\\": [ + "src/", + "tests/src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Niels Leenheer", + "email": "niels@leenheer.nl", + "role": "Developer" + } + ], + "description": "Useragent sniffing library for PHP", + "homepage": "http://whichbrowser.net", + "keywords": [ + "browser", + "sniffing", + "ua", + "useragent" + ], + "support": { + "issues": "https://github.com/WhichBrowser/Parser-PHP/issues", + "source": "https://github.com/WhichBrowser/Parser-PHP/tree/v2.1.7" + }, + "time": "2022-04-19T20:14:54+00:00" + } + ], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [], + "plugin-api-version": "2.6.0" +} diff --git a/index.php b/index.php new file mode 100644 index 0000000..853e154 --- /dev/null +++ b/index.php @@ -0,0 +1,13 @@ + + + + + + + + + + +

hi!

+ + -- cgit v1.2.3-70-g09d2