PHP Reddit – Telegram
PHP Reddit
34 subscribers
291 photos
37 videos
24.9K links
Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram
Download Telegram
how do I secure an admin page for me to use for my own website?

I recently created a website and I am getting tired of manually inserting data using phpadmin. I am planning on creating an admin page for me to use to easily insert data etc. My question is how would I go about that to where I shouldn't face any security issues?

should I just create a website.com/admin type of link? im a newb self learning. help 💀

https://redd.it/1km6zan
@r_php
how do you keep your PHP code clean and maintainable?


i’ve noticed that as my PHP projects get bigger, things start to get harder to follow. small fixes turn into messy patches and the codebase gets harder to manage.
what do you do to keep your code clean over time? any tips on structure, naming, or tools that help with maintainability?

https://redd.it/1kmco7g
@r_php
Rethinking Laravel Folder Structure for a Modular Monolith

Hi 👋

I’m starting a relatively large roject and exploring a non-default folder structure that leans into the modular monolith approach. Here’s the structure I’m considering:

- App/Apps/{Admin, API, Console} - for the sub-applications of the project
- App/Modules/…/{Http, Models, Jobs, …} - Laravel style application as a module
- App/Configuration/{Providers, Bootstrapers} - different setup and configuration
- App/Shared - shared components and helpers

What do you think about it? Any comments or feedback?

Thanks!

https://redd.it/1kmqrsm
@r_php
Tonight: Q&A with Juliette Reinders Folmer (PHPCodeSniffer) in Amsterdam (Meetup)

Just a quick heads-up for anyone in or around Amsterdam (NL), tonight there’s a PHP meetup featuring **Juliette Reinders Folmer**, the person behind **PHP\
CodeSniffer.

It’s an interactive “ask me anything”-style session, so a great chance to ask your PHPCS questions live and get demos on the spot. Whether you're wondering how to run PHPCS only on changed files, create a custom ruleset, or you're just curious what's coming in version 4.0, bring your questions.

🕖 Schedule

19:00 – Doors open
19:30 – Talk starts
20:30 – Raffles & announcements
20:45 – Social, food & drinks

📍 Location: Simplicate, Hullenbergweg 135, Amsterdam

If you're into PHP or just want to meet other devs, feel free to swing by. RSVP here:

https://www.meetup.com/amsterdamphp/events/307306472/

Hope to see some of you there!

https://redd.it/1kn5vuq
@r_php
What's your favorite PHP ecommerce platform?

We're a footy fan website and the software we use to run our forum is ditching support for selling physical goods, just keeping subs.

I've set up a few to evaluate, one I ditched because they seemed to be pivoting to selling NFTs, Sylius and Prestashop so far, but I'm on the lookout for more.

I have a few constraints that I'm working with.

1. It has to be self hosted.
2. It has to have OAuth login that works with the forum (Invision)
3. Easy to style.

Prestashop unfortunately fell down by not having easy OAuth2 for anything other than Facebook & other social platforms, I need my users to use the login from our forum.

Sylius has that, but the templating on v2 is taking a bit to get my head around, I want to change the colour of the header but it uses a Tailwind `bg-black` class so I have to override the whole template/hook to do it, which looks like it also overrides all the other hooks in that section? I'm struggling to get my head round it at the moment, it feels like I'm missing a vitial bit of info that will make it snap in to place :-)

https://redd.it/1knc3o4
@r_php
Anyone hosting a multi-tenant app on Laravel Cloud?

I wish to know if anyone is hosting a multi-tenant application on Laravel. Our current application uses Caddy server to handle all the subdomains and automatic https. I'm wondering if I can migrate the setup to Laravel Cloud.

https://redd.it/1knqw1r
@r_php
TrueReviewer – A Robust and Customizable Product Review Package for Laravel

Hello coders,

I'm LakM, the creator of the [commenter](https://github.com/Lakshan-Madushanka/laravel-comments) package. I noticed that a modern product review package is something the Laravel community currently lacks. While building your own solution might work for a couple of projects, in the long term, we need something reusable and maintainable to save development time. That’s why I created **TrueReviewer**.

TrueReviewer is a robust review and rating system tailored for Laravel applications, featuring five thoughtfully designed components that enhance user experience. With a **modern**, **responsive design** and **customizable options**, TrueReviewer allows you to integrate reviews seamlessly into your application. The system is API-agnostic, ensuring compatibility with various platforms. TrueReviewer not only helps build trust and credibility through positive reviews but also boosts customer engagement and improves online visibility. With advanced features like dynamic sub-ratings, interactive statistics, and a comprehensive review list, TrueReviewer is the ultimate solution for managing user feedback.

TrueReviewer is **API agnostic** which means the front-end (Vue.js) and back-end are completely decoupled. This gives you the freedom to integrate it into any Laravel project, whether it's a traditional server-side rendered app or a fully separated API-driven architecture using Vue as the front end. Since the Vue components are compiled into JavaScript, it works seamlessly across tech stacks.

**Key Features**

* 📲 Modern, responsive design.
* ⚙️ Highly customizable to suit your preferences.
* 🎨 Theming with free presets and customizable colors.
* 🌐 API-agnostic for seamless integration.
* 🚀 High performance powered by Vue.js and Laravel.
* 🌍 Designed to cater to diverse user needs
* 🎯 Packed with all the essential features
* 🧾 Widget to summarize product reviews effectively
* 📊 Interactive statistics for deeper insights
* 🧩 Dynamic sub-ratings for detailed product evaluation
* 🖼️ Advanced media gallery for an immersive visual experience
* 📜 Comprehensive review list with pagination
* 🧭 Robust filtering options for quick navigation
* 📝 Elegant, user-friendly forms with built-in validation
* 🔐 Enhanced security features for peace of mind
* 🤝 Product recommendation capabilities
* 👍 React to reviews with helpfulness ratings
* 🚩 Ability to report inappropriate reviews
* 🚀 And much more to elevate the review experience!

Currently package is a sponsorware (big thank to calebporzio for the idea) and will be open-source with your support. **Huge discounts are available for first 10 users**.

Any feedback is greatly appreciated!

Demo Video - [https://youtu.be/-NJszz8lnuA](https://youtu.be/-NJszz8lnuA)

Site - truereviewer.netlify.app

https://preview.redd.it/cc5rjw8oz41f1.jpg?width=1280&format=pjpg&auto=webp&s=8a780504788c5cb6021ccd7837b7e233caa9eb41




https://redd.it/1knzlaa
@r_php