ThePoet444 ThePoet444
1
Greeting Artisans! I have a 1-n with posts and categories. Each post belongs to one category. In my view I am listing each category, then making a route to a filter to retrieve all the posts for that category. It works fine. Does what I need it to do...
germanraffo germanraffo
5
¡Hi, folks! ¿How are you? I'm having some trouble trying to figure out how to get the latest reviewed games. I'll give you a bit of context. I have two tables: Games Reviews So: Reviews belongs to Game and Game has many Reviews I think that the l...
Atef95 Atef95
3
Hey guys I'm struggling for hours to debug the error 413 Payload Too Large in my server but couldn't figure out a solution That occured during a file upload My server is Apache/2.4.18 (Ubuntu) I ran php -i | grep 'php.ini' -> it showed /etc/ph...
OfficialJens OfficialJens
1
Hi guys, I have developed a nice system and I would like to put this on a server. (on my domain) Now I have some questions regarding this: What is the best OS for this? (Optionally tutorial link) How do I get the created system on the server? (FTP?)...
tarang19 tarang19
0
Any one tell me stapes or code to do with with vue js i am not able to find any guide on google please help...
datlechin datlechin
3
Hello everyone, Currently I am having a problem, that is .htaccess is not working in my php project. I run the web server using php -S localhost:8000 But when I run the laravel application .htaccess works Help me how to fix .htaccess working. Thanks...
cryptopia cryptopia
123
There are lots of bits and pieces floating around the various forums, including this one and Stack Overflow, on handling URLs for multilingual sites. However, localization has a lot more to it - dealing with date formats, dealing with right-to-left r...
razausmankhan razausmankhan
0
Has JEFFREY WAY made any videos on chunking and cursors etc. If no can we have one please...
MollyJanet MollyJanet
1
I've been going through the PHP beginner series on Laracasts and I've been having a tough time following along (I was good up until around the "Dynamic Inserts with PDO" lesson). I have experience with JS so I'm not a total beginner, but ha...
Khin Zin Zin Thinn Khin Zin Zin Thinn
4
I am now trying to create the log out button and this error pops up. I already spent some time on it and it is still not resolved. Please suggest to me what to do to solve this. Thanks. (FYI: I have installed the Jetstream for authentication) Codes f...
damms005 damms005
9
For all request objects, there is always the possibility to access session variables using $request->session()... However, it is also possible to access same via Session::... While the later is very much convenient, it is not documented anywhere....
Cronix replied
Solved
infraimmweb infraimmweb
1
Dear, I have updated our invoices to be sent to a specific email address , however the invoices are still sent to another address , but this person is leaving the company. How can we proceed?...
vincent15000 vincent15000
16
Hello, I have to add annual budgets to clients. return [ 'year' => [ 'required', 'integer', Rule::unique('budgets') ->where('year', $this->year) ->where('client_id', $this->client_id)...
tarang19 tarang19
2
Can anyone tell me still lodash is usefull?...
please revoke my account suspension, or at least give me a feed back. because i am a human and have some marcy. will you ?...
ldommer ldommer
1
Laravel best practice is not putting logic into a route file. This is pretty obvious and right. But does this only refer to not using the SRP and to not delegating the request to properly build classes (controllers, services, fat models and so on)? O...
tprakash45 tprakash45
4
I have a question guys. How to deal with this code? {{ is_numeric($a->duration) - \Carbon\Carbon::parse($a->created_at)->diffForHumans() }} days left...
fahdshaykh fahdshaykh
1
namespace App\Actions; use Carbon\Carbon; use App\Models\User; use App\Jobs\SendCalendarAlert; use DB; class SendCalenderAlertAction { public function __invoke(): bool { $calendar_alert = DB::table('calendar_alerts') ->where('when', '>'...
bb7133 bb7133
0
TiDB is an open-source NewSQL database inspired by Google Spanner/F1 and aims for MySQL compatibility. I've noticed some TiDB users are using Laravel with TiDB through MySQL protocol, and there'll be some inconveniences due to: the unsupported featu...
tarang19 tarang19
4
Any one know how to design database for family tree database i am new in database anyone help me (ancestry database design)...
andrew_henderson andrew_henderson
10
Hello All, I am having a devil of a time accessing the Twitter API using Socialite. I have several other apps setup using OAuth with no issue, but Twitter dies every time. I have tracked the issue down to a problem with my Temporary Token generati...
warpig warpig
1
I wish to capture a given keyword from a text field, whatever is in the field, it should then be stored in a variable that will be passed to another one, the last of which will be searching the key for this associated keyword, and it should respond w...
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...
rokka rokka
12
Hi, I have a form with a checkbox <input type="checkbox" name="is_deletion_required" id="is_deletion_required" class="form-checkbox rounded-md" value="1" @if(old('is_deletion_required',$computer-&g...
Snapey replied
Solved
Quourtige Quourtige
2
Hello everybody, I have a project in which I separated the front-end (Vuejs) and the backend (Laravel API). I will use Apache Kafka to get data from IoT devices then Laravel will use this data (Consume) to display analytics in real-time to the front-...
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...
Does anybody know if Jeffrey is planing to release GraphQL series for Laravel? I think many devs are lack of this....
In the User model I have a value isTeacher and in a custom request called ServiceProvider I am checking if the isTeacher in the user is set to 1. When accessing the user through auth()->user()->isTeacher an error is thrown saying its accessing...
jeroenvanrensen jeroenvanrensen
20
Hi everyone, I have a Laravel collection and I want to perform some logic on that collection. I found a way to do it: $collection ->when(true, function($collection) { return $collection instanceof Collection ? $collection : $collection...
Palak27 Palak27
1
hello everyone, Does google review api provide any callback function? I have admin panel with so many employee there. So when any employee send google review link to customer, so i want to track that if that customer sent feedback or not and by which...
munirmdee munirmdee
1
Hello guys, I have a php file name "index.php", I wrote this codes inside: I place the folder "test" in the folder "htdocs", but when I run it does not work, but if I run using:- php -S localhost:8080 in the dos prompt...
Laravelmm Laravelmm
2
Laravel cookies trigger "owasp-crs-v030001-id942200-sqli" and request is being blocked to VM. Any ideas how to solve it?...
fdusautoir fdusautoir
1
Hi there, I need to retrieve the correct full url with protocol from a given domain name. function getFullUrl($domain) { // Some stuff here return $url; } Example : $url = getFullUrl('google.fr'); // Expected output : https://www.g...
Azoruk Azoruk
6
I apologize if this isn't a great question but I'm still getting used to eloquent relationships. On my website users can be moderators of subchans (sub channels). Subchans have modmail that all moderators of that subchan can see. Sort of like reddit....
whatthef whatthef
3
I have an image url defined in web.php as Route::get('/images/{path}/{number?}', '[email protected]')->name('images'); But since the images aren't public i have to send a file by putting return response()->file($image); Can I use cache for...
Create a New Discussion Button