diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | .htaccess | 6 | ||||
-rw-r--r-- | composer.json | 15 | ||||
-rw-r--r-- | composer.lock | 132 | ||||
-rw-r--r-- | index.php | 13 |
5 files changed, 168 insertions, 0 deletions
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 @@ +<Location "/vendor/"> + Require all denied +</Location> +<Files ~ "composer\..+$"> + Require all denied +</Files> 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 @@ +<?php require_once "vendor/autoload.php"; ?> +<!doctype html> +<html lang=en> +<head> + <meta charset="utf-8"> + <meta name=viewport content="width=device-width, initial-scale=1"> + <link rel=stylesheet href="/style.css"> + <link rel=canonical href="https://aleteoryx.me/"> +</head> +<body> + <h1>hi!</h1> +</body> +</html> |