Elixir Copy/Publish fonts

Hey, I have my Font Awesome fonts located in app/assets/bower_components/fontawesome/fonts/, and I'd like to get these into public/build/fonts...
Mix
6
223

How to benchmark Memcached vs Redis in the context of Laravel

I've seen things like this for help on benchmarking the various caching/session tools that exist. However those are for benc...

Best way to override AuthenticatesUsers trait

I need to localize my authentication urls. In AuthenticatesUsers trait there are getLogin, postLogin methods. I need to change...
Laravel
4
132

DomXPath / DOMDocument search document for keywords and put out

Hi guys - i am writing a little function to search an html file. Currently the function searches for the keyword "effizienzklasse" but the function should...

Anyone Using Atlantic.net Hosting Provider?

Has anyone tried to host their Laravel projects on http://atlantic.net? Curious how it compares to DigitalOcean and how w...
Forge
0
29

Vue.js nested objects

I have a Vue object applied to my page body like: new Vue({ el: '#body', data: { ... }, methods: { ... } });...
Vue
0
135

Will Laravel 5's Container work in PHP 5.3?

I am modernizing a legacy application that very desperately needs a container, and one with the ability to do contextual binding. Only the L5 version of the IoC can do cont...

composer timeout

when i try to install laravel via composer and ssh i get a timout everytime on the same file [Composer\Downloader\TransportException] The "...
Laravel
2
120

Incrementing a value in a linked table

Hi, I want to basically increment a statistic (in a row in a statistics table that is eloquently associated with a campaign by a hasOne relationship), but I am sort...

Custom 404 page with Forge

Hello, i created new virtualhost with Forge but i do not want to use it with Laravel. Just html with jekyll. I try to edit the config file, and set it to...
Forge
1
53

Moving laravel to production - is it possible?

I'm having a lot of trouble getting my Laravel 5 development project onto a different server (Ubuntu LTS). I've tried moving the files with git, FTP, and even a thumb drive...
Laravel
8
247

get id

hi i use Form:select and show in this all category and i want to when select any category , insert to table post category name and category id but what i do? i can i...
Laravel
18
224

Form Request, After Validation Hook and the Wolf

Hi guys, In a nutshell, once upon a time, I had a form, many inputs AND 3 little inputs... day month year I used a FormR...
General
1
127

Permission stange bug when use storage folder with soft link

When I use Envoyer sometime after I deploied new version, I'll got Permission denied caused by save log. Then I changed to use...
Envoyer
6
132

Change environment variable

Hello, I'm building an Administration board and I'm asking if there's a way to change environment variable outside the file .env ; I have an I idea but will be a lot compli...
Laravel
1
108

Call to undefined method Illuminate\Database\Eloquent\Collection::whereIn()

Hi , I have two models , A Quarter Model and a Goals Model . A quarter model is defined as such <?php namespace App; use Auth; use App\User; use I...
Laravel
2
193

Access Eager Loaded

How can I access eager loaded object in another relation. Here is an example and what I want to achieve. $user = USER::with(['brandUser', 'shopUser' => fu...

Best way to implement a two-step authentication

I am new to Laravel. I have watched the entire Laravel 5 From Scratch, and am currently in the mid of the Laravel 5 Fundamentals series. I am worki...

set location of node_modules folder with .npmrc

I can't seem to find a concrete answer anywhere, so I'm wondering if any of you might know. I'd like my node_modules to be inside my public...

groupBy + sum

I have Ticket model. I need to retrieve the sum of all Ticket prices groupBy currency. I am not sure if I can make it with Eloquent. Thanks!...
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels