Questions tagged [laravel]
Laravel is an open-source PHP web development framework created by Taylor Otwell. Laravel helps you create applications using simple, expressive syntax.
271 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
34
views
Laravel Wallet Service Backend
I’ve built a backend-only wallet service using Laravel 8, and it’s fully containerized with Docker. The project handles two user roles (Players and Backoffice Agents) and provides JWT-based ...
5
votes
2
answers
220
views
Laravel as client for Strava 3rd party API
I’m developing a Laravel app which acts as a client to consume a 3rd party Strava API. My app also functions as an API for a frontend SPA. The user (which is just me for the time being) will already ...
3
votes
1
answer
169
views
Rendering data from mutiple models using controller and send to a single view
I have a master page, where I need to render data from multiple models. I have made a prototype of that page to show only the required conditions.
What is the best approach for controller to retrieve ...
4
votes
4
answers
243
views
JavaScript live validation for a registration form
I am working on a blogging application in Laravel 8.
I have added "live validation" to the registration form with JavaScript. For password strength, I use Zxcvbn.
The registration form ...
3
votes
1
answer
220
views
Image preview and delete for Laravel blog application
I am working on a blogging application in Laravel 8.
I have put together a way to preview and remove the main article image.
In the ArticleController.php controller,...
5
votes
1
answer
548
views
User Management API
I got as task to build a simple Laravel API that should:
1 - Create User API
2 - Get Users API
So I run the artisan command to ...
0
votes
0
answers
50
views
Securely send data as a parameter in a Livewire action method
I have friendship functionality in my Laravel application and saw Crypt is available from within blade view templates. Is this a common practice when trying to send ...
4
votes
1
answer
226
views
Sending only modified data from a table to the backend as form data
The frontend has a table with hundreds of rows. Each row consists of different inputs (text, file, ...
3
votes
4
answers
766
views
Sanitize URL string for Insertion Upon DB table via Eloquent model
In my case I am saving a URL into my database via Eloquent Model:
...
2
votes
0
answers
198
views
Handling large amount of traits and properties in classes
I've got an open-source project that I've been working on for a while, and I'm looking for advice on handling large classes. It's a Laravel 10+ package for building forms, and everything works fine, ...
2
votes
1
answer
86
views
Production-Readiness Advice for Laravel/ PayPal Integration
I am currently working on integrating PayPal with my Laravel application, and it's my first time incorporating PayPal for production use. I have written the following code and would greatly appreciate ...
3
votes
1
answer
122
views
Laravel seeder for email template settings
This is my Laravel seeder for two database tables. I need to make this seeder more efficient and optimized. How can this be achieved? I would appreciate some tips.
...
2
votes
1
answer
187
views
Manually inserting or updating a row with timestamps, without Eloquent
I need to insert or update a row that has created_at and last_update timestamps.
created_at ...
2
votes
1
answer
126
views
Script that uses an uploaded excel file to import data to the database
I wrote a script that uses an uploaded excel file to import data to the database. It checks for the image first if it can be downloaded without any error then insert the rest of the data. With ten or ...
5
votes
1
answer
853
views
Update specific model attributes from a request
Background
This is for an API and I'd like to use this Upsert action to take data from a request and only update the requested fields. I.e. These are partial updates and I will not update every field ...