Questions tagged [illuminate-container]

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.

117 questions
0
votes
0 answers

How to change table/field name in Laravel Eloquent/Illuminate ORM mapping?

I know that is it possible to use object and object field names (in Java Entity JPA/Hibernate ORM mappings) that are different from database table names and field names. Is it possible to configure Laravelt to allow different object and filed names?…
TomR
  • 2,696
  • 6
  • 34
  • 87
0
votes
1 answer

How to avoid quotes around table name in Laravel Illuminate Firebird

I am creating project with Laravel Illuminate that connects to existing Firebird database using jacquestvanzuydam project. The problem is that Firebird doesn't use quotes around table and field names, but my present configuration tries to add quotes…
TomR
  • 2,696
  • 6
  • 34
  • 87
0
votes
1 answer

Slim/Illuminate execute operation plus/minus in update

How does one execute an operation with Slim/Illuminate to update mysql database row and add +1 or -1 $user->update(['points' => +1]);
Jack Dnls
  • 13
  • 4
0
votes
0 answers

Illuminate Database outside Laravel with Phinx for migrations

I'm working on a project where I'm using Illuminate's database component outside of Laravel 4.2 and trying to use Phinx for migrations from the command line. I've set up my database environments in the phinx.yml file for production, development,…
user3361594
0
votes
1 answer

Illuminate\Html\HtmlServiceProvider' not found

I am using homestead and I continue to get FatalErrorException in ProviderRepository.php line 146: I've done composer require illuminate/html and composer update. No luck. Here is what I have in the Provider and Aliases app.php 'providers' => [ …
arsenalist
  • 391
  • 4
  • 18
0
votes
1 answer

Reuse password broker logic to send activation email

I've got a simple CRUD application in which is possible to add users, through a form, the ideal flow is an admin fills the form with user name and password an email is sent to the user with a link to set the password the user is logged in Now at…
Matteo Hertel
  • 691
  • 2
  • 8
  • 18
0
votes
1 answer

No error message text when using Laravel Validator module

I manage to use the Laravel Validation module in my project like this:
DomingoSL
  • 14,920
  • 24
  • 99
  • 173
0
votes
0 answers

Laravel Throws ReflectionException Since Update to Version 5.1.7

I'd been working on my portfolio development with a blog alongside on Laravel 5.1.2 lately. It all was working fine till the moment I needed the illuminate/html package. Also, prior to running the composer require illuminate/html command, I ran the…
ikartik90
  • 2,695
  • 6
  • 26
  • 38
0
votes
0 answers

Laravel 5.0.33 Illuminate\Database\Eloquent\Model not found in line 5

Here is my file Email.php in app, it is very simple but it doesn't work:
0
votes
1 answer

how to use laravel illuminate in a custom project

I have a static site with a lot of pages. Now I got a new requirement. Client need a Client Area, I am thinking to use laravel Database Eloquent, Session, Form/html, Session and want to use them as alias like use in laravel/lumen. The problem is…
hy_sultani
  • 27
  • 3
  • 14
0
votes
0 answers

What is with() in Illuminate\Foundation\Application.php doing?

I'll explain why in a second, but at the moment I'm trying to grok line 606 of Illuminate\Foundation\Application.php in Laravel 4: $response = with($stack = $this->getStackedClient())->handle($request); Where is with() defined? If it's a PHP a…
dspitzle
  • 740
  • 2
  • 9
  • 26
0
votes
2 answers

Unable to dynamically load dropdown list using Blade

I'm new to Laravel and Blade and have been trying to create a view using Illuminate/Html. I have a table called service_locations(location_id, location_area). Using the above table I'm trying to populate the below dropdown list:
ikartik90
  • 2,695
  • 6
  • 26
  • 38
0
votes
1 answer

How to implement Server-Side Datatables using CodeIgniter and Eloquent ORM

I have implemented Eloquent ORM using CodeIgniter and been able to fetch records from the database. Need some help with implementing Server-side datatables using the above. http://datatables.net/examples/data_sources/server_side.html Tried using…
0
votes
0 answers

update row have unique column

| subject (unique) | visible | when data post from view, if only change visible column when I update data will be reject because the subject is same means exist in database, so I have to add one step select data first and check if $_POST['subject']…
vibskov
  • 275
  • 4
  • 16
0
votes
1 answer

Illuminate database query with date_sub

I'm struggling with a query using the Illuminate database query builder. When I use the query the result is not as I expected. When using the query from the querylog directly with mysql cli, I get the expected result. With query builder: …
sjosen
  • 551
  • 1
  • 6
  • 10