lordisp lordisp
0
I like to build a toggle component where I can dynamically change the variables via a property: <x-toggle :toggle="my_x_toggle" wire:click="doSomething"/> the property toggle with it's value my_x_toggle shall replace the hi...
YuraLons YuraLons
0
There is a code like this, which is located in public function store() { // #code if ($request->hasFile('passport')) { foreach($request->file('passport') as $index => $passport){ $name = ($request->pa...
Church Renewal Church Renewal
0
My project has .env .dev file that with things like the AWS S3 key and APP_KEY left intentionally blank. The idea is you clone the project, make a copy of .env .dev and name it .env, then fill in what you need. Problem is when I use Sail, it seems t...
rafaeladi rafaeladi
0
So currently ive been working on a project and this is one of the problem that i had. I want to have this data in my application and want the data to be viewed as a progressbar in my view. I want the data to be like this | CaseName | Duration | Verd...
kwcham kwcham
0
I got this "This password reset token is invalid." error when creating the password reset feature using Laravel 8. The problem is the token sent by email is not matched with the token stored in database table. I used below code to check the...
AhmdYehia AhmdYehia
0
Hello friends, i using in my app Chatbro plugin but there is error i can't fix when user send new message my request header Referrer Policy: no-referrer i using laravel/cors package 'paths' => ['api/*', 'api0/*'], 'allowed_methods' => ['*']...
msslgomez msslgomez
0
I have a bunch of reports that the user can download, the thing is I first need to create the Excels and then download a Zip. This worked locally but now on the server I'm having a lot of issues. First I create the list of reports and then dispatch a...
LewisCowles1986 LewisCowles1986
0
Hey Jeffrey, Awesome site. I find myself dipping in and out to quickly (relatively for me) get up to speed with changes in Laravel, and some PHP developer flow. Recently I got a new job where they use hexagonal architecture. It all sounds very simil...
JhumanJ JhumanJ
0
Hello! If you ever wanted to create a single page application with Laravel, you probably found this repo from cretueusebiu. It's awesome, I've personally used it to start two projects that are still in production today. However it comes with Bootstra...
bufferoverflow bufferoverflow
0
There's a 60 limit in my jobs and I'm running php artisan horizon:terminate on every code deployment. Not really sure what could be the issue here?...
Deekshith Deekshith
0
i am using laravel corcel to fetch all the posts and it is working fine. I have a quiz inside the post as well and I am using wp pro quiz plugin for quiz now I have studied the db structure of wp pro quiz and now I want to fetch the shortcodes which...
theblack68 theblack68
0
Hi ...Someone che give me some help? I have this public XML file to store in database. Until +"REGIONE_BENEFICIARIO": "Lombardia" are single field and I do without problem. From there start a depth data and I don't know ho do it....
kobuslou kobuslou
0
I am new to Laravel Audiing. I have installed OwenIt\Auditing\Models\Audit and it works great recording the user id and other values. Each of my records also has a customer id that needs to be recorded so that you know which customer's details was ch...
jgravois jgravois
0
I am building a datatable like Caleb's in the Surge screencasts. I am mimicking the import csv portion. Everything works great unless one of the fields in the CSV is empty giving me this error: Undefined index: Alt. PN and points to this line: return...
mstdmstd mstdmstd
0
Hello, In laravel 8 / AlpineJs 2.8 I project I created component with command php artisan make:component Admin/UsersAccess and I have 2 files : app/View/Components/Admin/UsersAccess.php where in render method I define which view I use : public...
AskforTask AskforTask
0
$conditions = collect($this->getColumns())->map(function ($column, $key) use ($keyword, $or_conditions) { return $or_conditions[] = [ $column => [ '$regex' => "$keyword", '$options' => 'i' ], ]; }); $final_or_condition = [ '...
ToxifiedM ToxifiedM
0
I have recently migrated from Laravel Livewire to Laravel Inertia Vue. During the course while using Livewire, I created a trait called WithPerPagePagination then created a public variable of perPage with the default value of 10 and mounted the value...
soufyaneyassin soufyaneyassin
0
hey everyone, i have two models User and organization and a third one partnerProject which is the pivot table that contains "organization_id" and "user_id" and "role_id", after the insertion i only get organization_id an...
adityar15 adityar15
0
I am using Laravel socialite v5.0 which has Facebook graph api v3.3. Whenever I click facebook login button from my website it redirects to Facebook and displays Sorry, something went wrong. We're working on getting this fixed as soon as we can. I ha...
zerberos zerberos
0
Hi, I have installed Devexpress in Nova, but it does not find vue: ERROR in C:/xampp/htdocs/nova-cybersecurity/node_modules/devextreme-vue/core/version.js Module not found: Error: Can't resolve 'vue' in 'C:\xampp\htdocs\nova-cybersecurity\node_module...
saif2nemr saif2nemr
0
My project use Module structure doc. https://nwidart.com/laravel-modules/v6/introduction then i install passport without any problem but when i use route: Route::middleware('auth:api')->get('user', function(){ return ['data' => 'auth']; }); it...
laracasts_asker laracasts_asker
0
I'm opening this view when database is not accessible: <?php $result = DB::select('SELECT * FROM `list` LIMIT ?', [1]); ?> <html> <body> ok </body></html> error shown in logs: [2021-04-09 15:32:40] production.ERROR: SQL...
pakogn pakogn
0
While trying to run the browser's test the next error is presented: Tests\Browser\ExampleTest::testBasicExample Facebook\WebDriver\Exception\UnknownErrorException: unknown error: Chrome failed to start: crashed. (unknown error: DevToolsActivePort fi...
dterumalai dterumalai
0
Hi, I created a directory watcher as an artisan command to be able to monitor new files based on inotify. I had in mind that I wanted to be able to stop the command either by catching the SIGINT signal or by issuing an event which would stop the comm...
rafaeladi rafaeladi
0
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...
I have two laravel applications hosted on heroku. One is my API for a laravel ecommers site and the other is the actual larval ecomm site. All was working well until today and I'm not sure what happened. I'm making a request for locations via an api...
warpig warpig
0
Hey guys I just have a suggestion for future lessons, in terms of new content for what potentially be a new lesson, and that's about working with images, creating an image slider and having it all in a good working dynamically, reusable component. TL...
phillipkregg phillipkregg
0
I am using VSCode and can't seem to find a way within the settings.json file to allow me to use both emmet and blade templates together. If my "files.associations" contains "*.blade.php": "blade" - then my blade formatt...
I need to show my contnent in one page, so my problem is break my content into 3 pages and it's not too much to be in three page $pdf = PDF::loadView('invoices.invoice', compact('vendor','customer_route' ,'payment_details', 'transactions', 'customer'...
joshsalway joshsalway
0
Hey @JeffreyWay would be good if we can filter by the author/teachers of the videos?...
Dear community, If I have a component in Laravel that takes props using the @props directive, is there any way to return the component using the view() helper? When I try view('components.myComponent', ['myProp' => $myValue]), I get the error mess...
AbdulBazith AbdulBazith
0
Guys iam working with a project its a online exam project for students this is my example link website.com/admin website.com/teacher website.com/student all the three residing in same hosting but different laravel project accessing the same DB. Now t...
ahmadsiddeeq0 ahmadsiddeeq0
0
first i use .load function in AJAX so i can check if there is new posts and load it without page reload. the problem is that i use paginate as well and when i am on the second page (of the paginate) and when the .load fires up it will show the first...
k-web-dev k-web-dev
0
I am working a Laravel application which is becoming quite large and I need to start writing and maintain documentation. I have looked at LaRecipe. https://laravel-news.com/larecipe-documentation-package What other packages and ways to write documen...
matteoformenti matteoformenti
0
Hi, I've just implemented push notifications in my website using Firebase Cloud Messages, since only registered users should receive personalized notifications, i've inserted a JS script only for authenticated users, that retrieves a fcm token and fo...
Create a New Discussion Button