Support the ongoing development of Laravel.io →
posted 10 years ago

SQL Join/LeftJoin Statements

I'm trying to join two queries with this statement: $item = Category::where('type', $item)...

0 Likes
3 Replies

Cache Tags on differing environments; Looking for an elegant solution

I understand why Cache Tags aren't allowed on the File Storage/Database cache drivers. However we d...

0 Likes
0 Replies

Changin session driver on the fly

Hi guys, I have a problem. I use two database in my application. I would like to change session driv...

0 Likes
0 Replies

Should you use models/repositories in Migrations?

Is it considered acceptable practice to use models in migrations? I've seen many code snippets where...

0 Likes
1 Replies
posted 10 years ago

Nothing happens when i change something in app

So i have deployed app with dploy.io, and everything works fine. Then i changed routes to test if it...

0 Likes
0 Replies

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 10 years ago

createFromTimeStamp language

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

0 Likes
0 Replies
posted 10 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 10 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...

julienbourdeau liked this thread

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 10 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 10 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

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.