Griehle Griehle
2

Get this where this exists

I am really thinking pivot tables are too much hassle. Here is another question. I have types, in a table of Genre that exist. I wanted to list all genres in all stores. ho...
integrasolid integrasolid
7

Eloquent conditional query on relationship table

Hi I need help on this one, lets say I'm building a USER LIST HTML table and need a search function Code in User Controller: public function index() {...
henryoladj henryoladj
21

Unique Slug Duplicate Entry

On my website i have a slug which is unique, but once users try to post same news it shows this error Integrity constraint violation: 1062 Duplicate entry....
Laravel
21
225
bionary bionary
7

Making Sense of Password Reset

I'm working with my laravel 5.7. I'm baffled by the login/auth/password logic. I'm trying to follow the route of the code and can't make any sense of it. For instan...
Laravel
7
123
henryoladj henryoladj
4

Email verfication not working

I added this to my web.php Auth::routes(['verify' => true]); then this class User extends Authenticatable implements MustVerifyEmai...
mooseh mooseh
1

escaping validation decimal point?

hey everyone I have a funky one here, i really need help with this validation as it's a tricky one I have a post request with the following data...
chrisgrim chrisgrim
26

Protected Fillable Not working with Vue Axios Patch

Hi, I am building a form input and everything is working great. However I wanted to test to make sure my protected fillable was still working and I discovered I could post...
Laravel
26
190
marcellopato marcellopato
5

How to run through a collection?

I have this: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quo...
bekaskaki bekaskaki
5

Logic checkin method

I built a hotel booking system but i have a problem with the checkin method if I do checkin and checkout, for example: check in date: 2019-09-17 00:22:00 che...
InaniELHoussain InaniELHoussain
10

Unexpected token : when using component in vue

I'm using Laravel with Vue js, but when I try to use Vue.compenent I get the Uncaught SyntaxError: Unexpected token : Vue.component('tasks', function(){ template: '#...
Vue
10
73
hjortur17 hjortur17
12

Vue v-for

Hi, is it possible to only get one instance from Array? For example I have an array that looks like this: [ 0: {id: 1, carMake: "Fólksbíll",...
Vue
12
126
hjortur17 hjortur17
6

How to add services to booking in database

I'm not sure what Eloquent connect I should use. Should I put on Booking hasMany()? I like to have it like this: The user can not add a service, he can click c...
hjortur17 hjortur17
10

Does Laravel Session has a unique key?

Does a session have a unique key? And if so,​ how do I access it?...
General
10
24
hjortur17 hjortur17
1

V-Calendar

Hi, I'm having trouble getting v-calendar to work on an iPhone, it works on Samsung and iPad but not an iPhone. Any ideas on how to fix that? If I launch responsive mode in...
hjortur17 hjortur17
6

Laravel blade doesn't render all from foreach

Hi, I have a Booking and Service table and a pivot table to connect them. I'm trying to get the services for these bookings but it always renders the else statement:...
hjortur17 hjortur17
3

Problem with session

I have a website that's stores a booking in the session and then the customer is redirect to another site to pay. And when the customer has finish paying I will match the s...
hjortur17 hjortur17
22

Remove HTML from JSON object

I can't figure out how to remove HTML tags from JSON object. I'm getting data from a api but in the api there is some html tags. I have tried to json_decode an...
General
22
72
hjortur17 hjortur17
10

How to use Laravel Session?

Hi, I'm building a booking system in Vue, and I have a web payment on a other site. What I need to do is store my data in the session while the customer goes over to the ot...
General
10
38
hjortur17 hjortur17
16

Mail not sending emails with the same domain

Hi, my domain is parkandfly.is and I'm trying to send email to [email protected] when a booking is created. But for some reason I'm not receiving those emails, I tried...
General
16
68
kixapol kixapol
2

how to start a new discussion here in laracast with picture?

how to start a new discussion here in laracast with picture? Thank you. -newbie...
mariusp mariusp
7

RESTful API series

Hello! Are you going to do some lessons/series on RESTful API from scratch to expert? Thanks!...
dmitry.malys dmitry.malys
4

& a m p; replace or decode in Laravel 5.4

it is a newbie question. But i spend 3 hours to solve it with 0 result. i want to convert this link:...
AlexBisoft AlexBisoft
38

Post request in Laravel 5.7 --- Error - 419 Sorry, your session has expired.

I installed Laravel 5.7 Added a form to the file \resources\views\welcome.blade.php <form method="POST" action="/foo&quo...
Laravel
38
1167
joveice joveice
6

Egulias\EmailValidator\EmailValidator does not exist

I'm experiencing this error at my QA server, I do not get this on my development PC. My project is a Laravel 5.8 app upgraded to Laravel 6. I did get this also...
spacedog4 spacedog4
3

Overwrite magic _get method for a custom Request class

I have a custom request class PersonRequest where I use for an exporting project where I manipulate the original request and create new ones, I need to overwri...
Omda Omda
11

How can i get id of created row when testing

i am working with phpunit when i created new record using endpoint, i cant get id of my new record /** @test */ public function authenticated_user_should...
Testing
11
107
StackBoot StackBoot
4

Custom guard in laravel

I have the following problem: I need to authenticate a user in my app through an external api so the user credentials are going to be checked in another api before authenti...
P-Torres P-Torres
2

Laravel 6 new error page. project-one.local - OK, localhost:3000 - Not working

Having on webpack.mix.js mix.browserSync({ proxy: 'project-one.local' }); Visiting: project-one.local the error page shows up with no issues....
engrlaravel engrlaravel
7

Stop users access your pages directly from url

I am using laravel package laravel-permission. I have put checks on menu for different roles & permissions. BUT now users can access directly from url. Wh...
Laravel
7
135
nikocraft nikocraft
4

Is naming columns with reserved words problematic?

For example, in pure PHP this guy has a problem because he has a column named key...
mostafalaravel mostafalaravel
4

how to convert date to datetime ?

Hello, How to convert date in DD/MM/YYYY to datetime format (to insert in DB) Thanks...
miguelbgouveia miguelbgouveia
13

Can't run phpunit tests from command line.

I am trying to run unit tests in a new laravel 5 application, using the phpunit framework. In the root path of my laravel application I ru the following command:...
Testing
13
251
Rhynel Rhynel
3

Array and Object how to solve this? Any help?

return ([ "First Data", "Second Data" ]); It works fine But when I use this $Orders->Status = ["First Data", "Se...
BikashKatwal BikashKatwal
9

How to use php artisan in vagrant/Homestead

I am using Homestead and I want php artisan command to execute but I don't know how to make it work in homestead/vagrant. In my case php artisan commands doesn...
Create a New Discussion Button