laravel-langman icon indicating copy to clipboard operation
laravel-langman copied to clipboard

Excel Import & Export Feature

Open mustafaaloko opened this issue 9 years ago • 12 comments

As of feature request: #31.

This PR implements the import/export feature of language files from/to Excel. Uses PHPExcel to read and write files.

Run php artisan help langman:export on how to use Export command.

By default exported files will be written to the storage/langman-exports directory. Although using --path you will be able to change the path relative to base path.

Run php artisan help langman:import on how to use Import command.

By default it accepts the name of Excel file inside storage/langman-exports directory as argument. You can assign a custom path using --path relative to base path.

Once approved, will update the docs.

mustafaaloko avatar Aug 11 '16 08:08 mustafaaloko

Style fixes are complete. @themsaid you will squash the commits while merging or I should do it now?

mustafaaloko avatar Aug 11 '16 09:08 mustafaaloko

@themsaid You still haven't took a look into this PR, is it that you couldn't got time or this PR has problems. If you are busy then it's fine, I am waiting, but if there is a problem with this PR, please let me know so I can make fixes.

mustafaaloko avatar Aug 20 '16 06:08 mustafaaloko

@mustafaaloko thank you for your efforts :) I was just holding all my Open Source changes until 5.3 is released, now I'm putting my mind into it :)

themsaid avatar Aug 23 '16 17:08 themsaid

I can't find any tests for the addition, it's hard for me to check on it. Can you please add tests?

themsaid avatar Aug 23 '16 17:08 themsaid

@themsaid Added tests for both import and export commands, and for changes in Manager class. Also brought some other changes you asked for. Check and let me know. Thanks!

mustafaaloko avatar Sep 10 '16 18:09 mustafaaloko

I would very much appreciate this feature. @themsaid can you tell us if you're currently working on this PR? Is there anything I could do in order to help? Any issues that need fixing?

tpraxl avatar Sep 16 '16 11:09 tpraxl

Ping @themsaid.

mustafaaloko avatar Oct 12 '16 12:10 mustafaaloko

I can't help waiting for this feature to be added. Can you Plz tell when will be this merged?

hamedmehryar avatar Dec 10 '16 07:12 hamedmehryar

@themsaid any updates on this? please let me know if this is not going to be merged. Please let me know of the reasons as well so I would know if there were any problems from my side.

mustafaaloko avatar May 23 '17 17:05 mustafaaloko

Would be great if this could be merged 😄

mbardelmeijer avatar Jun 01 '17 13:06 mbardelmeijer

Hi all, This work seems to be dead :( Should I fork @mustafaaloko excel-import-export branch or is there another repository where this package is alive ?

Thanks & Cheers :-)

Cyrille37 avatar Jan 04 '22 14:01 Cyrille37

I found this simple package laravel-lang-import-export for languages import/export which make the job for different Laravel's versions.

Cyrille37 avatar Jan 04 '22 15:01 Cyrille37