Abraham/TwitteroAuth Laravel Wrapper [Update: New Library In Thread]

Curious...does anyone has a custom package I can steal? Not really keen on writing one (if I don't need too). I like this package, mainly because of the GET/POST methods to...

json from blade to javascript

I am trying to simply pass a json object that a blade view has received from a controller, to handle it with vue.js with {{$allUsersGrid}} , I can output...

Chech if user is Admin

I try to make an simple query to see is auth user have admin privilegies so I write: public function index() { $articles = Auth::user()->where(...

Fetching a collection of latest versions

Howdy, So I have a table with a bunch of records in, lets assume they are blog posts. Each record also has a revision_id that is a simple integer....

Select from in (Select)

Hello. I am quite new on eloquent/laravel and I've been trying to do this for ages and only made it work with workaround. Let's make an example: I have User,Organiza...

How to reomve quotes from array into WhereIn clause

I am passing array from ajax to whereIn clause but it taking quotes while executing query like this select * from dummy_expense where dummy_expense.listId IN('1,2,3')...

NotFoundHttpException in RouteCollection.php

Hi, I'm working together on a project with two other developpers. Loading the homepage works fine. After I click on the login button I'm getting this error messsage....

Laravel Auth::user question

From the mannual: Once a user is authenticated, you may access the User model / record: $email = Auth::user()->email; This means that if i use in my navbar {{ Aut...

Redis problem while using as Event broadcasting & Queuing driver

Hi Guys, I'm experiencing issue with redis when I use redis for both event and the queue driver. Is there any tweak or trick to fix it....

Homestead problem! Beanstalkd and MySql

Hey folks, I recently faced a problem with Homestead that after days and hours could not find a solution! First, when I change my queue driver to Beanstalk, a...

Moving file with $file->move

Hi, I'm moving the uploaded file with $file->move, but I would like to get the new filename returned, and although the method does return a file object it doesn't...

Elixir babel not compiling ES6

Hello, Gulp/elixir is having trouble compiling ES6. I wonder what am I doing wrong? events.js:85 throw er; // Unhandled 'error' event...
Mix
3
73

How to dynamically expand database

Hi, all, I have a Laravel app set up. I would like to build a page like this: 1.There will be a drop-down list with all tables in the database. 2.Once...

Doubts about laravel

I just finished my project in laravel but would like to improve it. Since there are always things to improve. I've been doing a backend and use bastanta Modal model bootstr...

Same condition with two table

Hi all, I have 2 model, COUNTRIES and PROVINCES, in standard SQL usually: select * from countries, provinces where countries.name =...

v-repeat over 2 dimensional array

I'm using Spark and it's built on Vue.js 0.12 ... Thus using v-repeat to traverse a list (as opposed to v-for, although I'd have the same question wtih v-for). I've...
Vue
0
54

Deploy Laravel 5 to blocked DocumentRoot with only two folders: private and public

Alright, sorry if the title was confusing... Here is a more clear explanation: I need to deploy a Laravel 5 project but I don't have write access to the...

Joining tables

Hi all, I am new to Eloquent, so bare with me please. Let's say I have 2 tables: users, providers (so in normal php without a framework I would simply join th...

Laravel Artisan::call() output data

Hello laracast! Today i faced a strange problem, take a look: I wanted to create a controller using the artisan command in code, and i wanted to get the output result to sh...
Laravel
5
267

Class 'Illuminate\View\HtmlServiceProvider' not found

I'm trying to use Html and Form facade but without any luck. This is the error I get: FatalErrorException in ProviderRepository.php line 146: Class 'Illuminate\View\...
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