igniterlabs / ti-ext-importexport
Import/Export Menu Items, Orders, Customers from/into any CSV or Microsoft Excel file into TastyIgniter.
Package info
github.com/igniter-labs/ti-ext-importexport
Type:tastyigniter-package
pkg:composer/igniterlabs/ti-ext-importexport
Requires
- league/csv: ~9.1
- tastyigniter/core: ^v4.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.2
- pestphp/pest-plugin-laravel: ^3.0
- rector/rector: ^2.0
- sampoyigi/testbench: dev-main as 1.0
README
Introduction
This extension allows you to import or export TastyIgniter records, such as menu items, customers, reservations, and orders. You can export records to a CSV file, make changes to the data, and then import the updated records back into TastyIgniter.
Features
Import & export
- Import and export TastyIgniter records as CSV files from the admin area (Tools > Import/Export).
- Built-in support for menu items, including categories, pricing, and status.
- Choose which columns to include on each import or export.
- Map CSV column headers to database fields with a guided column-matching step.
- Update existing records on import (for example, refresh menu items by ID) or create new ones.
CSV handling
- Configure delimiter, enclosure, and escape characters for non-standard CSV files.
- Support for multiple file encodings, including UTF-8, ISO-8859, and Windows-1252.
- Export a subset of records using offset and limit options.
Extensibility
- Register custom import and export types from your own extensions via
registerImportExport(). - Define column schemas, import options, and permissions for each record type.
- Extend
ImportModelandExportModelbase classes that handle file I/O, CSV parsing, and statistics.
Documentation
More documentation can be found on here.
Reporting issues
If you encounter a bug in this extension, please report it using the Issue Tracker on GitHub.
Contributing
Contributions are welcome! Please read TastyIgniter's contributing guide.
Security vulnerabilities
For reporting security vulnerabilities, please see our security policy.
License
TastyIgniter ImportExport extension is open-source software licensed under the MIT license.