Support the ongoing development of Laravel.io →

Cannot call a function from model

Hi, I am new to laravel and this is pretty basic problem (I think) but for some reason I can't get m...

0 Likes 3 Replies
Solved

Hash::make() with same input returns different values in different places, with one working with Auth::attempt(), one not

Long title but it kinda sums up the issue. I have an action in a controller that creates a new user...

0 Likes 6 Replies
Solved

Custom methods

Hi, is there any way to add custom methods to eloquent models? e.g.: class User extends Eloquent {...

0 Likes 5 Replies
Solved

Blade templating - Iteration over object / Array

I have a model Object I have passed to the view one of the attributes is a array containing other as...

0 Likes 5 Replies
Solved

Help! Problem with creating new records

Hi there, I have a site which needs to go live today, and there is a problem with Eloquent, and the...

0 Likes 9 Replies
Solved

using the '!='sign inside a where() method

I have a table with a row 'comments'. This is 'opmerkingen' in dutch. Every row can contain 1 commen...

0 Likes 2 Replies
Solved

Laravel problem with views.

I have a web application in laravel in "mysite/admin". On login loads view "views/das...

0 Likes 2 Replies
Solved

Dynamic 'where()' for a filter

I've looked around for a tutorial or a best practice for implementing a filter for results. I would...

0 Likes 5 Replies
Solved

Twig and laravel - global variables?

Hi I am using this https://github.com/rcrowe/TwigBridge so I could work with twig in laravel 4. My q...

0 Likes 6 Replies
Solved

Categorized output

Hi folks, I've got a table called "customers" and a table called "projects". Eve...

0 Likes 2 Replies
Solved

POST & GET / Route Design

How should I manage my application with POST & GET After i POST do i RETURN View::Make or do i R...

0 Likes 1 Replies
Solved

authenticate from second database

I have a form with a 'name' textfield. When i press send laravel checks if the username exists. If s...

0 Likes 2 Replies
Solved

Defining macro in master and using it in multiple views

I have a macro inside a page. @extends('mobilemaster') @section('content') {{Form::macro('date...

0 Likes 2 Replies
Solved

Changing macro attributes with Form::method()

This is the macro i made. {{Form::macro('date', function() { return ' <input type="da...

0 Likes 4 Replies
Solved

Use existing database in Laravel 4

Hi! I have already created a mySQL database in phpmyAdmin, so I don't really want to use the the Sch...

0 Likes 2 Replies
Solved

Passing multiple arrays to a view

I'm trying to work with SimplePie to pull numerous RSS feeds (which is working well); however rather...

0 Likes 2 Replies
Solved

Use localhost:8000

Hi, I've just installed Laravel 4 on my PC and was looking at some tutorials. A lot of them open Lar...

0 Likes 3 Replies
Solved

Beanstalkd Queue - Delayed jobs not getting processed

I'm using Beanstalkd to power the queue for my app. For some jobs I'm using Queue::later(). Unfortun...

0 Likes 1 Replies
Solved

Laravel doesnt see controller via Ajax?

Hi guys, Im currently working on a laravel project and I'm really stuck.. Im calling a page via ajax...

0 Likes 8 Replies
Solved

Where/how often do you do an Auth check?

I have controllers that have public get, create, update, and delete methods that should only be done...

0 Likes 3 Replies
Solved

Thanks to our community

Solutions given in the past year.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.