BigFileTools | Manipulate files over 2GB in PHP on all platforms
kandi X-RAY | BigFileTools Summary
kandi X-RAY | BigFileTools Summary
BigFileTools is a PHP library. BigFileTools has no bugs, it has no vulnerabilities and it has low support. However BigFileTools has a Non-SPDX License. You can download it from GitHub.
This project is collection of hacks that are needed to manipulate files over 2GB in PHP (even on 32-bit systems). Currently there is support for getting exact file size. This project started as answer to stackoverflow question. Please note, that getSize() returns Brick\BigInteger. This is due to fact that PHP's internal integer can be too small for huge files. To get approximate value of file size you can convert BigInteger into float. Please note that by doing this you will loose precision. Tip: You can configure BigFileTools in any way you want. (no static dependencies included) There is example in example directory prepared for this scenario.
This project is collection of hacks that are needed to manipulate files over 2GB in PHP (even on 32-bit systems). Currently there is support for getting exact file size. This project started as answer to stackoverflow question. Please note, that getSize() returns Brick\BigInteger. This is due to fact that PHP's internal integer can be too small for huge files. To get approximate value of file size you can convert BigInteger into float. Please note that by doing this you will loose precision. Tip: You can configure BigFileTools in any way you want. (no static dependencies included) There is example in example directory prepared for this scenario.
Support
Quality
Security
License
Reuse
Support
BigFileTools has a low active ecosystem.
It has 47 star(s) with 11 fork(s). There are 4 watchers for this library.
It had no major release in the last 12 months.
There are 2 open issues and 12 have been closed. On average issues are closed in 325 days. There are 2 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of BigFileTools is 1.1.3
Quality
BigFileTools has 0 bugs and 0 code smells.
Security
BigFileTools has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
BigFileTools code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
BigFileTools has a Non-SPDX License.
Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.
Reuse
BigFileTools releases are available to install and integrate.
Installation instructions are not available. Examples and code snippets are available.
BigFileTools saves you 87 person hours of effort in developing the same functionality from scratch.
It has 223 lines of code, 22 functions and 2 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed BigFileTools and discovered the below as its top functions. This is intended to give you an instant insight into BigFileTools implemented functionality, and help decide if they suit your requirements.
- Moves the file to a new location .
- Get file size
- Convert string value to integer .
- Returns true if file is readable
- Resolve absolute path .
- Create default driver
- Creates a new size driver instance .
- Get file size
- Get all exception exceptions .
- Get all exceptions .
Get all kandi verified functions for this library.
BigFileTools Key Features
No Key Features are available at this moment for BigFileTools.
BigFileTools Examples and Code Snippets
Copy
$file = BigFileTools\BigFileTools::createDefault()->getFile(__FILE__);
echo "This file has " . $file->getSize() . " bytes\n";
This file has 176 bytes
Copy
32-bit signed integer max value: +2^31 = 2 147 483 648 ~ 2 gigabytes
64-bit signed integer max value: +2^63 = 9 223 372 036 854 775 808 ~ 9 223 372 000 gigabytes
Community Discussions
No Community Discussions are available at this moment for BigFileTools.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install BigFileTools
You can download it from GitHub.
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page