jgnasser jgnasser
2

routing to a specific show

i have a page that holds all the shows with a route path: '/', name: 'all', component: all },``` i...
Vue
2
34
canadianlover canadianlover
4

Best way to sway clients away from using WordPress

I would like to start off by saying I do not consider myself to be a senior web developer. At the same time, I don't like using CMS software like WordPress or Joomla becaus...
RhugveDadesai98 RhugveDadesai98
1

Install Bootstrap in VueJS

Hi, I want to install Bootstrap in the vueJS. I have seen many tutorials those are talking about BootstrapVue to install but I want to install pure bootstrap...
Vue
1
9
carpad88 carpad88
4

Doubt with relationships with two models

Looking for someone who can give some advice. I have a author model, and each author can have many books, but at the same time can have many contracts, (I also have a book...
mehmetanbaki mehmetanbaki
2

Bootstrap Process

Hey Laravelers 4) Require Composer's autoloader Composer also prepares an autoload file that's capable of autoloading all the classes in any of the librarie...
Laravel
2
479
noblemfd noblemfd
12

Recursive Select option dropdownlist

I have this model class Staff extends Model { protected $fillable = [ 'staff_code', 'manager_id', 'first_name', 'la...
Laravel
12
67
Pain12 Pain12
10

Deny table acces in database

Hey guys. I have data in my Database like time and day. Now I want to use that data to deny access to a certain table on this day and time. My idea was to create a function...
Tips
10
77
DutchFiddle DutchFiddle
2

Advice: Handling viewing old form entries

I run in to this on projects from time to time and just wanted to see if anyone else has dealt with it and get some ideas. A user fills out a form, which is stored i...
Henni Henni
1

Auth Mail Error: swift_transportexception (554)

Hi people, if I run my project in Laravel 5.8.* from my local PC via MAMP Pro using the normal php artisan make:auth command and the corre...
Laravel
1
165
untymage untymage
6

Checking user subscriptions expire datetime

I want to check subscriptions expire datetime, Should i run a cronjob ? What would you use for this ? session, cache check in all routes?...
onujaar onujaar
1

Is this an SQL injection bug or am I using param binding wrong in raw query

DB::select('SELECT * FROM answers WHERE MATCH(search_terms) AGAINST( :term IN BOOLEAN MODE)', ['term' => $term]); It seems...
amrsubzero amrsubzero
1

Laravel get all products from parent category and all it's sub-categories

I'm trying to retrieve products from a category and all it's sub-categories. Here's my categories table : | id | parent_id | name...
krishna8723 krishna8723
2

API is giving response for POSTMAN but from browser i am getting 403

Hi, I am doing API stuffs and the api is returning response when i test from postman but when i implement that on code and test from browser then i am getting 403 error ple...
KingsleyO KingsleyO
0

Uploaded images works on localhost but broken on live server

I do not know why this happened. I first pushed my project to github and then git cloned it into my server(digital ocean). On my local machine i have uploaded over 350 imag...
wdebusschere wdebusschere
2

Sharing data between 2 laravel applications

I need some advice: I'm reprogramming some some existing old php applications with Laravel. These applications share some data through an API. Example:...
bugsysha bugsysha
0

Can you code on iPad Pro with Smart Keyboard Folio via Apple Sidecar

Has anyone tried coding via Apple Sidecar from their iPad Pro with Smart Keyboard Folio? Some setup like MacBook Pro + iPad Pro or Mac Mini + iPad Pro or any other combinat...
Tray2 Tray2
5

Thoughts about validation testing

I was thinking a bit about validation testing today and normaly I do something like this. I start with the happy path test. /** * @test */...
anonymouse703 anonymouse703
1

How to put the description under the image in Carousel?

Hello guys, I already have a working carousel, but my client want the description of the image under the picture which the carousel is in-front of the image.. What s...
AntLusher AntLusher
1

Vue.js working with nested objects

Me again! I'm having issues when working with nested objects (i.e the 'bounces:Object' in Vue.js. I have the following. Lara route (just for test): Rou...
Vue
1
25
swimmer swimmer
3

Returning array instead of echo

I am pretty new to Laravel I am using Laravel 5.8 I have a controller that gets information based on the “url” and I have a product page inside app that g...
jhine jhine
5

API Authentication

Hi, Using Laravel to create an API. The frontend makes requests to the API to obtain things such as product data, etc. and displays the data to the page (not an SPA...
farshadf farshadf
1

merge 2 collection into another with one same value in both laravel

hi i have 2 objects in laravel like below : { user_id: 34993, price: "20000.00" }, { user_id: 35153, price: "20000.00" }, { user_id: 3516...
jgnasser jgnasser
1

displaying images in vue

I want to display images on my vue template where i save the url to the database with the variable name cover_image to access it can i do something like :img src=&qu...
Vue
1
22
EliasSoares EliasSoares
5

How to catch QueryException?

I'm trying to do this: try { $model_class::destroy($id); } catch ( Illuminate\Database\QueryException $e) { var_dump($e->errorInfo); }...
General
5
2129
Mikegk Mikegk
2

Message System

Hi guys, I have already searched for it but everything I found was outdated (4 years and older): I there a good "message system" for fast implementation in...
Tips
2
30
Farshad Farshad
1

when laravel makeDirectory it create directory with root user and how change that?

On my server I have user web3 and in the group of client in my controller I create directory like below Storage::disk('products')->...
topvillas topvillas
1

Typescript, Vue and axios

This is a long shot but maybe somebody can help me out. So, I've created a vue app using the CLI, and added axios which creates a plug-in file to configure and attac...
Vue
1
23
nhayder nhayder
40

Axios ajax call not working working on chrome but working safari

i'm struggling with this issue since a couple of hours now, on my app i'm requesting data from DB using axios ajax function. this is the js function on my store.js s...
Laravel
40
179
oxbir oxbir
3

I changed update

Is this code correct for updating? public function update(Request $request, Product $product) { if($request->has('image')) { $image = $request...
stargatesg1 stargatesg1
9

laravel new generates errors

Getting the following error when I do the following. I have installed the latest composer and the latest laravel new as well. laravel new laraapp...
Neeraj1005 Neeraj1005
11

URL change \ to /

How can I set this backslash to forward slash "/" before books.jpg...
Laravel
11
107
AntLusher AntLusher
7

Composer being a knob!

Good day all, Is anyone been having issues with composer of late? Both install, update and so on makes the laptop go wild. -vvv shows composer is hanging at:...
General
7
197

remember_token for laravel api

I am building api and when I register user through frontend using jquery ajax, how do I generate remember_me token in frontend ? (I didn't run any scaffolding for auth)....
DalyMhy DalyMhy
12

Argument 1 passed to Illuminate\Database\Connection::prepareBindings() must be of the type array, null given

public function search(Request $request){ $search = $request->get('search'); $image = DB::select(produits.id,produits.name,categories.nam...
Laravel
12
50
luddinus luddinus
2

An easy way to achieve this in Vue?

Hi, I want to make some divs that have "Show more" content. Is there an easy way to make this without making a component? Something...
Vue
2
46
Create a New Discussion Button