rafaeladi rafaeladi
1
Is there any way to have a custom hooks inside a controller since on their documentation its not quite clear on how to do so. The only thing that works for me now it to put the styling for the chart inside my view page and it gets very messy if i hav...
setforvol setforvol
1
Why do the videos alternate between blurry and sharp ? I have tried different browsers but the same thing happens. The text gets very hard to read at times....
trevorpan trevorpan
6
This one's got me. So, when in local development I can view .vue components in safari. This means $('#flash-overlay-modal').modal is not a function. is not being thrown in the console. Firefox and Chrome do not throw an error either. However, when th...
asdfghjkl;' asdfghjkl;'
2
The site won't let me post my question because of this error: "You may not include links the first day you sign up" though my question contains no links...
asdfghjkl;' asdfghjkl;'
7
I have created a new laravel project in a fresh public_html dir on my work's server using composer create-project laravel/laravel public_html I have created the vue component and the controller to display the homepage upon visiting the site but inst...
roman_paprotsky roman_paprotsky
0
I"ve got a multi-tenant web application where each tenants has their own users table (which is the model I use to authenticate users). I've implemented Laravel Nova, and I use Spatie's multitenancy packages to allow tenants to access the applica...
shez1983 shez1983
0
so i am not sure what i am doing wrong but i find that after like 19? hours (or some time) the login route gives an error { "error": "invalid_grant", "error_description": "The provided authorization grant (e...
delonnkoh delonnkoh
3
Something strange is happening, I have been seeding my project with some data for over 2 months already and suddenly today I couldn't seed them. So I went over to the test file and it's the same thing. In migration, the column is $table->boolean('...
now is is showing like http://127.0.0.1:8000/staff/scheduler/edit/2/[2] router file Route::get('/edit/{staffSchedules}/{staffSchedulesDays}',[StaffSchedulerController::class, 'edit'])->name('edit'); url <a href="{{ route('staff.scheduler...
asharkhalid29 asharkhalid29
0
Hey I want to set up a wordpress blog in my Laravel site in public directory. I have set up the wordpress but I thing there is something wrong with my nginx configuration. Please let me know what I am doing wrong. Thanks in advance. location ~ \.php...
kossiecoder kossiecoder
2
curl -s "https://laravel.build/example-app" | bash I used above command to install laravel8 and sail up It all works good. However, I would like to have testing mysql as well. mysql_test: image: "mysql:8.0" environment: M...
bljdavidson bljdavidson
4
Hi all, So I have set up Homestead on my Windows 10 PC. I have everything up and running except that the vagrant provisioner doesn't create any databases (MySQL, MariaDB, or PostgreSQL), I have to SSH into the VM and create one myself. I have checked...
I am trying to implement the password-grant authentication for my api using Laravel passport. I have set up my project with Docker and Laravel sail. PHP 8 Laravel: ^8.12 Passport: ^10.1 As per the documentation for the login method I use: Http::asF...
Hi all, I am using the new(-ish) HTTP Client, something like this $response = Http::get($listToCheck->url); I've actually stripped it back from $response = Http::retry(3, 500)->timeout(10)->get($listToCheck->url); I am trying to catch the...
santino santino
2
thanks, am trying to remove media library pro original photo, I mean I want to make the upload of the image and convert it, then DELETE the original file, the files can be very heavy so I will just need to keep the converted images, how to do that? T...
I am working on my second Laravel project. In my first I just created a custom controller and then defined the routes like this: Route::get('/simple', '\App\Http\Controllers\[email protected]'); and then at the end of the "simple" fun...
karresachi karresachi
3
Hello, I am getting null when I Request::all('search', 'trashed'), but there are deleted Employees. Am I missing something? Employee Model namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\E...
karresachi karresachi
5
Cannot see what the problem is, anyone know a solution? Dropdown.vue <template> <button type="button" @click="show = true"> <slot /> <portal v-if="show" to="dropdown">...
how can i update a collection Illuminate\Database\Eloquent\Collection {#1372 ▼ #items: array:5 [▼ 0 => App\Models\StaffScheduleDayHour {#1373 ▶} 1 => App\Models\StaffScheduleDayHour {#1374 ▶} 2 => App\Models\StaffSched...
uniqueginun uniqueginun
1
Hello Laravellers I have a big application I'm gonna build in the next couple of weeks and I want to build it with Inertia. I learned the basics but I haven't build anything serious with it. so I want you to suggest any course free/paid for building...
I installed Laravel 8 with jetstream today for a small application. When I did php artisan migrate it created the database 'laravel'. After doing this when going to the site in a browser it just says this: SQLSTATE[HY000] [2002] Permission denied (SQ...
I have 7 dynamic form . that represent Monday - Sunday, Each day have hour schedule form. for example monday form can submit somany hour schedule, like this bellow monday- 10.00pm-11.00pm 11.00pm-12.00pm 12.00pm-1....
Route::put('{hourId}/updateHour', [StaffScheduleController::class, 'updateHour'])->name('updateHour'); public function updateHour(Request $request,$hourId) { /* $request->validate([ 'staff_schedule_day_i...
Hi I have searched but not found exactly what I need. I need a regex that matches only urls that begin with https:\\ or http:\\ For example http://domain.com/whatever/etc http://www.domain.com/whatever/etc Also should match .io .dev etc all domain...
jmacdiarmid jmacdiarmid
1
I'm looking for suggestions and a point to reference how to show/validate client signature fields. I have a web development/digital advertising contract form with a payment / approval section that contains a few text boxes and a signature pad. I nee...
I have a Small website developed in Laravel. Its a sort of shopping cart with features like: Search items, product details page, Cart features, Import product via CSV, Download Cart Contents. Now I want to develop the Mobile APP of this website so t...
automica automica
7
I've been setting up my current laravel 8 project with a pipeline to run tests on bitbucket before publishing to my live server. My application is able to migrate and seed data ok but when I run the php artisan test step I get failures for the featur...
StaffSchedule Model public function days() { return $this->hasMany('App\Models\StaffSchedulesDay','staff_schedule_id', 'id'); } StaffSchedulesDay Model class StaffSchedulesDay extends Model { use HasFactory; protected $...
Emil_Aa Emil_Aa
2
Hi im following the Laravel from scratch series, and im trying to create a "create blogpost form". I read online that I needed the Tailwind/forms plugin to style my input fields and selectors. I added it by running "npm install @tailwi...
ThePoet444 ThePoet444
2
I'm sure I'm missing something fundamental here with components but I just can't see it right now. Jetstream has a handy section title component: <div class="md:col-span-1 flex justify-between"> <div class="px-4 sm:px-0&qu...
madprabh madprabh
2
Hey Folks, I am trying to implement an autosave functionality in my laravel+vue project and I am looking for some starting ideas on implementing this in the right way. To me these ideas are flawed Saving as the user types in the text boxes/areas as...
moses moses
109
I want to write code that cleanly. So nice views. How can I do that?...
rpungello rpungello
1
I'm trying to troubleshoot a rather bizarre issue with our Laravel app. We use Laravel's read/write DB connection feature to distribute read queries across a pool of read replicas on Amazon Aurora, but I've been noticing a lot of read queries appear...
devraju devraju
9
Hello Artisan, Video Streaming in Laravel is made easy! GitHub Repo: LaraStreamer Installation Install via Composer composer require rajurayhan/larastreamer Publish Configuration php artisan vendor:publish --tag=larastreamer Usage This package ship...
Create a New Discussion Button