The Illuminate Database component is a full database toolkit for PHP, providing an expressive query builder, ActiveRecord style ORM, and schema builder. It also serves as the database layer of the Laravel PHP web application framework.
Questions tagged [illuminate-container]
117 questions
1
vote
1 answer
How to get value from all index of collection in laravel Illuminate?
I have to query data from DB to using Illuminate in laravel then I want to get all the attribute value from all index of this array.
array:36 [▼
0 => RepaymentSchedule {#553 ▶}
1 => RepaymentSchedule {#554 ▶}
2 => RepaymentSchedule {#555 ▶}
…

DMS-KH
- 2,669
- 8
- 43
- 73
1
vote
0 answers
Laravel Log Truncation
I'm getting an error back on an API scraping service I've setup due to the API source changing some element on their end. I've been working my way through trying to sort it all out, but I'm stuck on a particular object conversion error. When I try…

DarthJay
- 85
- 1
- 6
1
vote
1 answer
How to extend Laravel's bcrypt method
I have made a php class that combines different hash algorithms, and I would like to implement it within the bcrypt() laravel's method.
My current solution is to access the AuthController and replace bcrypt($data['password']) by…

rogervila
- 974
- 1
- 10
- 27
1
vote
2 answers
Laravel 5.1.11 Fatal error: Uncaught exception 'ReflectionException' with message 'Class log does not exist'
After doing composer update my project starts to show this error in everywhere in my production environment. But in local is working perfectly.
Fatal error: Uncaught exception 'ReflectionException' with message 'Class log does not exist' in…

leoalmar
- 226
- 5
- 14
1
vote
1 answer
Lumen/Laravel 5.1 - calling stored procedure appears to commit transaction
I'm building integration tests in Lumen 5.1.3. Most of my tests roll back their transactions just fine. Here is a summary of what a successful rollback may look like (I'm simplifying the code - really the transaction management is done via a trait…

Matthew Housser
- 1,012
- 9
- 21
1
vote
1 answer
Slim using illuminate database query
Im trying to get a result from a database, what I want to do is get a sum of a curton field then group the results then order by. Heres what I have, but it keeps giving me an error. The error im getting is:
Call to a member function orderBy() on…

Adam
- 455
- 1
- 3
- 18
1
vote
3 answers
How to resolve composer requirements conflicts?
I'm testing Laravel Framework new 5.1 version.
And I want to install famous barryvdh/laravel-ide-helper package.
A know that the problem is: barryvdh/laravel-ide-helper require illuminate/filesystem: 5.0.x and laravel/framework require…

Juan Antonio Tubío
- 1,172
- 14
- 28
1
vote
1 answer
Subclassing Migrator not working for namespaced migration
I have some namespaced migrations, and I can't get past the Class Not Found errors due to namespacing. In an earlier question, Antonio Carlos Ribeiro stated:
Laravel migrator doesn't play nice with namespaced migrations. Your best bet in this…

dspitzle
- 740
- 2
- 9
- 26
1
vote
1 answer
How to embed a Laravel application within another web application?
So I have a web application, say www.randomwebapp.com, and I want www.randomwebapp.com/laravelapp to point to a laravel app I have written. I've already figured out how to include my laravel app as a separate package and access classes within my…

rsahai91
- 437
- 4
- 13
1
vote
1 answer
Boot method is not called when using illuminate library outside Laravel
I am trying to use illuminate library outside Laravel. By following this repo https://github.com/mattstauffer/IlluminateNonLaravel, I successfully use Eloquent model with my project. However, I setup the boot method, then it is not called.…

Howard
- 601
- 1
- 11
- 15
1
vote
1 answer
Use Illuminate database
I want to use Illuminate database(https://github.com/illuminate/database). Not with Laravel, use only in my php file.
I do
use Illuminate\Database\Capsule\Manager as Capsule;
$capsule = new Capsule;
$capsule->addConnection([
'driver' =>…

Howard
- 601
- 1
- 11
- 15
1
vote
0 answers
Illuminate returns results in JSON - why?
I'm using Illuminate to access my database
$value) {
print $value;
}
?>
browser…

cookie
- 2,546
- 7
- 29
- 55
1
vote
2 answers
Laravel Login / User Issue with Remember Token
I just started working with a year old Laravel project for my fellowship and a major bug inhibiting progress is in the way. Any help would be greatly appreciated. Story below.
Once Laravel is up and running and I try to log in, I get this…

Merlin -they-them-
- 2,731
- 3
- 22
- 39
1
vote
1 answer
php use codeigniter framework components outside of framework
I am working on a legacy project that is built with the codeigniter framework, version 2.1.0 (yes I know it's old). I am attempting to integrate the Illuminate Queue system into CI and have done so quite well. The problem I am running into is…

klye_g
- 1,242
- 6
- 31
- 54
1
vote
2 answers
Error when Call to a member function connection() on a non-object while using Illuminate Database
I have installed Sentry with Composer, thus it has installed Illuminate Database too. The installation was successful, I have done everything in the Sentry documentation. I'm trying to add a user to the database with a simple code. However it gives…

ilhan
- 8,700
- 35
- 117
- 201