Skip to content

Commit

Permalink
Merge pull request #4 from lion-packages/refactor
Browse files Browse the repository at this point in the history
Support and maintenance library
  • Loading branch information
jerezjustin authored Jan 15, 2024
2 parents e8abe9f + 4448a7a commit d92a062
Show file tree
Hide file tree
Showing 14 changed files with 191 additions and 100 deletions.
14 changes: 9 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true;
trim_trailing_whitespace = true

[*.php]
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2

[docker-compose.yml]
indent_size = 4
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/vendor/
/vendor/
.phpunit.result.cache
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM php:8.2-apache
RUN useradd -m lion && echo 'lion:lion' | chpasswd && usermod -aG sudo lion && usermod -s /bin/bash lion

RUN apt-get update -y \
&& apt-get install -y nano git curl wget unzip sendmail libpng-dev libzip-dev \
&& apt-get install -y nano curl wget unzip sendmail libpng-dev libzip-dev \
&& apt-get install -y zlib1g-dev libonig-dev supervisor libevent-dev libssl-dev \
&& pecl install ev \
&& rm -rf /var/lib/apt/lists/*
Expand All @@ -16,4 +16,4 @@ RUN a2enmod rewrite \

COPY . .

CMD php -S 0.0.0.0:8000
CMD php -S 0.0.0.0:8000
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Sergio León
Copyright (c) 2022 Lion-Packages

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

## Install

```shell
```bash
composer require lion/request
```

## License

The Lion-Request is open-sourced software licensed under the [MIT License](https://github.com/Sleon4/Lion-Request/blob/main/LICENSE).
The <strong>request</strong> is open-sourced software licensed under the [MIT License](https://github.com/lion-packages/request/blob/main/LICENSE).
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"autoload": {
"psr-4": {
"LionRequest\\": "src/LionRequest/"
"Lion\\Request\\": "src/LionRequest/"
}
},
"autoload-dev": {
Expand All @@ -14,9 +14,10 @@
}
},
"require": {
"php": ">=8.1"
"php": ">=8.2"
},
"require-dev": {
"phpunit/phpunit": "^10.4"
"phpunit/phpunit": "^10.4",
"lion/test": "^1.4"
}
}
Loading

0 comments on commit d92a062

Please sign in to comment.