-
Notifications
You must be signed in to change notification settings - Fork 212
Made it Compatible with Lumen #148
base: main
Are you sure you want to change the base?
Conversation
@kiasaty Looks good. Never worked with Lumen yet. So all we have to do is ensure to not use any facades inside the plugin? |
@niklasravnsborg some facades and helpers are not present in Lumen. Facades are disabled by default in Lumen. You can enable them by uncommenting one line of code, but still only some of them are present. For example, in the project I'm working on at the moment, facades are completely disabled. So I had to call app('pdf-wrapper')->loadView() instead of Pdf::loadView() to use your package in the app. If you are merging this, also change File::get() to file() PS: thank you for developing this package. Our language is rtl and your package is a rescue. :) |
@kiasaty This would be a good idea to make the package compatible with Lumen. Please make your last changes and let me know when it's done. Then, I will test it on Lumen with Farsi and other complicated languages (with OTL) to make sure that it works just like now it does on Laravel. |
@erfansahaf Very nice. You can try the |
@erfansahaf yeah it is the last changes. you can go for a test now. |
Hi guys, @niklasravnsborg @erfansahaf |
Hey Ehsan,
Sorry for the late reply, I'm a bit busy right now, but once I have
reviewed your PR, I'll let you and Niklas know.
…On Mon, 2 Dec 2019 at 12:14, Ehsan Kiasaty ***@***.***> wrote:
Hi guys, @niklasravnsborg <https://github.com/niklasravnsborg> @erfansahaf
<https://github.com/erfansahaf>
Did you test it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#148?email_source=notifications&email_token=AC3UVCBZUUQ3NZSCDZICAO3QWTDH7A5CNFSM4JDTDKXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFSWMHI#issuecomment-560293405>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC3UVCGVIBYW3GRJBBB74RLQWTDH7ANCNFSM4JDTDKXA>
.
|
@kiasaty Hey! I tried to pull your changes today and run the test suite with
I don't have time to look into it currently but maybe you have an idea how to fix it? Niklas |
Hi,
I just made a few changes to make your great package compatible with Lumen.
Lumen is a Laravel micro-framework for making Restful APIs.