Download the PHP package syspons/laravel-sheetable without Composer

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

Laravel-Sheetable

A helper for importing and exporting Eloquent models.

Easily add import + export routes + controllers by adding a Trait to your model.

This package utilizes laravel-excel which is a wrapper around PhpSpreadsheet

Installation

Concept

The package provides an interface to the database using excel import and export. It can be used to create or update entities, not to delete them. For updating a unique identifier in the table is necessary.

Dropdownable

Plain data from the table will be shown in the export as is. However, there might be relations within the data, that shall be shown inside the export (or import). These are defined by DropdownConfigs. These represent a relation within the excel. It is possible to include one to many and many to many relationships. For every relation you'll find a dropdown in your excel to select one of the related entities. There will be a workbook inside your spreadsheet that contains all related models, mapped to their key, in order to make it possible to import these relations as well.

Join

If you want more, than a single column of a relation joined to your export table, you will need to use the Join functionality. You have the possibility to add nested joins and to select any column of the joined table.

Usage

Options

To change the default options use

Architecture

Compatibility

Tested with Laravel 10.x.

License

See License File. Copyright © 2023 Jan Bladt.


All versions of laravel-sheetable with dependencies

PHP Build Version
Package Version
Requires berthott/laravel-scopeable Version ^2.0.0
haydenpierce/class-finder Version ^0.4.3
barryvdh/laravel-ide-helper Version 2.12.3
maatwebsite/excel Version ^3.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 syspons/laravel-sheetable contains the following files

Loading the files please wait ....