How to write code in laracast?

I want to write code that cleanly. So nice views. How can I do that?...
20

how to keep the rating stars checked after refreshing ?

so i made 5 stars and an ajax call with raw javaScript that insert the data into database but i want the stars to stay checked after reloading the...
01

How can I select and pass the country name to my route in Bootstrap-formhelper

Need to pass the selected country to local on selection <div class="bfh-selectbox bfh-countries" data-country="US...
01

Laravel scope works in unit testing but not in production

Any reason why this code works on unit testing but not on production? public function scopeGetOpenConcertVenues($query, $concert_id)...
04

Laravel - 301 Moved Permanently (from disk cache)

When I navigate to the URL localhost/changecontrol, I expect the index.blade.php to be loaded, instead I get an empty...
15

Patterns for integrating vendors

Hi everyone, I need to synchronise my app with entries provided by external vendors every hour. The data comes in JSON and is quite differen...
01

Abandoned package

Hi Facing a bit of a problem here. I have this huge project using...
03

Trying to prevent Cross-Site Scripting

Hi, I have been developing a little blog based on...
08

Select box with first option empty

Hi, I'm using Laravel 5.5 and I don't know how to add empty option from the select. All the values are fetched from database. here is my con...
02

Odd behaviour with collections.reverseOrder?

import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class WordsInReverseOrder { public static void ma...
01

dropzone onclick to upload

i have this form , as the title says i want dropzone to submit the file + remark textarea when the user press submit , now i tried to put the te...
01

Update method throws error on id

I get this error "Call to a member function pareent() on integer" Cant seem to figure out the cause. but point to the line that has $stud...
05

Laravel 5.2 not escaping Where string on JoinClause

Hi, I am not sure if I'm doing something wrong, or if it's a bug, but when I try to pass a string to where clause inside a join clause, it doesn't...
02

my Admin login function not working ...!

namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Admin; use Illuminate\Support\Facades\Aut...
02

Cant assess js/css in my folder

here's my sample codes it will return...
06

Variables

Suppose I pass a variable name $variable to view.I need to show the data in one part as $variable->id=1 and in another place on the page as $var...
04

SOAP Client - Class not found

Hello experts, i got a problem using SOAP client in Laravel. I want to send salesorders/customers from an shop to an erp system. The Structu...
03

The code is NOT highlighted with parameters in component

Hello, In my laravel5.5/vuejs2.5 application I want to highlight some files and I have highlight.js installed with next in my package.json:...
00

I know this has a lot of code smell, please help refactor

A little background so to this, I have a Message model, it has a belongsTo relationship with Ministry, Preac...
06

android problem with retrofit

how to solve this issue JasonReader.setLenient(true)to accept the malformend JSON in line 1column 1path$...
00