Basic supply and demand algorithm in php

Hi , how can I create a basic supply and demand algorithm. For example a price of an apple is 1$ there are 4 buyers and 8 sellers , should the pric...
02

how to link bootstrap to My blade file in laravel npm install?

I am working with laravel 5.6 and install bootstrap with npm. this is My blade file, <!doctype html> <html lang="{{ a...
01

Eloquent order users by latest post written.

Hi i want to show all my users in a index page but the ordering to be based on latest post written here s my relationship to my app. User mo...
01

Update Check box

How to update checkbox in controller...
10

Property [citirs] does not exist on this collection instance.

web.php $this->resource('inspection-register', 'InspectionRegisterController'); InspectionRegisterController.php...
11

Provider aws cognito class not found

Hi, I'm new to Laracast. I will be grateful if you can help mine. Hi, I have one question, I updated laravel 5.2 to 5.6, and now I install t...
00

What is the right way to use ffmpeg in PHP?

I am new to ffmpeg . I was thinking of using the php-ffmpeg. However I have found out tha...
02

Best practice for `with()` method

Hi, I would like to know if there are ramifications of optimal joins in terms of joining via the view or when fetching the model itself. So...
01

What path of the file do I put when using ffmpeg in laravel inside the shell_exec command?

I am using ffmpeg in larvae for transcoding . I use the following code $output = shell_exec('ffmpeg -i...
00

Gulp deployment process gets killed after about 6 minutes

I'm running Gulp as a deployment hook with Envoyer. The compiling seems to be working properly, but the process itself gets killed after about 6 mi...
01
02

What is the best way to build form in Laravel 5.4?

I couldn't find documentation about building form with Laravel methods in 5.4. I found method: {!! Form::open(['url' => url('admi...
10

has not working in relationship query

My eloquent is as below return $codelists=Codelist::select('id','code','category')->with(['dsedatalast'=>function($query)use($...
06

How to properly solve this "Invalid argument supplied for foreach()"?

I have a form to send notifications to users that did a registration in a conference. To send the notification the user need to select if h...
05

Multiple pivot table or one pivot table with multiple columns?

What is better when designing a many-to-many relation? For instance, I have a table users has relationship with projects table and the column that...
03

Vue components stop working after upgrading Laravel project to Bootstrap 4

Hi, First time posting for help on laracasts but this problem is driving me insane and I'm hoping somebody can tell me what I've missed....
00

Should i resume Php? if yes then from where?

Hi, This may be a bit long thread to read but i really appreciate if you read it and help me. I was junior Php developer in an organization 2 years...
01

dynamic table

Hello, i build a little data-table to output different data with one vue-component. the problem is, the object keys are not the same for eac...
07

Security Issue No1 Suggestion: Masking by default the information that resides in .env file!

I've been working on a project and saw that when a certain exception ocured the error displayed all the information inside .env file. That's...
48