Support the ongoing development of Laravel.io →

1,825 Threads

Strategies for "resolving" a model from various form input?

Hello all! I'm using "services" (though they may not follow any specific pattern definitio...

0 Likes
1 Replies

How to white-label a product? (backend discussion about data separation)

I've created a web app product. Angular app built on Rest API using PHP/Mysql. The app works great f...

0 Likes
1 Replies

Separate routes to own files

Hi I have big routes.php file. There a lot of route rules. I would like split rules to own files. I...

0 Likes
2 Replies

Which one use (injection vs static method)

Hi. Probably is a PHP general cuestion but this is what I'm wondering: class A { public functio...

0 Likes
1 Replies

Using third party modules in my own package (workbench)

Hi everybody. I have a problem with developing my own package for L4 with workbench. (Decided to rew...

0 Likes
2 Replies

Relationships and joins

I'm learning Laravel and have a few questions I am looking to build a relationship between 2 databas...

0 Likes
2 Replies

Find difference numbers of two strings

Suppose i have one string $oldstring={1,2,3,4} and $newstring={1,2,3,4,5,6,7} i want to find the dif...

0 Likes
1 Replies

View::share within a controller

Hi! I have problem with View::share. Suppose I have a controller: <?php class MyController exten...

0 Likes
0 Replies
posted 11 years ago

Telerik and Laravel

Greetings, I am working on a project that pretty much involves recreating a some very old software a...

0 Likes
0 Replies

Where to put reusable code used by two Controllers

Hi, I'm developing an app where I have to reuse a Controller code in two different Controllers. The...

0 Likes
1 Replies

Using Wordpress as front site together with Laravel 4 on the same domain

Hi! I want to use Wordpress as my front site, and Laravel as my app. So index.php in public folder s...

0 Likes
3 Replies

Repositories and Models

Hey all, I'm currently getting to grips with Repository patterns with Laravel after a nightmare of t...

0 Likes
4 Replies

Any keen.io users care to share your best practices regarding queueing sending events to keen.io?

Hello all! I'm interested in using keen.io to track various events in one of my applications, but I'...

0 Likes
3 Replies
posted 11 years ago

Proper Place to Store Helper Classes

I'm working on my first large webapp using Laravel, and have been wondering how most experienced Lar...

0 Likes
3 Replies
posted 11 years ago

injection internal architecture question

While I'm using injection for validation and few other stuff. I'm still wondering about the differen...

0 Likes
0 Replies

Mobile Support

I'm adding a mobile-friendly website to my laravel app, so I added the following code to /app/config...

0 Likes
2 Replies

Laravel and Service Oriented Architecture

*Disclaimer: This is just theory crafting I'm interesting in learning about Service Oriented Archite...

0 Likes
2 Replies

Should I commit app/config file to git repository

Hi I have question. Should I commit app/config to my repository? What is the best practises ? In my...

0 Likes
4 Replies
Solved

Proper use of custom methods in models - Scope, static, etc

Coming from Codeigniter, I'm used to placing all my database queries in the model. From what i've se...

0 Likes
1 Replies

Laravel 4 Passing Multiple With Statements?

Hi Everyone Is it possible to pass multiple with statements in laravel? For example, in your functio...

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.

© 2026 Laravel.io - All rights reserved.