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 I Built a Modular Laravel CRM: Architecture Insights
https://redd.it/1kli44f
@r_php
I have an interview tomorrow. The company I'm interviewing for is using Symfony. I haven't used Symfony in close to 5 years. Tips?

Pretty much noscript. I'm currently using Laravel and no framework(back and forth between the 2) at my current job.

What questions can I expect? I would assume the most used parts of Symfony would be a good guess: Doctrine, forms maybe(shudder), caching maybe, tests I would guess.

I want to at least read the docs, but clearly I can't read it all by tomorrow so I want to be strategic about it.

https://redd.it/1kllb25
@r_php
Symfony app and DigitalOcean, /icons folder 404

Hello,
I have weird problem.
After deploying on digitalocean and setting apache files.

I get 404 error for loading /icons/ and everything from it.

I tried /css, /js and other folders and it works.
In vhosts document root is set for /public.
When I check content of folder /icons all is there and i have right permissions

Locally it works.

I cannot access with url: /icons something it gives 404 not found

Any help is appreciated

https://redd.it/1klqs3s
@r_php
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