From 95d4b113c42764a2df09852d31c3bc33e2047d0d Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 9 Apr 2025 20:26:10 +0100 Subject: Initial commit --- .gitignore | 1 + composer.json | 25 +++++++++++++++++++++++++ composer.lock | 18 ++++++++++++++++++ src/AccessLogServiceProvider.php | 10 ++++++++++ 4 files changed, 54 insertions(+) create mode 100644 .gitignore create mode 100644 composer.json create mode 100644 composer.lock create mode 100644 src/AccessLogServiceProvider.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22d0d82 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +vendor diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..ed0e5b5 --- /dev/null +++ b/composer.json @@ -0,0 +1,25 @@ +{ + "name": "lightscale/laralight-access-log", + "description": "Log requests in a laravel application to database", + "type": "library", + "license": "MIT", + "autoload": { + "psr-4": { + "Lightscale\\LaralightAccessLog\\": "src/" + } + }, + "authors": [ + { + "name": "Sam Light", + "email": "sam@lightscale.co.uk" + } + ], + "require": {}, + "extra": { + "laravel": { + "providers": [ + "Lightscale\\LaralightAccessLog\\AccessLogServiceProvider" + ] + } + } +} diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..2783aa2 --- /dev/null +++ b/composer.lock @@ -0,0 +1,18 @@ +{ + "_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": "896d54235d70311578af9f7f0b6129fe", + "packages": [], + "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/src/AccessLogServiceProvider.php b/src/AccessLogServiceProvider.php new file mode 100644 index 0000000..b6c56c4 --- /dev/null +++ b/src/AccessLogServiceProvider.php @@ -0,0 +1,10 @@ +