stargatesg1 stargatesg1
5

Cors in Lumen 5.8

I followed this tutorial but I an still getting CORS issues. Here is a link to the tutorial...
Lumen
5
1391
aem99 aem99
5

CORS issue

Hi, Now I have a Laravel application with a nova dashboard. Inside the nova dashboard I want to make an AJAX request to a google api. I whitelisted localhost:8000 in...
Laravel
5
136
Denason Denason
0

CURL not working in localhost :(

i have an api sms service codes that send Verification codes . my codes work good in my host but the codes return false in localhost my support service say th...
munazzil munazzil
3

Laravel 6.0 How to overcome Authentication Blade Issue?

I was Used "composer require laravel/ui" Command and now i won't be able to see anything from project only html codes are there? What To Do For Get Bootstrap or C...
MartinZeltin MartinZeltin
1

Column not found in 'group statement' when using pagination

It looks like when Laravel generates the necessary data for pagination, it overrides the SELECT part of my statement. That means I lose all my selects and aliases and it ca...
mehmetanbaki mehmetanbaki
4

xlsx

Hey Laravelers Is there any body tell me what is the str_getcsv for xlsx please...
Cridiba99 Cridiba99
6

Error in Datetime - SQL Server and Laravel

I've spent hours now trying to fix an issue with Laravel and MS SQL SERVER. It all started with the problem that as I tried to save my data to DB and got the error message:...
krie9er krie9er
7

Configure Oracle database in Laravel

Hey i'm not sure if im right in the forum, but i have a short Question i want to use the oci-pdo driver, so could i just extend the config/database.php?...
Laravel
7
4060
NithApple NithApple
22

Multiple Database but the Same Model in Laravel

i have created tree of database 'db1,db2,db3' all db is have the same table is users , in users table has field id and field name i want to create dynamic database whene...
Laravel
22
130
OrangeJuiceJones OrangeJuiceJones
0

Creating a back-end and front-end

Hi, i'm new to Laravel and coding where api's are involved, previously i created single code applications and not had any form of separation. I want to create an auc...
SamuriHost SamuriHost
2

Site Root For One Site Being Redirected To A Different Site Only On SSL

I have a single AWS server provisioned with Forge for hosting several websites operating across 2 separate domain names. All sites are running Laravel, and use SSL handled...
Forge
2
21
armancs armancs
2

Suddenly i am not able to run any artisan command on my laravel project

Firstly i tried this command php artisan tinker getting this error Could not open input file: artisan after trying to restart server with ph...
jesse_orange_newable jesse_orange_newable
10

Creating a simple activity logger

In my application I need to be able to log a user activity in a table, so these can be viewed later. Starting off, I made a migration: <?php use...
Laravel
10
132
mohammed_omer mohammed_omer
2

Dropdown menu shows up until the page fully loaded

I am facing this problem when using a Vue component for the dropdown menu , when I request any page of the app the dropdown from the navbar shows up for about 1 sec until t...
Vue
2
45
LaravelFan2019 LaravelFan2019
1

Permission Denied after refactor.. Help!

First of all setup is thus: New Laravel App with Auth. Editor: PHP Storm 2019.3 Web Server Software: Laragon I have installed many laravel apps but this is a...
GeorgesLemy GeorgesLemy
4

copy() function

Hello I'm trying to copy a file and I have that issue : syntax error, unexpected 'copy' (T_STRING) Can someone explain it to me ? ;) My code for test the copy() func...
naveedali naveedali
8

How to avoid duplication of code

Hi, I want to develop following apps: A Web App (Backend - Laravel, Front-end - React / Vue) A Mobile App (on react native) - using Lumen...
Laravel
8
105

File storage in local and public storage at the same time.

In my project i have two kind of files first one is user avatar, and the next one is user uploaded files. (image,pdf). As you can imagine, first one should be publicly avai...
MiguelStevens MiguelStevens
0

Nova not firing events when attaching many-to-many resources

I have two models that can be attached to each other in my Nova resources, however when I do so I don't see any actions being fired, for example an update action on one of...
Nova
0
7
seanworks seanworks
2

Route Question Hierarchy

I'm trying to wrap my head around models and routes. I've got an app I am building where there are Tests and each Test has many Questions... I created the Test and Question...
123ali 123ali
0

Spell checker in laravel

How to use PHP spell checker in laravel...
lavina lavina
3

Nesting selects

Hello, I am trying to make a select that returns an array inside of it: "products": [ { "id": 1, "c...
mrkarma4ya mrkarma4ya
2

AJAX for Laravel

I'm planning to learn Vue JS, but I thought it'd be better if I learnt some basics first, like AJAX, jQuery, etc. What's the best way to learn AJAX for Laravel? The...
RafaelMunoznl RafaelMunoznl
6

When routes collide

My app had the following routes Route::resource('/', 'HomeController');...
mrkarma4ya mrkarma4ya
1

Is there a way to enable a 'simple' error debug?

Currently, you have APP_DEBUG in .env file, which can be set to true or false, I believe. Now, Laravel's debug is...
rassem rassem
2

laravel-mpdf totally freezing the port if i include image

I'm trying to implement https://github.com/mccarlosen/laravel-mpdf to gen...
PetroGromovo PetroGromovo
1

Can I make with spatie/laravel-permission limit access in constructor for all actions?

Hello, In Laravel 6 I use spatie/laravel-permission and it works if I make checks in control's action like : $loggedUser = Auth::guard('api')-&g...
PhoeniX5 PhoeniX5
6

How to install Bulma navbar in laravel ?

Hi, I tried some tutorials on installing Bulma but none worked, I need to know exactly how to install Bulma navbar locally in my laravel project, thanks in advance....
mrkarma4ya mrkarma4ya
1

Get artisan output when running artisan commands from php

I don't have access to SSH on my server, so I'm running some artisan commands from routes. However, I don't know if they're executed successfully or not, and what er...
Laravel
1
529
Nana-Odai Nana-Odai
2

How go generate only API_KEY and USER_SECRET in with laravel passport

I am developing api using laravel passport. But i have tried using the various grant types, the authorization code, password grants, client credentials but still not gettin...
zyxxyzyxz zyxxyzyxz
0

Laravel/InertiaJS Checkout help?

I'm making a storefront with InertiaJS and Laravel. In previous projects where I've used Vue CLI 3, I've generally just had a multiple step checkout with the data stored in...
tigerjun tigerjun
3

sum column with join

I have two table name product & stock. I need to sum all the total number of stock with each type of product. After that pass the total stock of each product with the p...
armancs armancs
12

Can't Move uploaded file to public folder Laravel 6

I am trying to move image to public folder but its not store to that specific folder. $data = new Product(); $data->fill($request->all()); $data-...
General
12
123
mstdmstd mstdmstd
2

Laravel resources lost meta when I added mapping

Hello, In Laravel 6 I make pagination listing like $ads = Ad ::getByTitle($this->filter_title) ->getByStatus('A')...
Duckz_1209 Duckz_1209
0

Charts on Tabs

my charts works perfect but it wont display if i put it in tabs <div id="exTab2" class="container col-md-12"> <...
Create a New Discussion Button