Support the ongoing development of Laravel.io →

is it possible to convert data during migration?

I'm going to change some models' relationship from one-to-many to many-to-many. Is there a way do ap...

0 Likes
0 Replies

condition on belongsToMany

can i get data in single query ? $author = Author::where('id', '=', $authorId) ->where('salt', '=...

0 Likes
1 Replies

Suggestion / Question about Laravel bundles.

When I check out http://bundles.laravel.com/bundles, I can see that many bundles are for Laravel 3....

0 Likes
2 Replies
posted 11 years ago

createFromTimeStamp language

Hey, to generate "time ago" text, i use the following code: {{ \Carbon\Carbon::createFrom...

0 Likes
0 Replies
posted 11 years ago

Query builder -- map to array object

Hi, Method get from query builder return array of stdClass object. It is posible change stdClass to...

0 Likes
1 Replies
posted 11 years ago

Package development tutorial - Class not found

Hi! I'm newbie to Laravel4. Trying to follow the package development but when running Laravel I got...

0 Likes
1 Replies
Solved

Multiple domains, how to share login?

I have multiple Laravel installations running on multiple domains: A, B, C, D etc. These are service...

1 Likes
4 Replies

Multi-level parent child categories

Hello, I'm very new to laravel and am converting an application I wrote earlier in very unstructured...

0 Likes
2 Replies

Handling Redis Session Expections

I would like to set up Redis to handle sessions, however, I found an issue. When I stop the Redis se...

0 Likes
0 Replies

Should I rely on an abstract structure when doing a php application?

Ok.. so I built this real simple RBAC using Laravel. In my design I filter user's permissions based...

0 Likes
0 Replies
posted 11 years ago

catching exception from the filter during testing

Hi, Here is my filter: Route::filter('app.auth', function() { $app_token = Input::get('...

0 Likes
0 Replies

Laravel 4.1 Pagination Language

Hello, I would like to change the pagination language for Next and Previous buttons. I have paginat...

0 Likes
1 Replies
posted 11 years ago

IOC resolving

I have a service provider with IoC binding to a class (sesmailer - it is my own mailer class). $t...

0 Likes
1 Replies

Laracasts Validation --> name space error

Hey everyone, I recently started with laravel and I'm making a kind of Facebook. Now I want to creat...

0 Likes
1 Replies

Access data from multi nested relations

Hi, i use the following code to get my data with Eloquent: $campaign = Campaign::find(1)->with(...

0 Likes
0 Replies

laravel 4.2.4 multiple users types

we have some groups of users (students teachers parents) with different property and they need diffe...

0 Likes
1 Replies

Joining two tables using Eloquent for multiple database connections

Hello, I am facing a problem with joining two tables using Eloquent for multiple database connection...

0 Likes
0 Replies

ssh componet connect to current server

hello I would like o use the SSH component: http://laravel.com/docs/ssh and to run orders on the cur...

0 Likes
3 Replies
Solved

Relationships With Staff and statuses

I'm attempting to make a relationship between my roster table and roster_statuses table. I'm wonderi...

0 Likes
5 Replies
Solved
posted 11 years ago

Users can only edit their own posts

Hi guys, How do I make sure that an authenticated user only can edit their own submissions? Do I hav...

0 Likes
5 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.

© 2025 Laravel.io - All rights reserved.