Support the ongoing development of Laravel.io →

255 Threads

How to migrate from flat PHP to laravel 5.1

I have lot of styles, js & ajax in front-end.Can I use laravel in such scenario. Can i start usi...

0 Likes 5 Replies
Solved

Weird behavior - Sorting collection

I'm trying to sort a collection by the column "name". I am logging the ajax result and whe...

0 Likes 1 Replies
Solved

Best Praxis, Controller has Model with static an public methods

Ahoi, want to use static methods and public method (of Instance) from a Model. have a controller : c...

0 Likes 1 Replies
Solved

Code Reuse - newbie question

Hi, I've started learning about the Laravel framework and did a fair amount of reading on the subjec...

0 Likes 4 Replies
Solved

Upgrade to laravel 5.0

I I tried to upgrade to Laravel 5.0, but I have a problem with my macros. I have 2 types of macros:...

0 Likes 4 Replies
Solved

Moving laravel default folders

I've been using laravel for a few weeks now, and I have to say, I'm not getting used to the folder s...

0 Likes 3 Replies
Solved

Get variable in object Laravel

Example $post = Post::with('categories')->first(); one post relationship to many categories How...

0 Likes 3 Replies
Solved

Laravel Migrate

Hello guys. I'm wondering how i can do single change in single table without affected on other table...

0 Likes 1 Replies
Solved

Undefined class in IoC

I'am trying to do dependency injection between two services via IoC, and getting ReflectionException...

0 Likes 1 Replies
Solved

FatalErrorException - Class 'Base_Controller' not found

Hi, This may be a stupid question however I'm a beginner and have recently started learning Laravel....

0 Likes 4 Replies
Solved

Laravel 5 namespaces and using classes - am I doing it right?

Hi, Currently I'm working on the back-end system of my website and I've created a module where admin...

0 Likes 2 Replies
Solved

What is so great about view composers?

Hi, I'm still wondering what is so great about view composers in Laravel (5). I have a controller wh...

0 Likes 3 Replies
Solved
posted 7 years ago

Where to put methods used by controllers.

Hi all so I am extending the AuthController and have added a few 'helper' like functions like: priv...

0 Likes 1 Replies
Solved

Database design for multiple user attributes

hi i am building an app with Laravel, and I have users which also have a profile. I am unsure about...

0 Likes 3 Replies
Solved

artisan dump-autoload in L5 ?

L4 had artisan dump-autoload. It wasn't exactly the same thing with composer dump-autoload, it did o...

0 Likes 1 Replies
Solved

Changing Auth route to '/' breaks password routes

If I make my auth route '/' /login and /register work fine but /password/email and /password/reset t...

0 Likes 1 Replies
Solved

Access an API using laravel

Hello, I have an API called restclient.php. What basically happens is that I'll include the restclie...

0 Likes 5 Replies
Solved
posted 7 years ago

Decoupling logic from data, but what about the View?

I've been redoing my controllers to inject repositories and using those classes isntead as the only...

0 Likes 3 Replies
Solved

If I wanted to create a simple library class (API client) in Laravel 5, where would I put it?

I want to create a library class called Points. This class will just have a single method to send da...

0 Likes 2 Replies
Solved

Large image gallery question

I have almost finished a project for a photographer when he came up with one more idea on which I ag...

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

© 2023 Laravel.io - All rights reserved.