Download the PHP package tadasei/backend-excel-utils without Composer

On this page you can find all versions of the php package tadasei/backend-excel-utils. 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 backend-excel-utils

Tadasei/backend-excel-utils

This package provides stub utilities for working with Laravel Excel. It simplifies the creation of Excel exports by offering pre-built components, including a model for metadata and tracking, as well as traits for custom styles and cell data types.

Features

Installation

Requirements

Steps

  1. Install the package via Composer:

  2. Run the installation command to generate stubs:

    This will generate:

    • database/migrations/YYYY_MM_DD_HHMMSS_create_exports_table.php
    • app/Models/Export.php
    • app/Traits/BoldHeadings.php
    • app/Traits/CenteredCells.php
    • app/Traits/CustomCellDataTypes.php

Usage

Export Model

The Export model tracks metadata for your exports and integrates with the File model from the tadasei/backend-file-management package. Key attributes include:

Feel free to extend or customize the Export model to suit your application.

Traits

1. BoldHeadings

Use the BoldHeadings trait in your export classes to apply bold styling to heading cells. Implement it with Laravel Excel's styles() method:

2. CenteredCells

Apply centered alignment to cells using the CenteredCells trait:

3. CustomCellDataTypes

Support custom cell data types with the CustomCellDataTypes trait, such as preserving leading + in phone numbers:

Customization

The generated files are stubs intended as a starting point. You can modify them to better fit your application's requirements.

Contributing

Contributions are welcome! If you have suggestions, bug reports, or feature requests, please open an issue on the GitHub repository.

License

This package is licensed under the MIT License.


All versions of backend-excel-utils with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1.0
tadasei/backend-file-management Version >=1.0.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 tadasei/backend-excel-utils contains the following files

Loading the files please wait ....