Support the ongoing development of Laravel.io →

256 Threads

Do not use Illuminate in Laravel packages? (Module structure)

When creating a package in Laravel, the packages use "\Illuminate\Support\ServiceProvider"...

0 Likes
7 Replies
Solved

Use of undefined constant STDIN - assumed 'STDIN'

Hello, I'm using Laravel 4.2. When I run: Artisan::call('migrate'); php throws: ErrorException Use...

0 Likes
2 Replies
Solved

How to create a variable accessible to all controllers and views?

Hi guys! The reason I'm asking this is because I created an Ad class. My current setup right now is...

0 Likes
4 Replies
Solved

Redirect loop issue

Hi, I just created a simple UserController and after my first test for routing I get a browser error...

0 Likes
6 Replies
Solved

Question about namespace in the Group Routes

I'm trying to see the utility of the following sample code from Laravel Quickstart Route::group(arra...

0 Likes
2 Replies
Solved

One model, Varying behaviors

I'm creating a CMS portion of a more complex application. The CMS portion contains "Courses&quo...

0 Likes
5 Replies
Solved

ioc or parameters?

hi, i would like to ask you how would it be better to resolve dependencies. i'm not really sure to u...

0 Likes
2 Replies
Solved
posted 9 years ago

implementing complex aglorithms

Hi, if i was about to use a complex algorithm which as well uses his own class, where would i implem...

0 Likes
2 Replies
Solved

Access to static functions if I inject a Model instance into BasicRepository

How could I do to get access to the all(), find(), and all Model static functions if I'm using an in...

0 Likes
6 Replies
Solved

Conditionally changing SMTP Mail settings (host, username, password).

Needing to redeclare the configuration settings when sending just one particular mail in the app. Wo...

0 Likes
3 Replies
Solved

How to load models?

I have a model like this: namespace Models; use Eloquent; class Sites extends Eloquent { public...

0 Likes
2 Replies
Solved

Redirect::to() from a package class

Hy, I want to make redirect's from my package class, but if returning a redirect it redirect me to t...

0 Likes
1 Replies
Solved

Use config in package for non-Laravel applications

As we all know, using stuff like Config in custom packages works great if you're using Laravel. But...

0 Likes
2 Replies
Solved

Logical question about Services and Controllers

I have implemented a simple Service that tries to authenticate user, I just doubt that there is some...

0 Likes
3 Replies
Solved

Options not allowed here

Hi all, I'm new in laravel. I managed to install and play around with laravel on my localhost. But w...

0 Likes
4 Replies
Solved

Model specific translations for Validation

So, I have this problem: I'm creating an application, which will be translated to language other tha...

0 Likes
2 Replies
Solved

Best Practice Presenter

Hi guys, how far can I go with presenters? Would something like: public function presentUrl() { retu...

0 Likes
1 Replies
Solved

hasManyThrough is really slow

I have Categories that have many Product Groups and those Product Groups have many Products. I'm usi...

0 Likes
7 Replies
Solved

IoC Container resolution error

Hi all, i'm fighting with IoC container. My goal is to have dependency injection as in the documenta...

0 Likes
6 Replies
Solved
posted 9 years ago

Performance Measurement

We are designing a LMS Based on Laravel. My old job was as a Performance Engineer, so i always keep...

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