Hi, I have used DOMPDF for a long time to generate pdfs in my projects, but when exporting more than 20 sheets it takes longer, is there an alternative that is faster in generating reports?

|
natghi2010 2021-05-09 14:18:37
flyingdragons 2021-05-09 14:16:49
May I know what are those please

Orrrrrrrrrr

natghi2010 2021-05-09 14:19:23
https://youtu.be/pIGy7-7gGXI

Self-Host Your Own Websockets with Laravel – It’s This Easy and FastYouTube
Have you ever wanted to use Websockets without using an external service like Pusher? In this video I will show you how you finally can leverage the power of websockets in Laravel without any external services. We will use Laravel Echo to work with the sockets on the frontend and Laravel events to trigger events on the server side.

The method we will use to operate our Websockets today is a package called laravel-websockets. This package actually imports an instance of Ratchet, a low-level web sockets server, into our Laravel project to allow us to host a websocket server as part of an existing Laravel application. This is convenient because everything is self-contained in one Laravel application.

You can run this web socket server inside the Laravel app that requires web sockets, or you can choose to host a standalone application that runs this package for your own self-hosted websocket platform. It can support multiple clients just like other popular websocket services.

This package scales well, with over 15,000 concurrent connections maintained using just a simple 512Mb ram VPS server that usually costs around $5 a month.

▼ ▼ ▼ LINKS ▼ ▼ ▼

Next (Optional): Configuring Laravel-Websockets – Understanding the settings: https://youtu.be/V4Nqog5eXuQ

Learn Websockets in Detail with My Full (FREE) Course on YouTube: https://www.youtube.com/playlist?list=PLwAKR305CRO9rlj-U9oOi4m2sQaWN6XA8

Laravel-Websockets Package: https://github.com/beyondcode/laravel-websockets

Laravel-Websockets Documentation: https://docs.beyondco.de/laravel-websockets/

Installation Snippets: https://docs.beyondco.de/laravel-websockets/1.0/getting-started/installation.html

Does This Package Scale?: https://docs.beyondco.de/laravel-websockets/1.0/faq/scaling.html

▼ ▼ ▼ CODE SNIPPETS ▼ ▼ ▼

This was a straightforward setup tutorial, so no GitHub repo is provided.

To install in an existing Laravel app
1) Install via composer:
composer require beyondcode/laravel-websockets

2) Publish migration files:
php artisan vendor:publish —provider=“BeyondCodeLaravelWebSocketsWebSocketsServiceProvider” —tag=“migrations”

3) Publish Configuration Files:
php artisan vendor:publish —provider=“BeyondCodeLaravelWebSocketsWebSocketsServiceProvider” —tag=“config”

4) Run Migrations:
php artisan migrate

To start your web socket server run:
php artisan websockets:serve

==== FOLLOW ME ====

Subscribe for New Releases!

Subscribe to DevMarketer Insider
https://confirmsubscription.com/h/d/5EDC91CF554832D1

Twitter – http://twitter.com/_jacurtis
(ask me questions!)

==== QUESTIONS? ====

Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.

Email me hello@jacurtis.com

Thanks for all your support!

flyingdragons 2021-05-09 14:19:28
natghi2010 2021-05-09 14:17:15
1. Using firebase db(you have to pay if you use it a lot)

Currently client dont have much funds on it

flyingdragons 2021-05-09 14:19:41
natghi2010 2021-05-09 14:19:23
https://youtu.be/pIGy7-7gGXI

Cool. Will check this out. Thank you

natghi2010 2021-05-09 14:20:06
flyingdragons 2021-05-09 14:19:41
Cool. Will check this out. Thank you

This is the cheapest option

flyingdragons 2021-05-09 14:20:25
Awesome 🤘
BaronNo1 2021-05-09 14:57:59
Hello guys, Please i need your help with an error i am having with Spatie Laravel Permission
BaronNo1 2021-05-09 14:59:18
[ Photo ]
I’m trying to use the spatie Laravel permission, i am getting this error while trying to create new role.
BaronNo1 2021-05-09 14:59:58
BaronNo1 2021-05-09 14:59:18
[ Photo ]
I’m trying to use the spatie Laravel permission, i am getting this error while trying to create new role.

Call to undefined method SpatiePermissionContractsRole::create()

BaronNo1 2021-05-09 15:00:30
And i have added the HasRoles trait to the User Model.

Any ideas?

Rahul N 2021-05-09 15:36:40
Tanish Singh 2021-05-09 11:36:11

Check if same number of parameters are passed ! I guess you are missing one

2021-05-09 16:38:26
Hii all I have a question if I make service foreign key in sub-service table then I delete service then how can possible to delete sub-service automatically.

Someone help

Saicharandgp 2021-05-09 16:48:11
2021-05-09 16:38:26
Hii all I have a question if I make service foreign key in sub-service table then I delete service then how can possible to delete sub-service automatically.

Someone help

In db itself add delete cascade

Rashid 2021-05-09 16:48:27
ondelete cascade
2021-05-09 16:49:23
Rashid 2021-05-09 16:48:27
ondelete cascade

approciate

@ndro 2021-05-09 17:23:01
Hi, I have used DOMPDF for a long time to generate pdfs in my projects, but when exporting more than 20 sheets it takes longer, is there an alternative that is faster in generating reports ???
2021-05-09 18:19:40
@ndro 2021-05-09 17:23:01
Hi, I have used DOMPDF for a long time to generate pdfs in my projects, but when exporting more than 20 sheets it takes longer, is there an alternative that is faster in generating reports ???

Try fpdf.

juvenilia_xs 2021-05-09 18:39:23
Hi .
i have problem about AJAX post in Server. but in localhost is OK .

plz help .

juvenilia_xs 2021-05-09 18:41:10
laravel_discuss-80078.jpg
this is my code
TheSvelte 2021-05-09 18:48:37
Hello guys, how to make a flash notification with Laravel ?
TheSvelte 2021-05-09 18:49:42
It seems that flashy library is unavailable now
juvenilia_xs 2021-05-09 18:59:18
juvenilia_xs 2021-05-09 18:41:10
this is my code

error: function (jqXHR, textStatus, errorThrown) {
alert(errorThrown);

will returns : Not found

2021-05-09 19:27:28
laravel_discuss-80085.jpg

Joesmith123 2021-05-09 20:34:24
I am looking for experienced laravel developers for a progressively growing product. Must be at least one year experienced with Laravel
natghi2010 2021-05-09 20:35:21
Joesmith123 2021-05-09 20:34:24
I am looking for experienced laravel developers for a progressively growing product. Must be at least one year experienced with Laravel

What’s your real name

natghi2010 2021-05-09 20:35:32
Gupta?
natghi2010 2021-05-09 20:35:43
Ajay?
Joesmith123 2021-05-09 20:38:37
And what does that mean?
Joesmith123 2021-05-09 20:38:48
Are you from South Korea?
I just want peace please 2021-05-09 20:51:46
laravel_discuss-80095.jpg

I just want peace please 2021-05-09 20:52:15
https://www.youtube.com/channel/UCGSJUTwE2CjLB9V4Vf8nhfA/featured
I just want peace please 2021-05-09 20:52:47
I would be glad if you subscribe and support
I just want peace please 2021-05-09 21:15:45
As of now I have 52 subscribers friends
🙂
I thank everyone for their support, god bless
I just want peace please 2021-05-09 21:28:23
please support youtube my channel
Ablack_coder237 2021-05-09 21:33:40
I just want peace please 2021-05-09 21:28:23
please support youtube my channel

The 🔗

|