shalao / tabula
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/shalao/tabula
Requires
- php: >=7.1.0
- symfony/process: ^4.4
This package is auto-updated.
Last update: 2025-12-24 19:42:23 UTC
README
tabula is a tool for liberating data tables trapped inside PDF files for the Laravel framework. This package was inspired by Python’s tabula-py package.
How to install
composer require shalao/tabula
Configuration Settings (Needed Java)
[Windows]
http://www.oracle.com/technetwork/java/javase/downloads/index.html. Please System Path Adding.
[Mac os]
brew update
brew cask install java
[Debian]
sudo apt install default-jre
[Fedora]
sudo dnf install java-latest-openjdk
How to use on Tabula (Example)
$tabula = new Tabula('/usr/bin/');
$tabula->convertInto(
storage_path('app/public/pdf/test.pdf'),
storage_path('app/public/json/test.csv'),
'csv',
'all'
);
$tabula->convertIntoByBatch(
storage_path('app/public/pdf'),
'json',
'all'
);
License
tabula is open-sourced software licensed under the MIT license.