Skip to content

Commit

Permalink
5 Feb 2024
Browse files Browse the repository at this point in the history
MPDF and PHPWord Update
  • Loading branch information
code-boxx committed Feb 5, 2024
1 parent c98f60c commit 8cc9060
Show file tree
Hide file tree
Showing 298 changed files with 12,189 additions and 2,842 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,19 @@ Invoicr is a free and open-source PHP invoice generator that is capable of churn
<img width="250" src="https://code-boxx.com/wp-content/uploads/2021/11/illus-invoicr-4.png">
<img width="250" src="https://code-boxx.com/wp-content/uploads/2021/11/illus-invoicr-5.png">
<img width="250" src="https://code-boxx.com/wp-content/uploads/2021/11/illus-invoicr-6.png">
</p><br>
</p>
<br><br>

## :bulb: HOW TO USE
1) Edit `invlib/invoicr.php`, change (C1) company information to your own.
2) That's all. Check out `example.php`.
<br><br>

## :star: SUPPORT
1) Just give this project a star. That will indirectly drive more traffic a little bit. :wink:
2) [Sponsor this project](https://github.com/sponsors/code-boxx). Even a small one time amount helps.
<br><br>

## :link: DOCUMENTATION & CREDITS
Please visit https://code-boxx.com/invoicr-php-invoice-generator for more!

Expand All @@ -25,10 +31,6 @@ Please visit https://code-boxx.com/invoicr-php-invoice-generator for more!
3) PNG output via HTML screenshot with html2canvas - https://html2canvas.hertzen.com/
<br><br>

## :star: SUPPORT
Like this project? Just give it a star. That will indirectly help grow my blog a little bit. :wink:
<br><br>

## :newspaper: LICENSE
Copyright by Code Boxx

Expand All @@ -48,4 +50,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
2 changes: 1 addition & 1 deletion invlib/vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInitdf9a33ab8df9bd8a2e011df2177d34d4::getLoader();
return ComposerAutoloaderInit5c0ac6ce5fe508ec8c3566d7425c6e77::getLoader();
1 change: 1 addition & 0 deletions invlib/vendor/composer/autoload_files.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@

return array(
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
'db356362850385d08a5381de2638b5fd' => $vendorDir . '/mpdf/mpdf/src/functions.php',
);
4 changes: 3 additions & 1 deletion invlib/vendor/composer/autoload_psr4.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@

return array(
'setasign\\Fpdi\\' => array($vendorDir . '/setasign/fpdi/src'),
'Tests\\PhpOffice\\Math\\' => array($vendorDir . '/phpoffice/math/tests/Math'),
'Psr\\Log\\' => array($vendorDir . '/psr/log/src'),
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
'PhpOffice\\PhpWord\\' => array($vendorDir . '/phpoffice/phpword/src/PhpWord'),
'PhpOffice\\Math\\' => array($vendorDir . '/phpoffice/math/src/Math'),
'Mpdf\\PsrLogAwareTrait\\' => array($vendorDir . '/mpdf/psr-log-aware-trait/src'),
'Mpdf\\PsrHttpMessageShim\\' => array($vendorDir . '/mpdf/psr-http-message-shim/src'),
'Mpdf\\' => array($vendorDir . '/mpdf/mpdf/src'),
'Laminas\\Escaper\\' => array($vendorDir . '/laminas/laminas-escaper/src'),
'DeepCopy\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'),
);
10 changes: 5 additions & 5 deletions invlib/vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInitdf9a33ab8df9bd8a2e011df2177d34d4
class ComposerAutoloaderInit5c0ac6ce5fe508ec8c3566d7425c6e77
{
private static $loader;

Expand All @@ -24,16 +24,16 @@ public static function getLoader()

require __DIR__ . '/platform_check.php';

spl_autoload_register(array('ComposerAutoloaderInitdf9a33ab8df9bd8a2e011df2177d34d4', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit5c0ac6ce5fe508ec8c3566d7425c6e77', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInitdf9a33ab8df9bd8a2e011df2177d34d4', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit5c0ac6ce5fe508ec8c3566d7425c6e77', 'loadClassLoader'));

require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitdf9a33ab8df9bd8a2e011df2177d34d4::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit5c0ac6ce5fe508ec8c3566d7425c6e77::getInitializer($loader));

$loader->register(true);

$filesToLoad = \Composer\Autoload\ComposerStaticInitdf9a33ab8df9bd8a2e011df2177d34d4::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInit5c0ac6ce5fe508ec8c3566d7425c6e77::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
Expand Down
35 changes: 23 additions & 12 deletions invlib/vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,35 @@

namespace Composer\Autoload;

class ComposerStaticInitdf9a33ab8df9bd8a2e011df2177d34d4
class ComposerStaticInit5c0ac6ce5fe508ec8c3566d7425c6e77
{
public static $files = array (
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
'db356362850385d08a5381de2638b5fd' => __DIR__ . '/..' . '/mpdf/mpdf/src/functions.php',
);

public static $prefixLengthsPsr4 = array (
's' =>
array (
'setasign\\Fpdi\\' => 14,
),
'T' =>
array (
'Tests\\PhpOffice\\Math\\' => 21,
),
'P' =>
array (
'Psr\\Log\\' => 8,
'Psr\\Http\\Message\\' => 17,
'PhpOffice\\PhpWord\\' => 18,
'PhpOffice\\Math\\' => 15,
),
'M' =>
array (
'Mpdf\\PsrLogAwareTrait\\' => 22,
'Mpdf\\PsrHttpMessageShim\\' => 24,
'Mpdf\\' => 5,
),
'L' =>
array (
'Laminas\\Escaper\\' => 16,
),
'D' =>
array (
'DeepCopy\\' => 9,
Expand All @@ -41,6 +44,10 @@ class ComposerStaticInitdf9a33ab8df9bd8a2e011df2177d34d4
array (
0 => __DIR__ . '/..' . '/setasign/fpdi/src',
),
'Tests\\PhpOffice\\Math\\' =>
array (
0 => __DIR__ . '/..' . '/phpoffice/math/tests/Math',
),
'Psr\\Log\\' =>
array (
0 => __DIR__ . '/..' . '/psr/log/src',
Expand All @@ -53,17 +60,21 @@ class ComposerStaticInitdf9a33ab8df9bd8a2e011df2177d34d4
array (
0 => __DIR__ . '/..' . '/phpoffice/phpword/src/PhpWord',
),
'PhpOffice\\Math\\' =>
array (
0 => __DIR__ . '/..' . '/phpoffice/math/src/Math',
),
'Mpdf\\PsrLogAwareTrait\\' =>
array (
0 => __DIR__ . '/..' . '/mpdf/psr-log-aware-trait/src',
),
'Mpdf\\' =>
'Mpdf\\PsrHttpMessageShim\\' =>
array (
0 => __DIR__ . '/..' . '/mpdf/mpdf/src',
0 => __DIR__ . '/..' . '/mpdf/psr-http-message-shim/src',
),
'Laminas\\Escaper\\' =>
'Mpdf\\' =>
array (
0 => __DIR__ . '/..' . '/laminas/laminas-escaper/src',
0 => __DIR__ . '/..' . '/mpdf/mpdf/src',
),
'DeepCopy\\' =>
array (
Expand All @@ -78,9 +89,9 @@ class ComposerStaticInitdf9a33ab8df9bd8a2e011df2177d34d4
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitdf9a33ab8df9bd8a2e011df2177d34d4::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitdf9a33ab8df9bd8a2e011df2177d34d4::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitdf9a33ab8df9bd8a2e011df2177d34d4::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit5c0ac6ce5fe508ec8c3566d7425c6e77::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit5c0ac6ce5fe508ec8c3566d7425c6e77::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit5c0ac6ce5fe508ec8c3566d7425c6e77::$classMap;

}, null, ClassLoader::class);
}
Expand Down
Loading

0 comments on commit 8cc9060

Please sign in to comment.