Support the ongoing development of Laravel.io →
posted 9 years ago

how can i expire a session after special time?

hi I want to logout my user after one hour and I want to use session . for getting the login time i...

0 Likes
2 Replies

How to add data to many-to-many polymorphic relation?

I have an Org model and a Tag model. I want to associate tags with organizations. My database tables...

0 Likes
3 Replies
Solved

where clause with substruction?

i use to build a query like this: $query->where (col1 - col2) > 2 how can this be done with th...

0 Likes
2 Replies
posted 9 years ago

simple application tutorial using laravel ?

Hello thanks for the great work I am new to any php framework can someone tell me how i can setup it...

0 Likes
2 Replies

Populating a select (DropDown) from DB

Hi, I am having trouble with populating a dropdown with values from a relationship. The code below w...

0 Likes
3 Replies
Solved

how to retrieve data from database using table formatting

how to retrieve data from database using table formatting

0 Likes
3 Replies
Solved

Envoy/remote and Ubuntu default Apache setup

I'm normally used to working on cPanel servers, where vhosts and suphp are set up in such a way that...

0 Likes
0 Replies

how object work?

$from = Att::Find(Input::get('pos')); $to = Att::Find(Input::get('to'));...

0 Likes
3 Replies

Using the Google API

Hello, I'm relatively new to Laravel, I've researched this as thoroughly as I possibly can but unfor...

0 Likes
1 Replies

Comparing two solutions for making controllers thinner!

I just watched Jeffery way's Laracon pre-recorded presentation on Laracasts. There is a section on h...

0 Likes
5 Replies

408 Request Time-out

I think this is Chrome 35-related, as it has been giving me issues all day (have also had to repair...

0 Likes
1 Replies

How to set and get session by ajax request

Hi, I want to set a session value using session_put in a ajax request and then after that I want to...

0 Likes
1 Replies

Subfolder and namespaces

I've tried to create a nesting controller but I am not able to create a route for it. The documentat...

0 Likes
4 Replies

Multiple Laravel Apps

Hello everyone, I have a server on GoDaddy and I use this server like a portfolio. I want to add som...

0 Likes
5 Replies

addressing the parent table in the 2nd level nested query, SQL question

Hi, This one is completely SQL question. Assuming we have the next query: SELECT *, (SELECT COUNT(id...

0 Likes
2 Replies

Using repositories and the create() method

Hi all, I have setup a repository to create a new resident. <?php namespace Crescent\Repos;...

0 Likes
3 Replies

SelectBox - Selectize.js

$('#select-repo').selectize({ valueField: 'url', labelField: 'name', searchField: 'name', options: [...

0 Likes
1 Replies
posted 9 years ago

findorfail to get specific fields

How do I write a eloquent on getting specific fields or columns from the table? I have tried below,...

0 Likes
1 Replies
Solved
posted 10 years ago

Can the IoC container be set to create singleton instances by default?

Hi all, I come from a background of developing apps in Symfony2, where instances returned from the s...

0 Likes
2 Replies
posted 9 years ago

App::singleton with Dependency Injection

I have a class called ViewData passed through the constructor to a controller class public function...

0 Likes
2 Replies

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.