InaniELHoussain's avatar

looking for PDF of Laravel's DOCUMENTATION

Good Morning, well as the title says, I'd like to know why there is no PDF version for the DOCUMENTATION? its just weird ... for me I like to read it on paper. if you have a version of it, it would be nice to share it with us

0 likes
8 replies
tomopongrac's avatar

Nothing that i can find... you can create your own pdf from documentation web page

1 like
ohffs's avatar

If you want to do it yourself, clone the docs repo and concat the markdown then pass it through gimli - you'll get a pretty decent pdf.

InaniELHoussain's avatar

Thank you All! now i've got the PDF version thanks to your valuable answers

kristjan.reinsberg's avatar
        $dompdf = new Dompdf();        
        //GET OFFER DATA
        $offer = Offer::find($request->id);
        //GET CLIENT DATA
        $client = Client::find($offer->o_client_id);
        $dompdf->loadHtml(view('pdf.offer', compact('offer', 'client')));
        $dompdf->render();

Please or to participate in this conversation.