Does Eloquent use indexes?

So, this may seem like a rather silly question. But I'm a bit new to "advanced" database concepts. I've read that, with MySQL/Mari...
04

how to convert a array of data to strings.

**Controller public function invited(Request $request) { $jobids = $request->input('jobidss'); $empsids = $request-...
01

Auto FTP deployment via PhpStorm

Hi guys, i have a problem, i am deploying app to the server automatically, when i save .scss file gulp transpile it and base.css is not upl...
00

Update Mutiple rows using a single Form

I am trying to update multiple records of a table with a single form, but what updates is the last row and not all the rows. Please what am I missi...
03

Nested Laravel Applications

I'm trying to build a personal application that allows me to host other projects within my site. I want to basically host other files in a director...
01

Making a cross platform App

Hi guys, Let's say we want to build a cross-platform App (e.g To-Do list). What is the best way to make it available for all major platforms...
05

Traslatable pivot table

Hi everyone, I have an issue with this package dimsav/laravel-translatable i need to translate an attribute in to the pivot table som...
00

AngularJS 1 or 2 for the Frontend with Laravel 5.4 on Backend?

Hi everyone, I am new here and i am recently developing with Laravel my new web app. So my planning is to develop the back-end with Laravel 5.4 and...
02

how do I select random user_id in ModelFactory.php?

I have the following code: $factory->define(App\Reply::class, function (Faker\Generator $faker) { return [ 'thread_id' => 1, 'user_id'...
05

Specifying morphTo target id

Is there a way to specify target on morphTo method? I'll give an example which is in documentation for laravel: Post - Id, text,... V...
01

How to filter/select on intermediate (pivot) table columns in Laravel (5.4)?

How do I create a column just in a pivot (intermediate) table in Laravel (5.4) and then filter results on it? I have two models, Films and C...
05

Advantage of using Vuex over a simple store?

I am quite new to Vue.js and just came across Vuex. From the official documentation of Vuex it says: It serves as a centralized...
01

Homestead Laravel 5.4 db:seed segmentation fault.

Hello, I have the latest vagrant box (2.1.0) am running laravel 5.4 project. For the first time ever, I have received a segmentation fault (core d...
02

Authenticating with external API using JWT?

Hi, I'm building an Laravel 5.1 application to be the front-end to an external API written in Go. I POST a user/pass to the API which then responds...
12

laravel 5.3 php artisan optimze strange error

after i upgrade 5.3 my site won't work if i run php artisan optimze, which generates the bootstrap/cache/compiled.php. my site goes blank an no err...
01

Laravel/Socialite

Hi everyone. I have a problem with the app i am creating. I am working on a project with laravel 5.4 and socialite and everything works great on an...
00

Laravel Dusk with Session Data

I have some middleware that checks certain things for the user. If the user is logged in normally, this stuff is loaded into the session. Logging t...
03

exif-js not working

I don't get this, I installed the library through npm, the library is in package.json. I ran composer update and I'm still getting Uncaught R...
00

compare timestamp in database

I have an attribute in database with type "datetime " format ('Y-m-d H:i:s') I want to get all raws from db between specific interval be...
01

Laravel - append a trailing slash in every routes

i want to open every url end with slash, another url not open show error page something went wrong.. Route::get('/thank-you/', ['as' => '...
05