Download the PHP package julesgraus/quatsch without Composer

On this page you can find all versions of the php package julesgraus/quatsch. 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 quatsch

Quatsch

A fast, easy, memory-efficient tool to load data, extract data, transform data, store data from and to different sources. While providing tools to make that process as easy as possible, but extensible as possible.

The goal of this package is to help you manipulate data in a way it makes sense again. Turning Quatsch (Nonsense) into something data that makes sense and has value to you.

The next code, for example, opens a file, extracts data from it using a regex pattern, and stores the extracted.

Practical use cases

In this package you can fluently build regexes. These regexes can be used in tasks that, for example, extract, replace, or manipulate data in different ways. Data is passed to and returned from Tasks using resource classes. A FileResource could, for example, be used to open and read a log file. And another file resource to store the result of your task.

Components and Features

Examples

You can find some examples in the examples directory.

Troubleshooting

I try to extract patterns up till the end of the line, but it stops earlier than the end of the line.

Possible solution 1: When the chunk size is set to the length of half of a line you are trying to extract, it will see the end of the chunk as the end of the line. Just choose a chunk length, bigger than the longest line of your file.

I use a resource with file mode FileMode::READ_APPEND (a+) when using a task on it, it hangs indefinitely.

This file mode places the file pointer at the end of the file. Try FileMode::READ_WRITE (r+) so it can start reading from the beginning. Don't for get to check if the resource is seekable and rewind it to the beginning.


All versions of quatsch with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
psr/log Version ^3.0
ext-dom Version *
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 julesgraus/quatsch contains the following files

Loading the files please wait ...