Creating new record with related model.

Same project, new challenge. So I have a base template that can be edited. The template has a table and a model. I then have attributes. The...
10

Trying to get property of non-object

I want to try to display the contents of the record field size in the cart table, but I have the following error: "Trying to get proper...
06

Fetch associated data in threaded mode

I'm new to eloquent and after about 2 years I'm going to code PHP (or any type of code!) again. I did search but can't find any useful. So i need t...
01

how can create jquery or javascript form in Laravel 5.2

I need a create form with data input box, html editor and some options values selection in My laravel app. I need first show only input box in the...
01

Bind posted data to a model in Laravel 5.4

So in Laravel 5.4 Route Model Binding, we can bind a route to a model like: define the route in web.php: web.php:...
09

Passport: Authentication Required! Help please!

Hi All, I'm trying to setup an oauth server like in this lesson...
04

Limiting "{!! $text !!}"

I'm a noob, but a paranoid one. I'm planning to use the TinyMCE editor, but I'm not sure about just blasting all the html to the page. Can I contro...
03

Laravel query parameters or pretty parameters for api

Hi awesome people i'm willing to know which is the best practice to use parameters for developing an api //url...
01

Using Laravel with DAO instead of Eloquent ORM

Hello, Sorry for cross posting. I posted the question on one other website but did not receive answers. We have a complicated ERP sof...
03

Repository pattern using Laravel 5.4

Can anyone help me to figure out how to use repository pattern in laravel 5.4? I would appreciate if anyone could help me with some links of blogs...
03

How to run the cloned laravel project from github to windows xampp?

We can lots of laravel projects on git hub but how to make them run on our windows desktop? I have tried the tips from stack overflow as well but c...
04

Laravel number validation with floating values

pls tell me the validation number with floating values. for example, 100.50 like that...
02

Laravel and Laradock Development Application Workflow - from local development to updating live app!

Hello Everyone, I am getting my feet wet with Laradock as local development environment. I am a window user so cannot use Valet and Homestead works...
02

Delete all records except latest 1000

I wish to limit the number of records in a table of my database to a 1000. (keeping the newest 1000). I'm sorry I don't have any code to show, I re...
05

Sessions not working properly

Hi! I can seem to get my sessions to store properly. I am on 5.4 and using them within the 'web' middleware on my routes. Basically w...
06

Function to allow users to edit their own user info.

I want to implement a function that enable users to edit their own user info. Is there any libraries for installing such a functionality?...
03

VueRouter, VueJS, and Laravel route guard

I wanted to hide a particular page of my application behind a layer of security (a simple passcode form that will send a request to the server for...
00

eager loading with join on other tables

how can i change this code to beautiful code like "with()" syntax with hasMany or hasOne or ... relation? $userWithBooks =...
02

Image blob Malformed UTF-8 characters, possibly incorrectly encoded

I am trying to retrieve an image saved as a blob but I keep getting this error "Malformed UTF-8 characters, possibly incorrectly encoded"...
06