Support the ongoing development of Laravel.io →

Get data from an insert query?

I know you can get the insert id of a query with: $query->id But is there a way to get data back...

0 Likes
1 Replies

create 2 controller with same name in subfolder

how to access 2 controller with same in subfolder. 1.) admin / dashboardController.php 2.) master /...

0 Likes
0 Replies

repository convert eloquent in to generic data

I loved the idea of repositories but Im having problem on how to convert those eloquent objects to g...

0 Likes
15 Replies

Reusable forms on different routes/controllers

Hey, so what I have is a form that is going to appear on multiple pages for different scenarios, and...

0 Likes
4 Replies
posted 9 years ago

How to use HTML::linkAction() with Bootstrap glyphs?

I would like to have a logout button on my navbar. I have tried snippet below but it's not working {...

0 Likes
2 Replies
Solved

Protect route using .htpasswd file

Hello! Auth.php has two options: eloquent and database but my app is not using any SQL database. All...

0 Likes
4 Replies
posted 9 years ago

Class injection variable name convention

I was hoping to get some feedback regarding a potential convention for injected class variable names...

0 Likes
0 Replies

Can I improve my DB::select query?

Hi, It seems a bit overkill what I have, after some searching I finally got my query working but not...

0 Likes
0 Replies

Input::has('name') is working in Laravel 4.0.9?

I tried method Input::has('name') But even i click to choosed image, it still return false. Is this...

0 Likes
5 Replies
Solved

Best practice - place large queries in model or controller?

Hi, I'm quite new to laravel, so trying to get the hang of the best practices at the moment. Today I...

0 Likes
7 Replies
Solved
posted 9 years ago

404 errors when installing Laravel

I'm brand new to Laravel. It looks like a very promising framework, so I'd like to install it. Since...

0 Likes
0 Replies

Handle 403 (and other) errors

So I am wondering how to handle 403 error thrown by .htaccess. I have disabled directory listing wit...

0 Likes
2 Replies
Solved

Laravel-specific technical debt

I'm not completely sure where to put this, so here we go. I'm putting together a talk for our local...

0 Likes
1 Replies

Call to a member function getClientOriginalName() on a non-object

My Form: @extends('layouts.master') @section('content') <div id="admin"> <h2&g...

0 Likes
4 Replies
Solved

Understanding view::make app::bind ...

Hi; Can someone please briefly explain what does this mean? Something::SomethingElse($arg1, function...

0 Likes
0 Replies
posted 9 years ago

One To Many relations

Hi I just cant wrap my head around One To Many Relations. They seem to never work for me. So i start...

0 Likes
0 Replies

Ordering 'Post's in a 'Category' based on sum() of 'Vote's

I have 3 models... Category, Post, and Vote In my category view, I am showing an index of all Posts...

0 Likes
0 Replies

Building queries with pivot table fields

I have a User model, and an Item model. Each Item has one Category, and each User has a "benlon...

0 Likes
3 Replies
Solved
posted 9 years ago

Queue isn't calling correct class method

I'm using the queue and wanting to call methods out of my class. So I'm using: Queue::push('MyApp\Se...

0 Likes
0 Replies

html + css + js sandbox

Hello, I am planning to create a html + css + js sandbox in laravel, something very similar to boots...

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