Giter Site home page Giter Site logo

rxcod9 / joy-voyager-export Goto Github PK

View Code? Open in Web Editor NEW
7.0 0.0 1.0 68 KB

Joy VoyagerExport module adds bulk export feature to Voyager.

Home Page: https://joy-voyager.herokuapp.com

License: MIT License

PHP 93.41% Blade 6.59%
laravel php joy export voyager bulk-export voyager-export joy-voyager xlsx csv

joy-voyager-export's Introduction

Joy VoyagerExport

This Laravel/Voyager module adds VoyagerExport support to Voyager.

By ๐Ÿผ Ramakant Gangwar.

Screenshot

Latest Version GitHub Workflow Status Total Downloads


Prerequisites


Installation

# 1. Require this Package in your fresh Laravel/Voyager project
composer require joy/voyager-export

# OR If you're facing this issue

###
# Problem 1 - Root composer.json requires joy/voyager-export ^1.2 -> satisfiable by joy/voyager-export[v1.2.1, ..., v1.2.17]. - joy/voyager-export[v1.2.1, ..., v1.2.17] require illuminate/support ^7|^8 -> found illuminate/support[v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
###

#use following command
composer require joy/voyager-export -W

# 2. Publish evrything
php artisan vendor:publish --provider="Joy\VoyagerExport\VoyagerExportServiceProvider" --force
# 3. OR Publish Voyager overrided actions blade [MANDATORY STEP FOR EXPORT BULK GROUP BUTTON TO WORK]
php artisan vendor:publish --provider="Joy\VoyagerExport\VoyagerExportServiceProvider" --tag=voyager-actions-views --force

Working Example

You can try laravel demo here https://joy-voyager.kodmonk.com/admin/users.

Documentation

Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the joy voyager-export? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.

If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.

Testing

You can run the tests with:

vendor/bin/phpunit

Upgrading

Please see UPGRADING for details.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

joy-voyager-export's People

Contributors

renovate-bot avatar renovate[bot] avatar rxcod9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

yellow-three

joy-voyager-export's Issues

Display import/export buttons

I continue to test joy-voyager-export on Laravel 9 with my minimal example repository. I continue the process to install this package with these commands :

php artisan vendor:publish --provider="Joy\VoyagerExport\VoyagerExportServiceProvider" --force
php artisan vendor:publish --provider="Joy\VoyagerExport\VoyagerExportServiceProvider" --tag=voyager-actions-views --force

I cannot see the import/export buttons in the administration panel of voyager, in the BREAD section. The minimal repository is in this state currently.

Installing joy-voyager-export on a fresh new project

I provide a minimal github repository to reproduce this installation error. The README.md on this repository fully describ how to reproduce this error.

In short, when I try to install joy-voyager-export on a new Laravel project, I get these errors:

$ composer require joy/voyager-export
Using version ^1.2 for joy/voyager-export
./composer.json has been updated
Running composer update joy/voyager-export
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires joy/voyager-export ^1.2 -> satisfiable by joy/voyager-export[v1.2.1, ..., v1.2.17].
    - joy/voyager-export[v1.2.1, ..., v1.2.17] require illuminate/support ^7|^8 -> found illuminate/support[v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.

You can also try re-running composer require with an explicit version constraint, e.g. "composer require joy/voyager-export:*" to figure out if any version is installable, or "composer require joy/voyager-export:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Problem Installing: must be compatible with Psr\SimpleCache\CacheInterface::get

Hi there,

Just tried installing the package on L9 on PHP 8.1 and receiving the following:

 Declaration of Maatwebsite\Excel\Cache\MemoryCache::get($key, $default = null) must be compatible with Psr\SimpleCache\CacheInterface::get(string $key, mixed $default = null): mixed

  at vendor/maatwebsite/excel/src/Cache/MemoryCache.php:62
     58โ–•
     59โ–•     /**
     60โ–•      * {@inheritdoc}
     61โ–•      */
  โžœ  62โ–•     public function get($key, $default = null)
     63โ–•     {
     64โ–•         if ($this->has($key)) {
     65โ–•             return $this->cache[$key];
     66โ–•         }

Regards,

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository. View logs.

  • WARN: Unsupported composer value

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

composer
composer.json
  • php ^7.3|^8.0|^9.0
  • illuminate/support ^7|^8|^9|^10
  • joy/voyager-core ^1.0|^2.0|^3.0
  • maatwebsite/excel ^3.1
  • psr/simple-cache ^1.0 || ^2.0 || ^3.0
  • friendsofphp/php-cs-fixer ^3.0
  • guzzlehttp/guzzle ^6.3|^7.0
  • mockery/mockery ^1.3
  • orchestra/testbench ^5.0|^6.0|^7.0|^8.0
  • phpunit/phpunit ^9.1|^10.0|^11.0
github-actions
.github/workflows/php-cs-fixer.yml
  • actions/checkout v4
  • stefanzweifel/git-auto-commit-action v5
.github/workflows/run-tests.yml
  • actions/checkout v4
  • shivammathur/setup-php v2
.github/workflows/update-changelog.yml
  • actions/checkout v4
  • stefanzweifel/changelog-updater-action v1
  • stefanzweifel/git-auto-commit-action v5

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.