Pixelpanther Pixelpanther
0

S3 filesystem: Can't retrieve media when "root" configuration is defined

I want to put all files for a certain drive in an 'uploads' folder on my S3 bucket. I define the 'root' parameter in the config and this will save files there correctly....
jesse_orange_newable jesse_orange_newable
0

Laravel pagination in Vue.js

I am using Laravel's paginate method with Vue.js for a load more button, the pagination in my Vue component is an object like so: (this.pagination = { fro...
Meaulnes Meaulnes
1

Form data not transmitted on submit

I use Laravel 8 inertia and vue I want to update a post and I use this component in a main vue <template> <div class="container p-3 bg-g...
reinisk22 reinisk22
1

How to index a non-unique column?

Hey, I've got a table like this INCREMENTAL_ID, ID, STRATEGY, POLICY_ID, ASSIGNED_AT, CREATED_AT, UPDATED_AT The strategy column is a...
chrisan chrisan
1

General error: 1366 Incorrect string value: '\xE2?

I am parsing a text file which is encoded in UTF-8 and there is a string with the value of Cluse La Boh?⿿me Grey Leather 38mm When I view it in Notepad++ it...
Ravish replied
Solved
General
1
128
codinglara codinglara
42

Laravel 7 vs Laravel 8 Dilemma

Is it smart to work on new projects but use v7? I started learning Laravel 7 a few months ago and I got used to it, still have a lot of things to learn, I am having trouble...
General
42
1733
davy_yg davy_yg
2

Migrating wordpress site

Anyone has experience about migrating wordpress site? I created a wordpress site offline complete with the content in it. After migrating it online - it request me...
msslgomez msslgomez
27

Store value globally in controller

I need to save a token to then use in all methods of a specific controller, I tried putting it in session but then when I try to use it it says it's null....
General
27
177
ollie_123 ollie_123
7

Best way to get datetime-local current time...

Hi All I'm working on an app that has a datetime-local input and i'm trying to work out the best way to get the current date & time and to format it as eg...
royksoft royksoft
1

Alternative to "new up” objects in other objects

I'm a new developer just getting started with testing. I see in a lot of places that it's a code smell to "new up” objects in other objects. I'm wonder...
andyandy andyandy
3

Getting error while trying to run "composer require --dev laravel/ui"

I'm trying to run "composer require --dev laravel/ui" which will result in this error:...
spacedog4 spacedog4
1

Add subtitles on laracast lessons

Hey guys, I'm from Brazil and can watch laracast videos without a problem. I don't know how many of you, live on a country that English is not a native language, but I'd lo...
@tsommie @tsommie
3

Unable to swap Jetstream default TailwindCSS modal for Bootstrap Modal and still achieve the expected or same result as its was with TailwindCSS

Am working on a Laravel 8 package that swaps the #TALL stack for what I call the #BALL stack, and its basically a Bootstrap, AlpineJs Laravel, Livewire stack. Bootstrap 5 i...
General
3
198
jwburkhard jwburkhard
2

Laravel From Scratch for Laravel 8

Are there any plans to update Laravel From Scratch for Laravel 8? The last update was version 6, and how relevant is that anymore? Thanks!...
nara014 nara014
2

laravel route was not detected after enabling php artisan optimize

hello, I want to report anomalies when using laravel, actually this happened in version 5 too. So, when I finish installing laravel. i am trying to use artisan optim...
msslgomez msslgomez
17

GET method is not supported for this route. Supported methods: POST.

I'm using a post request, this is the code //API routes Route::post('getToken', '[email protected]'); //getToken Method $client = new Clie...
General
17
96
Ahmad00100 Ahmad00100
0

sending data from Laravel to node js server in Laravel application

problem with receiving data from the application form to node js server, the data don't apperea my from. in blade.php var subject = $('#subject').val...
sauravs012 sauravs012
9

Seeders not inserting values in DB

My CODE <?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class AlgorithmTableSeeder extends Seeder { /** * Run the data...
t0berius t0berius
3

livewire updating to v2.0

After updating from livewire 1.X to 2.X the following piece of code doesn't work anymore: switch (request()->query('filter', null)) { case 'af...

Installation failed, reverting ./composer.json to its original content

Hi, I would like to install the package spatie/laravel-newsletter on my version of LARAVEL 7, but I encounter the following error :Installation failed, reverting ./composer...
MartinZeltin MartinZeltin
9

How to disable Laravel Mix but still use watch?

I really don't need Laravel Mix but when I delete everything in webpack.mix.js and delete app.scss file I get an error when I run npm run wa...
reviewdevs reviewdevs
3

Which is better, Spatie Permissions & Roles or using Middlewares or Policies?

Hello, am trying to make something like Udemy as practice after finishing some courses here on Laracasts I'm trying to fix a problem where I want to allow users who...
mleontenko mleontenko
5

Raw SQL query to array

I'm using a raw SQL query that selects some ids from database. It looks like this: $query = DB::select('SELECT pr.id_obrasca_prethodne FROM public.&...
isamirsalehi isamirsalehi
2

How to set suitable name for routes

Hi guys. Maybe it happened to you before that you were thinking about what name i should set for the route that you've defined. My question is how can i set a suitable name...
t0berius t0berius
14

laravel observer not udpating value

Updated my application yesterday to laravel8 now facing this problem: public function updating(User $user){ //check if EXP amount was updated if($us...
General
14
186
Gabotronix Gabotronix
1

SQL harvesine law to grab nearest coordinates question

in my app I want to show nearest places from map center coordinate, after looking for solutions I found a raw SQL query I could use in my laravel app: This is my met...
vincentsanity vincentsanity
5

Generate excel based on the query from database using vue and laravel maatwebsite package

Basically I got a query to get all the record based on the date from and to. I use maatwebsite package in laravel. The problem is if i click the generate button it will not...
General
5
828
MartinZeltin MartinZeltin
1

Is there more good or bad code out there in the real world?

We are taught to write clean and maintainable code. But I'm just wondering in the real business world, is there more clean / well written code out there or more bad / poorl...
rifqi96 rifqi96
1

OAuth 2.0 Password Grant Type: Is client secret safe?

Hi, I'm developing an app which has a backend as the API provider and a frontend client that consumes the API from backend. I'm using laravel passport for the OAuth matters...
msslgomez msslgomez
6

How to use node.js API

I'm trying to implement a node.js API in my project but I'm at a complete loss of what to do or where to start. This library is for credit card payments...

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See <URL>

Hello, I added an animation between pages while they are loading. It works but at the console I get this error: [Intervention] Unable to preventDefault inside...
dmcglone27 dmcglone27
22

Why the change in Laravel 8

Why did the method to register routes change in Laravel 8? Does it make things better? I feel like it only complicated things more....
General
22
253
zxtanzxzx zxtanzxzx
1

Input field dissappear when click livewire action

I am trying to create a dynamic form using livewire that allow user to add more members When i click the "Add Member" button, the event trigger and new member fie...
EbrahemSamer EbrahemSamer
2

How to send an email in a specific day Using PHP Native ?

I want to send email notification to user some day but I want do that even if the user is not using the website. How to make my website send email automatic in some...
Create a New Discussion Button