Download the PHP package doefom/statamic-export without Composer

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

Statamic Export

Export entries, collections and users from Statamic to a variety of formats including XLSX, CSV, HTML and more.

Supported versions

Features

Export Entries and Collections

Get your entries and collections ready in the format you need. Currently, we support the following formats:

Why no PDF you ask? Well, we're working on it. But for now, you can use the HTML format and convert it to PDF using a variety of tools available online.

We tried to use the best human-readable representation for each fieldtype. For example, the Entries fieldtype will be represented as a comma separated list of entry titles instead of multiple entry IDs.

Export Users

Exporting users works the same way as exporting entries. You can either export specific users via the user listing or export all users using the utility.

Supported Fieldtypes

So, there are quite a few fieldtypes available in Statamic. We're supporting all of them, even custom ones. The fieldtypes \Statamic\Fieldtypes\Hidden, \Statamic\Fieldtypes\Revealer, \Statamic\Fieldtypes\Html and \Statamic\Fieldtypes\Spacer are excluded by default because they don't contain any data.

Custom Fieldtypes

If your custom fieldtypes extend one of the default fieldtypes, it should work just fine as is. But if you have a fully custom fieldtype, you can add support for it by defining it in the config/export.php file and providing a closure that returns a string representation of the field value.

How to Install

Via Statamic Control Panel

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install.

Via Composer

Alternatively, install the addon using Composer by running the following command in your project root:

How to Use

Once installed, there are basically two ways to use this addon.

Exporting Entries

  1. Head to the entries listing of one of your collections.
  2. Select one or more entries.
  3. Click the "Export" action above the table.
  4. Choose your export format, exclude certain fields if you want to and specify whether you'd like to include headers ( included by default).

Exporting Users

  1. Navigate to Users.
  2. Select one or more users.
  3. Click the "Export" action above the table.
  4. Choose your export format, exclude certain fields if you want to and specify whether you'd like to include headers ( included by default).

Exporting Collections

  1. Navigate to Utilities > Export.
  2. Select the "Collections" tab.
  3. Select your collection, export format, add excluded fields if you want to and specify whether to include headers or not.
  4. Click the "Export collection" button.

Exporting Users

  1. Navigate to Utilities > Export.
  2. Select the "Users" tab.
  3. Select the export format, add excluded fields if you want to and specify whether to include headers or not.
  4. Click the "Export users" button.

Roadmap


All versions of statamic-export with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
statamic/cms Version ^v4.0|^v5.0|^v6.0
maatwebsite/excel Version ^3.1
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 doefom/statamic-export contains the following files

Loading the files please wait ...