Download the PHP package nilgems/laravel-textract without Composer

On this page you can find all versions of the php package nilgems/laravel-textract. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-textract

Packagist

Laravel Textract

A Laravel package to extract text from files like DOC, Excel, Image, Pdf and more.

Versions and compatibility

Supported file formats

Following file formats is supported currently. You need to install proper extensions to your server to work with all the following extension related files. The package will check file content MIME type before execute.

We are working hard to make this laravel plugin useful. If you found any issue please add a post on discussion.

Installation

Once installed you can do stuff like this:

Run the extractor to any supported file:

Option Type Default value Required Description
$file_path No default value Yes Text extractable file absolute path.
$job_id No It's a optional parameter. Extraction job id. If this option is blank the plugin will auto create the ID
$extra_data No It's a optional parameter. To pass extra parameter. If you are extracting a image file, you can mention languages and more by this parameter.

Configuration

Example

Example 1:

You can extract text from supported file format.

It is recommended to use the extractor with Laravel Queue Job from better performance.

In there have a restriction of execution time and memory limit defined in file with the option and . If file size is big, the process may kill forcefully when exceed the limit. You can use or to run the process in background.

Example 2:

If you need to specify languages in image file for better extraction output from image file.

Dependencies

Note: Recent versions of Capture2Text stopped shipping the binary

PdfToText Installation

Ubuntu Ubuntu

License

MIT


💻 Tech Stack

CSS3 PHP HTML5 JavaScript AWS Vue.js Vuetify NPM jQuery Express.js Laravel NuxtJS Socket.io Apache MariaDB MongoDB MySQL SQLite Inkscape Jira Vagrant



All versions of laravel-textract with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-fileinfo Version *
ext-zip Version *
ext-xml Version *
ext-gd Version *
symfony/process Version 6.4.3
phpoffice/phpspreadsheet Version ^1.23
phpoffice/phpword Version ^0.18
laravel/framework Version ^10.0
thiagoalessio/tesseract_ocr Version ^2.12
html2text/html2text Version ^4.3
phpoffice/phppresentation Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nilgems/laravel-textract contains the following files

Loading the files please wait ....