Support the ongoing development of Laravel.io →

How to add page number for every page in laravel dompdf?

I get from here : https://github.com/barryvdh/laravel-dompdf My controller is like this : public fun...

0 Likes
2 Replies
Solved

Call to undefined method Barryvdh\DomPDF\PDF::setOptions() (laravel 5.3)

I follow this : http://stackoverflow.com/questions/19983610/how-to-get-page-number-on-dompdf-pdf-whe...

0 Likes
0 Replies

Use Alias in SelectRaw

I've this query: $periodo = Input::get("periodo"); $programa = Input::get("programa...

0 Likes
0 Replies
posted 8 years ago

Relationship problem. I want 'Student' to have MANY 'Invoices' and 'Results'

How would I achieve this? I am confused weather to use onetomany, hasmany, belongsto? Help me out.

0 Likes
4 Replies
Solved

Can I catch table names thats currently beeing created by the migration?

Is there a way to catch the table names if I run migration from a controller?

0 Likes
2 Replies
posted 8 years ago

validator always returns false

Hey Guys, I need your help, because i'm new in laravel. This is the code of my upload controller:...

0 Likes
3 Replies

Laravel show array json

I want to show data from database: for every id_grup has many lapangan(court) $groups_resource...

0 Likes
2 Replies
posted 8 years ago

Abstract Key/Value Store

Why does Laravel provide direct access to Redis? Wouldn't it be better to provide an abstract Key-Va...

beeyev liked this thread

1 Likes
0 Replies

Sub-Domain Routing

i am try to create Sub-domain route but i have a problem to create this .

0 Likes
0 Replies
posted 8 years ago

how to set permission on db table by migration laravel

Hi, I know to create migration on database by laravel migration. However, how to grant permission on...

0 Likes
0 Replies

Server-Sent Events (SSE)

Hi, I have problem: with each request, server return many event but with same data I dont know why,...

ostap, hasn68 liked this thread

2 Likes
0 Replies

CPanel Based Install - Intermittant 500 Internal Server Error.

Hi, I am an administrator of a WHM/Cpanel Server and an experienced Laravel developer, I have multip...

0 Likes
3 Replies
Solved

Send an array as parameter value to route

Hey, How can I pass an array variable to the Laravel Controller using GET method? My route is define...

0 Likes
1 Replies

How to set a variable in blade (laravel 5.3)?

I try like this : ... @if(is_null($key['p3'])) {{--*/$p3 = $key['p3']/*--}} @else...

0 Likes
1 Replies
Solved

Manipulate form request data

Hi there, Does anyone know how I can modify the data a form request object contains before it is use...

0 Likes
5 Replies
posted 10 years ago

UnitTesting and the CSRF Token Mismatch Problem

Hey peoples, Just today I started looking at how to UnitTest some of my code in Laravel. In general,...

0 Likes
4 Replies

a css file for my sepcific div

So here is the thing, there is account section on left side of my page, I'm calling account from a f...

0 Likes
1 Replies
Solved
posted 8 years ago

[5.3] Single Notification for User Collection (followers)

Hello! So for a single notifiable user, a single entry in the notifications table, along with a mail...

0 Likes
0 Replies

Laravel Exceptions have empty getMessage()

Laravel Version: v5.3.26 PHP Version: 7.0.10 Database Driver & Version: mysql:5.7 Hi, I am try...

0 Likes
0 Replies

Validating route parameters in form requests

Hey, I'd like to ask you guys how you validate route parameters with a form request. I have the foll...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.