Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
composer.phar
composer.lock
/vendor/

.idea
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM php:8-cli-alpine
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
RUN php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
RUN php composer-setup.php
RUN php -r "unlink('composer-setup.php');"
RUN mv composer.phar /usr/local/bin/composer
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# dumper
# dumper

```shell
$ docker exec -w /var/www/html -it quillstack_dumper sh
```
30 changes: 30 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"description": "Variables dumper library.",
"type": "library",
"license": "MIT",
"keywords": [
"variables",
"dumper",
"export",
"php8"
],
"homepage": "https://quillstack.org/dumper",
"authors": [
{
"name": "Radek Ziemniewicz",
"email": "radek@quillstack.org"
}
],
"require": {
"php": "^8.0"
},
"autoload": {
"psr-4": {
"QuillStack\\Dumper\\": "src/",
"QuillStack\\Tests\\Dumper\\": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "^9"
}
}
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: '3'
services:
php:
build: .
container_name: quillstack_dumper
tty: true
volumes:
- .:/var/www/html
8 changes: 8 additions & 0 deletions src/Dumper.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace QuillStack\Dumper;

class Dumper
{

}