Laravel and E-Commerce

I'm wondering if there's any E-Commerce solutions based on Laravel, or if things like Magento and WooCommerce are the way to go? I have a medium-large project comin...
General
30
1064

check API link

hi all i have an API url that cant be reached right now This site can’t be reached so i want to check in laravel if the site bot work retu...

how to pass the csrf_token to my view using ajax jquery

the ajax function works but when i append i don't know how to pass the csrf_token to the jquery append function $('#post_create').on('click', function(e){...

php artisan serve

Hello, I would like to know why after typing php artisan serve the web browser is not popping up? C:\xampp\htdocs\website_ids2>php artisan serve Laravel de...

Iterate over multi-dimensional array to find duplicates?

I have a multi-dimensional array that i want to loop through and find any key/value duplicates. If there is a duplicate i want to add the quantities together and then remov...

homestead Difference between master branch and the latest tag

Hi I am a beginner of homestead just wondering what's the difference between master branch and the latest tag? are they the same? which means at the moment git...

Plot line graph

I have an array that looks like: 0 => array:2 [▼ "date" => "2018-06-08" "number" => 24 ] 1 => array:...

Get cumulative users by week

Hi, I'm having trouble getting my head around writing something in Laravel to produce cumulative user numbers. like... Week 1 : 10 users Week 2 : 8 us...

Custom User Registration Process - How to Trigger Email Verification in Controller

Although I use default user authorization system that comes with laravel, my app does not allow default user registration process. (well it does but in a different way)....

Issue sending markdown mail

Hi everybody, so I have a function where I send mails to multiple recipents, the mails are being sent all right but when I check the mail in my inbox markdown doesn't appea...

Indirect modification of overloaded property ... has no effect

Howdy! I'm having trouble with some appended attributes on a model. I get the following error: Indirect modification of overloaded property App\ModelN...

(solved) Import classes automatically with Sublime Text 3

Hello, I wanted to know if there is any plugin or configuration to automatically import the classes in Sublime Text working with laravel. In PHP Storm when a class is not i...

ReflectionException Class App\Http\Controllers\Admin\AdminController does not exist

I am using laravel 5. My AdminController looks like that: <?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; class AdminCon...
General
6
3529

how to access the username if i have the post using eloquent

i am using post->user->name but it throws this error and the post contains the user id Trying to get property 'name' of non-object (View: D:\courses\we...

MySQL Database calculate total sum

I've a database table which contains several of items. Each item has a quantity and a column of cost. Now i want to get all items which are related to the unique...

i get error 500 when trying to post a long post

it posts normally when the body is short and i don't know if there's a limit to how many (char) i could use or string size the route <?php /* |----------...

Giving Demo [Duration Based] Access to Users

This may be the wrong location for this question but here it goes, I have a process; Demo Viewing gets requested, Admin sees the request, and c...

Problems with uuid in format CHAR

If a colum in char format for UUID car(36) If return model this show correct string dd($this->sage_contact); #attributes: arr...

Move object property from database result

With my database query i am getting my result like this object: .... "invoice": [ { "id": 11, "c...

Error in Laravel ver 5.7

Unable to pass the parameter to laravel middleware group. getting error Class doesn't exists but working with default or without default parameter. web.php Ro...
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