Download the PHP package laravel-enso/dataimport without Composer

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

Data Import

Stable Downloads Issues Merge Requests

Description

Data Import adds template-driven spreadsheet imports to Enso.

The package validates uploaded files against JSON template definitions, splits work into queued jobs, tracks import progress and status, generates rejected-row workbooks when needed, and exposes the API endpoints required by the Enso import UI.

It supports multi-sheet XLSX imports as well as CSV and TXT imports, with configurable structure validation, queue separation, and retention policies.

Seeder-style imports can also resolve the acting Enso user through the configurable seederUserId setting, which is useful when imports are executed outside a regular authenticated request.

Installation

Install the package:

Run the package migrations:

Optional publishes:

Register at least one import type in config/enso/imports.php:

If you use seed-style imports that need a tracked Enso user, configure the fallback user id:

The ExcelSeeder service uses this value to resolve the user passed into import hooks and track-who aware models when there is no authenticated session.

The package schedules these maintenance commands daily:

Features

Usage

Create an importer class that implements the package contract:

Point a template configuration entry to a JSON template that defines sheets, columns, and the importer class. The package can then:

Each row importer runs inside a transaction on the import model's database connection. Queries performed by the importer must use that same connection to participate in the transaction.

When the import runs through the seeder-oriented flow, the package resolves the acting user from config('enso.imports.seederUserId'). Set DATA_IMPORT_SEEDER_USER_ID to an Enso user that should own created records, approvals, and audit metadata produced by those imports.

API

HTTP routes

Artisan commands

Extension points

Deferred imports

Pass startNow: false to upload() or attach() when the file should be validated and stored before the import is started explicitly.

External finalization

Override finalizesExternally() on the import model when the consuming application owns finalization after the package finishes processing the rows.

Depends On

Required Enso packages:

Required external package:

Companion frontend package:

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!


All versions of dataimport with dependencies

PHP Build Version
Package Version
Requires laravel-enso/core Version ^12.0
laravel-enso/dynamic-methods Version ^4.0
laravel-enso/enums Version ^3.0
laravel-enso/excel Version ^3.0
laravel-enso/files Version ^5.7
laravel-enso/helpers Version ^4.0
laravel-enso/io Version ^2.0
laravel-enso/mails Version ^1.0
laravel-enso/migrator Version ^2.0
laravel-enso/track-who Version ^3.0
laravel-enso/tables Version ^5.1
laravel-enso/select Version ^5.0
openspout/openspout Version ^4.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 laravel-enso/dataimport contains the following files

Loading the files please wait ...