Support the ongoing development of Laravel.io →

1,185 Threads

How to make search with pagination?

I want create a gallery. How can I do?

0 Likes
1 Replies

Value objects validation

Hello, so i am creating value Money( 500, Currency('EUR') ). What would be the best approach to vali...

0 Likes
0 Replies
posted 9 years ago

ADDING DOCUMENTS TO DATABASE

i want to save the attached document to database here is my code on adding to database code $data =...

0 Likes
2 Replies

How can I grab this this thing (I couldn't able to name it)?

Here's is my case. Let's assume I have web page foo.com. If user already logged in, I need to grab e...

0 Likes
1 Replies

API using barryvdh/laravel-cors package can't accept posts when using XDomainRequest (IE9)

I am using the barryvdh/laravel-cors package for doing my Cross Domain stuff. However, we have cust...

0 Likes
0 Replies

Optionality: `sometimes` we need a little bit more

Hello, Given I have a model with an optional 'email' attribute. When specified, it has to link to a...

0 Likes
0 Replies

File Upload stop working all of a sudden

My file uploading script was working previously, with the same validation rules, it has stopped work...

0 Likes
1 Replies

Eloquent set random not duplicate id when creating records

This is the code of my Eloquent model: protected static function boot() { parent::boot(); s...

0 Likes
2 Replies

Pagination "per page" query var

Hi there, in my application I want to return a paginated list of users. I would also like the number...

0 Likes
1 Replies

Whats the opposite of ->associate() ?

I'm trying to figure out the easiest and most effective way up updating hasMany() and belongsTo() re...

0 Likes
2 Replies

docx mime file upload extension laravel-4.2

Salam, We are using Laravel-4.2, and we are developping on linux machines, the problem is that we ha...

0 Likes
0 Replies

how to get a single input value in an array of input form using Input::get

i have a form input like this <input type="text" name="user[username]" /> <input type="text...

0 Likes
1 Replies

Looking to Build A Commenting System for a Blog

Hi guys, I currently have a laravel blog, and I want to add a custom commenting system. What would b...

0 Likes
0 Replies

Laravel Commenting System not Retrieving Correct ID of its Post

Hi guys, I created a commenting system for a blog. Comments belongTo a Post, and they BelongTo a use...

0 Likes
2 Replies

Advanced routing issue

Hi, So I've setup my route as follows: Route::group(array('prefix' => 'student/{student_id}/'), f...

0 Likes
5 Replies
Solved

Custom field name via Lang::get()? (Localisation / Validation)

Hi guys, I am working on a multi-language website where we validate the input fields. But all the fi...

0 Likes
3 Replies

why the result (!=0) when i minus (-) of the same value?

I have example: Route::get( 'cal', function () { $var = 150.55; $amount1 = 1...

0 Likes
3 Replies

How to pass data in an Ajax call with routing through a controller

Hi guys, Let me begin by explaining what I'm trying to do, so that you can get a better understandin...

0 Likes
1 Replies

Mass Assignment?

http://laravel.com/docs/eloquent#mass-assignment It says there to use "fillable" to define...

0 Likes
0 Replies

Code executing with artisan

I have made language slugs for my site ex: domain.com/en/something, domain.com/fr/something etc. I h...

0 Likes
4 Replies
Solved

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.

© 2024 Laravel.io - All rights reserved.