rully rully
1

laravel hierarchy

this is the JSON { "status": 200, "data": { "id": 5, "salescode": "sales1",...
RobertRex RobertRex
8

Searching for parallax scrolling

Hi folks! I am a Junior web designer & just want to know what kind of parallax scrolling is on this website...
General
8
576
oxbir oxbir
3

How to return name of grade when save like json?

I have two tables, users and grades. users table public function up() { Schema::create('users', function (Blueprint $table) { $table->b...
orest orest
4

append attribute to pagination

I'm trying to append an attribute to paginated data during runtime. More specifically, i have a Reply model and i want to append the following attri...
msslgomez msslgomez
0

Element-ui set menu items as active

I'm using Element-ui's NavMenu and I want to set the default active for each page, the menu itself in in a shared layout component and the actual page is another component...
Vue
0
4
Hekmatyar Hekmatyar
4

Why my link isn't work? routes category/post

https://pastebin.com/9U8JXUTk <- routes...
zaster zaster
3

Unable to Delete a record

I am unable to delete a record. Tried troubleshooting and the destroy function returns NULL dd($billItem->id); it gives...
samar92 samar92
1

auth:sanctum

i created spa vue with backend laravel sanctum but axios response return 204 error i think the problem in middelware auth, i changed it from auth:api to auth:sanctum as men...
Vue
1
23
msslgomez msslgomez
3

Keep user roles' pages/ routes separate

I'm using user roles to separate a regular user and an administrator and I would like to know whats the best way to make sure the regular user doesn't have access to the ad...
BrownieCoffee BrownieCoffee
3

Field 'project_id' doesn't have a default value | pass variable to my custom Trait

Hi there, I use a trait to have possibility to call the desired function in controller methods instead of do repetitive code. I created to trait one for proje...
Gurinder121 Gurinder121
4

Attempting to connect to database

I'm putting this code into Sublime Text index.php...
pgferro pgferro
7

loop on a hasmany relationship

Hi Guys, little help needed here. I have a hasmany relationship public function(recipes){ $this->hasMany(Recipe::class); } Now when I qu...
jinxkitt jinxkitt
7

Laravel-Websockets and WebRTC RTCPeerConnection

I am building an app to broadcast a live video to be watch by multiple users. I am trying to use this technology WebRTC and laravel websockets. None of the senior laravel p...
Laravel
7
1415

laravel passport resulted in a `400 Bad Request`

I'm testing passport (Password Grant Token). This command works properly.(on HomeStead, terminal) curl -X POST -H 'Content-Type: application/json' -d '{"...
ORobertson ORobertson
1

how to use the toggle method for a HasMany relationship

I am trying to set up a system in which you can "like" a tweet (Tweety project Laravel course) Therefor I would like to use a toggle method to like and unlike a t...
ChristophAust ChristophAust
2

Random scheduling time

Hi folks, I need some input since I am stuck here. What I want to achieve is a tool, where I can schedule jobs. But not like "execute job on 11:00" but &qu...
JeroenvanRensen JeroenvanRensen
12

JavaScript - Reading JSON from text file

Hi everyone, I'm learning JS and I found a free Google API: google.com/complete/search?client=firefox&q=laravel If I visit this U...
randm randm
3

What validation rule so I use to validate the length of a string?

I need to add a validation rule that restrict a string to be between 3 and 255 characters in length. This is a string not just a number. I tried to use...
Laravel
3
9149
niyo niyo
31

symlink() has been disabled for security reasons

am on a using shared hosting and i can't access my files or uploaded pictures so i used symlink to create my storage folder for my files but its not creating the storage fo...
Laravel
31
348
MuhammadMaaz MuhammadMaaz
4

my resp is not coming from controller.

i'm trying to check whether current password is correct or not using ajax.i'm checking it through response.but response is not coming.here is my js code. $(...
Aqeel94321 Aqeel94321
4

I want to check my database table data changed or not? have any method in Laravel?

I have requirement from my client, Get request only get data when data changed/ updated in database table. after this, using this request data create read or write Json fi...

Permissions User based om many to many with Company and Courses

I am trying to figure out the best way to handle roles and permissions when i want to be able to create permissions based on the Companies and Courses a user is member to....
JeroenvanRensen JeroenvanRensen
4

Custom redirect after login, based on user role

Hi everyone, I've got the following problem: When users sign in, I want to redirect them to a custom page, according to their role_id in the users...
brakkar brakkar
47

old values not displaying

Hello, I have this code in a blade template: Email:<br> <input type="email" name="email" value="{{ old('email') }}">...
Laravel
47
5502
noblemfd noblemfd
1

How to join two queries as one in whereIn

In my Laravel-5.8 I have these queries: $manager = DB::table('hr_employees') ->select('line_manager_id') ->...
VladanChipsy VladanChipsy
0

Laravel JWT Auth

Does anyone know how to use JWT Auth in Laravel, I want to add the pages register.blade.php and login.blade.php pages but I don't know how to do that. I used Postman but no...
GTHell GTHell
2

Why AWS over Digitalocean?

What is the benefit of AWS? Bandwidth is cheaper, server is cheaper and storage is cheaper on DO....
mustafaabdujalil mustafaabdujalil
4

Swagger with Laravel

How can i use Swagger with laravel ?!! any tutorial or article ? Thanks...
Laravel
4
3626
hjortur17 hjortur17
0

Check if value from array1 is in array2

Hi, I have been trying to find a good solution to look trough two array's and see if the same id is in both of them. So array1 is all the services we offer, array2 is all s...
Vue
0
13
oxbir oxbir
4

strtoupper() expects parameter 1 to be string, array given

I installed dompdf and I try output pdf but I see this error. strtoupper() expects parameter 1 to be string, array given Controller...
mohammednehru mohammednehru
2

Checkbox default

Hi, I'm trying to store status using a checkbox but when form submitted always the default value saved = 0 and when unchecked it does not store the data. Sch...
noman_sheikh noman_sheikh
1

New Route Isn't working

when I add a new route and try to access it from the browser it's showing 404 not found. but when I run "php artisan optimize" then it works. I checked with other...
ehabafia ehabafia
5

PHP Storm

Hi Jef, I know that you have a series of how to use PHP Storm, but it's extremely old. Can we have a new or updated series on the new PHP Storm with its all-new fea...
Requests
5
1156
Hamad_essa Hamad_essa
3

Laravel Create Products Orders for each Shop in Api

I'm building a JSON Restful API for the eCommerce app I have the following tables Orders: Schema::create('orders', function (Blueprint $table)...
apinto apinto
1

Is there a Package/boilerplate for a multiple API connector?

The goal is to do something like Zapier but without a GUI for internal use. It's not required to have existing connections, we will develop the required integrations...
Create a New Discussion Button