Download the PHP package bogdanghervan/revolut-statement without Composer

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

Revolut Statement

A command-line tool to convert Revolut Trading statements in the PDF format to CSV or Excel.

Hopefully, Revolut will soon develop this as a feature of their own at which time this package will become obsolete.

Update June 2021: Excel-based statements are now available in the Revolut app directly.

Data

The Activity section of your statement is exported. These are the columns that are included:

Supported Formats

Format Details
csv Comma-separated values file (default)
xlsx Excel 2007 onwards
ods OpenOffice spreadsheet
xls Legacy Excel format

Installation

Requirements

PHP ≥ 7.3

Installation

Run this one-liner from your shell:

This will download the latest build from GitHub to a folder that's likely to be in your system path.

You're ready to use Revolut Statement!

Usage

Convert a single statement to CSV

To convert a Revolut stock trade PDF statement to CSV:

In the example above statement-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.pdf is a likely name of the PDF statement downloaded from the Revolut app. The command would read the file and convert it to a CSV file named my-statement.csv.

Convert multiple statements to CSV

You can convert more PDF statements at the same time by specifying a list of files separated by space in the command line:

In the example above, the two PDF statements would be stitched together in one single CSV file called all-statements.csv. Now you can use this file to run analyses on your successful trades or prepare your tax reports.

Convert a statement to Excel

To convert a Revolut stock trade PDF statement to Excel:

Convert multiple files matching a pattern

A common use case is wanting to stitch together several PDF stock trade statements downloaded from Revolut in the same directory that have a file name resembling statement-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.pdf. Here's how to do that simply:

Pro tip: Pass in the -v option to see additional details while files are parsed.

See all available options

Install updates

You can download the latest version of this app:

Support

Has this just saved you the trouble of having to manually compile all this information? Consider leaving me a note and buying me a coffee by clicking the button below.

ko-fi

Have you found a problem? Submit an issue

Legal

Revolut Statement is an open-source software licensed under the MIT license.

The data is processed by Revolut Statement locally without ever leaving your computer. Generally speaking, PDFs can be glitchy or errors in the software can cause the output to be inaccurate. Use it at your own risk!

This program is not affiliated or endorsed in any way by Revolut which is a trademark of Revolut Ltd.


All versions of revolut-statement with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
laravel-zero/framework Version ^8.0
padraic/phar-updater Version ^1.0.6
phpoffice/phpspreadsheet Version ^1.14
smalot/pdfparser Version ^0.16.2
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 bogdanghervan/revolut-statement contains the following files

Loading the files please wait ....