rootchips rootchips
2

Laravel-echo-server for production - WebSocket connection problem

Hi, I tried to run socket.io on top of my app in production server. Using https, redis, also allow CORS and also CloudFlare. Unfortunately, it got no error on console. I a...
Guides
2
1587
ohffs ohffs
5

GDPR for developers

Came across this while digging around for a more practical guide on how we can think about implementing code/procedures around the GDPR. Didn't want to bump one of the old...
Guides
5
1322
act360 act360
7

Should I make different view files or add switch case in view file?

I have to show list of posts in a view. Functions in controller query posts and send them to view. Functions like drafts(), pending(), published() etc will query posts for...
Guides
7
565
aalrashid aalrashid
3

KNET Payment Gateway

I have a question about service is we here in Kuwait are using KNET Payment Gateway country to serve the files are PHP is added to the program how i can do with framework...
Guides
3
1998
tomas95go tomas95go
7

Problems with the PHP Practitioner series Episode 16

Hi Everyone, I'm very happy that I'm learning PHP with such a good teacher like Jeffrey however im having problems with this Episode. I keep getting the same error m...
Guides
7
1972
jlrdw jlrdw
4

Update upgrade laravel then framework (guide)

Some folks don't realize there are two main repositories for Laravel. Laravel = app Framework = vendor stuff Also there is updating and...
Guides
4
4524
santino santino
1

Paginate collections

on the app provider add use Illuminate\Support\Collection; use Illuminate\Pagination\Paginator; use Illuminate\Pagination\LengthAwarePaginator; //on boot...
Guides
1
335
commish commish
3

Best Practices to Minimize Database Hits

I'm completely new to backend, and the rules related to what data is retrieved from the database on which queries is lost on me. Does anybody have a great resource for bes...
Guides
3
360
elliotk elliotk
2

Using Bootswatch with Laravel 5.4

I thought I'd share how simple it is to use Bootswatch in Larvel 5.4 with this guide. Create a fresh Laravel install. laravel new mynewproject...
Guides
2
905
jlrdw jlrdw
1

Manual pagination episode 3 (It is a guide not question)

A question came up how to paginate using the DB Facade. And since at times it's used instead of query builder or eloquent, here goes: You have to have a count...
Guides
1
1223
RobHowdle RobHowdle
3

User Profile Pages

Hi all, so I'm pretty new here and attempted to do my own research because I asked here but didn't find anything that fitted. I'm using Laravel 7.6.2 and I'm wanting to cre...
Guides
3
416
tylernathanreed tylernathanreed
10

Never Execute a Duplicate Query Again

I bet you have Barryvdh's Debug Bar or some equivalent enabled, and you're seeing tons of duplicate queries, and...
Guides
10
3212
jylp2b jylp2b
4

Do I need to go through videos of all version of Laravel

Hello! I've been doing my work in CodeIgniter, and I am totally new to Laravel. I've just gone through "Laravel 6 from Scratch", but I also saw ther...
Guides
4
755
dan3460 dan3460
2

Moving from L.6 to L.7 and Bootstrap to Tailwind

I have an application that was developed in Laravel 6 that we are upgrading and moving it to Laravel 7. Among the things that we want to do is to also move from Bootstrap t...
Guides
2
926
haroldemailme haroldemailme
2

What to learn first as a beginner Vue or Php ?

Jeffrey I hope you and the family are doing ok . Quick quest : Do you recommend starting with vue first and then php ? What would you advice me ?...
Guides
2
10004
BossPogs BossPogs
10

HTML U.I for Smart TV

Hello newbie here. I just want to ask about the HTML u.i for Smart TV. I just wonder if your design would be different from computer in smart t.v. Because when I check in m...
Guides
10
919
0ussama 0ussama
6

419 Page Expired

Hello, i uploaded all my laravel app in public_html for testing purposes in a shared hosting server, i don't have permission to log with ssh, i cleared all the cache, confi...
Guides
6
699
tomasosho tomasosho
3

How can i hash my links and let it change every few hours?

I want to find out best practices for hashing links and changing them every hour...
Guides
3
875
tomasosho tomasosho
2

how to count entries per month

how do i count entries monthly 1st to last day of every month? i'm making use of datatable package from which month and year can be selected. i'd love an example. Thank you...
Guides
2
656
JoewyZN JoewyZN
5

Social Sharing

Hi .. What package would you guys recommend for social sharing ? I am currently working with...
Guides
5
4254
smeunus smeunus
6

Help me to understand how to deal with subscriptions, membership.

Assume I have three plan for membership. monthly - yearly - forever I can charge user based on plan. How do I deal with when their subscription e...
Guides
6
945
jlrdw jlrdw
1

Turn off only_full_group_by for just one query (Guide)

I see many questions come up with the error: SELECT list is not in GROUP BY clause and contains nonaggregated column ..........
Guides
1
798
moktar moktar
1

Run queues by Supervisord in Laradock

i deployed this app with laradock for first time the queues dont works , the attempts keep increasing without any results this is my configurations :...
Guides
1
2126
diegoronan diegoronan
5

Laravel 5.3 authentication error message

Hi everyone. I'd like to know why the password error message it's not showing up on Laravel 5.3. Only in the email field is working....
Guides
5
5344
afrasiyabhaider afrasiyabhaider
2

Need Suggestions

Hello everyone Can you guys please suggest me some projects which I should include in my portfolio to learn something new and to imporve my portfolio as well... I was think...
Guides
2
740
JackyVip JackyVip
6

Define eloquent relationships for tables

How can a define a relationships for these tables: comments: (table fields) id, commentable_id, commentable_type, type comment_messages: id, message, comment...
Guides
6
858
kallal103 kallal103
4

Authetication tutorial

Hello everyone, I am in the middle point of Laravel 6 from scratch, but suddenly I need a detailed tutorial or guideline on an authentication system. The main thing is tha...
Guides
4
823
Dominic108 Dominic108
0
Guides
0
261
mindoroDev mindoroDev
7

I need help in laravel packages

hello good day i install this package https://github.com/akiyamaSM/larapoll ?...
Guides
7
1012
mati mati
3

Keenthemes Metronic Admin Template + Laravel integration

Is anyone using Metronic Admin Template from Keenthemes in his laravel project? Any recommendations, optimizations or patterns for laravel integration using their component...
Guides
3
1855
kallal103 kallal103
2

What's next after Laravel 6 from scratch

Currently, I am in the middle of Laravel 6 from scratch, what next series will be the best to start after completing it...
Guides
2
848
almokhtar_br almokhtar_br
3

Real time Text Area , any idea ?

Hello Folks, is it possible to make a text area real time between multiple users ? example : a user 1 editing a post and user 2 can see the user who editing the post at the...
Guides
3
795
boill30 boill30
2

Cannot save data Invalid argument supplied for foreach() HELP

public function store(Request $request) { DB::beginTransaction(); try { $save = new PurchaseOrder; $save->purchase_order_date = Carbon...
Guides
2
764
armancs armancs
6

how can i print this pdf using dompdf

controller public function printPDF($id) { $order = Order::findOrFail($id); $products = OrderedProducts::where('orderid',$id)->get(); $pdf =...
Guides
6
2779
Create a New Discussion Button