mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-02 21:47:23 +02:00
update docs and build
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -3,5 +3,6 @@
|
|||||||
.gitignore export-ignore
|
.gitignore export-ignore
|
||||||
.php_cs export-ignore
|
.php_cs export-ignore
|
||||||
bootstrap.php export-ignore
|
bootstrap.php export-ignore
|
||||||
|
logo.svg export-ignore
|
||||||
phpunit.xml export-ignore
|
phpunit.xml export-ignore
|
||||||
tests export-ignore
|
tests export-ignore
|
||||||
|
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@@ -12,6 +12,7 @@ jobs:
|
|||||||
extensions: bz2, dom, iconv, fileinfo, openssl, xml, zlib
|
extensions: bz2, dom, iconv, fileinfo, openssl, xml, zlib
|
||||||
key: cache-v1
|
key: cache-v1
|
||||||
PHPUNIT_COVERAGE: 0
|
PHPUNIT_COVERAGE: 0
|
||||||
|
PHP_INI: date.timezone='UTC', memory_limit=-1, opcache.enable=1, opcache.enable_cli=1
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -34,14 +35,31 @@ jobs:
|
|||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: sudo apt-get install unzip p7zip-full
|
run: sudo apt-get install unzip p7zip-full
|
||||||
|
|
||||||
|
-
|
||||||
|
name: Set JIT args
|
||||||
|
if: matrix.php == '8.0'
|
||||||
|
run: echo "PHP_INI=\"$PHP_INI, opcache.jit_buffer_size=256M\"" >> $GITHUB_ENV
|
||||||
|
|
||||||
-
|
-
|
||||||
name: Install PHP with extensions
|
name: Install PHP with extensions
|
||||||
|
if: matrix.php == '7.4'
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: 7.4
|
||||||
extensions: ${{ env.extensions }}
|
extensions: ${{ env.extensions }}
|
||||||
coverage: pcov
|
coverage: pcov
|
||||||
ini-values: date.timezone='UTC', memory_limit=-1
|
ini-values: ${{ env.PHP_INI }}
|
||||||
|
tools: composer:v2
|
||||||
|
|
||||||
|
-
|
||||||
|
name: Install PHP 8.0 with extensions
|
||||||
|
if: matrix.php == '8.0'
|
||||||
|
uses: shivammathur/setup-php@v2
|
||||||
|
with:
|
||||||
|
php-version: 8.0
|
||||||
|
extensions: ${{ env.extensions }}
|
||||||
|
coverage: pcov
|
||||||
|
ini-values: date.timezone='UTC', memory_limit=-1, opcache.enable=1, opcache.enable_cli=1, opcache.jit_buffer_size=256M
|
||||||
tools: composer:v2
|
tools: composer:v2
|
||||||
|
|
||||||
-
|
-
|
||||||
|
@@ -1,43 +0,0 @@
|
|||||||
checks:
|
|
||||||
php: true
|
|
||||||
|
|
||||||
filter:
|
|
||||||
paths: [ "src/*" ]
|
|
||||||
excluded_paths: [ "vendor/*", "tests/*" ]
|
|
||||||
|
|
||||||
tools:
|
|
||||||
external_code_coverage: false
|
|
||||||
|
|
||||||
build:
|
|
||||||
environment:
|
|
||||||
php:
|
|
||||||
version: 8.0
|
|
||||||
pecl_extensions:
|
|
||||||
- zip
|
|
||||||
mysql: false
|
|
||||||
node: false
|
|
||||||
postgresql: false
|
|
||||||
mongodb: false
|
|
||||||
elasticsearch: false
|
|
||||||
redis: false
|
|
||||||
memcached: false
|
|
||||||
neo4j: false
|
|
||||||
rabbitmq: false
|
|
||||||
nodes:
|
|
||||||
analysis:
|
|
||||||
environment:
|
|
||||||
php: 8.0
|
|
||||||
tests:
|
|
||||||
override:
|
|
||||||
- php-scrutinizer-run
|
|
||||||
dependencies:
|
|
||||||
before:
|
|
||||||
- composer self-update
|
|
||||||
- composer update --no-interaction --prefer-dist --no-progress
|
|
||||||
tests:
|
|
||||||
before:
|
|
||||||
-
|
|
||||||
command: composer test:coverage
|
|
||||||
coverage:
|
|
||||||
file: 'build/logs/clover.xml'
|
|
||||||
format: 'clover'
|
|
@@ -1,12 +1,11 @@
|
|||||||
`PhpZip`
|
<h1 align="center"><img src="logo.svg" alt="PhpZip" width="250" height="51"></h1>
|
||||||
========
|
|
||||||
`PhpZip` - php библиотека для продвинутой работы с ZIP-архивами.
|
`PhpZip` - php библиотека для продвинутой работы с ZIP-архивами.
|
||||||
|
|
||||||
[](https://travis-ci.org/Ne-Lexa/php-zip)
|
[](https://github.com/Ne-Lexa/php-zip/actions)
|
||||||
[](https://scrutinizer-ci.com/g/Ne-Lexa/php-zip/?branch=master)
|
[](https://scrutinizer-ci.com/g/Ne-Lexa/php-zip/?branch=master)
|
||||||
[](https://packagist.org/packages/nelexa/zip)
|
[](https://packagist.org/packages/nelexa/zip)
|
||||||
[](https://packagist.org/packages/nelexa/zip)
|
[](https://packagist.org/packages/nelexa/zip)
|
||||||
[](https://php.net/)
|
|
||||||
[](https://packagist.org/packages/nelexa/zip)
|
[](https://packagist.org/packages/nelexa/zip)
|
||||||
|
|
||||||
[English Documentation](README.md)
|
[English Documentation](README.md)
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
`PhpZip`
|
<h1 align="center"><img src="logo.svg" alt="PhpZip" width="250" height="51"></h1>
|
||||||
========
|
|
||||||
`PhpZip` is a php-library for extended work with ZIP-archives.
|
`PhpZip` is a php-library for extended work with ZIP-archives.
|
||||||
|
|
||||||
[](https://github.com/Ne-Lexa/php-zip/actions)
|
[](https://github.com/Ne-Lexa/php-zip/actions)
|
||||||
|
@@ -8,7 +8,6 @@
|
|||||||
"archive",
|
"archive",
|
||||||
"extract",
|
"extract",
|
||||||
"winzip",
|
"winzip",
|
||||||
"zipalign",
|
|
||||||
"ziparchive"
|
"ziparchive"
|
||||||
],
|
],
|
||||||
"homepage": "https://github.com/Ne-Lexa/php-zip",
|
"homepage": "https://github.com/Ne-Lexa/php-zip",
|
||||||
|
Reference in New Issue
Block a user