PHP Reddit – Telegram
PHP Reddit
34 subscribers
292 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 would you tackle missing knowledge of Symfony?

Hi. I have some question. I'm developer with 15 years of professional experiences. Not only php, but also C#, unity, js ecosystem including react, some python, lua, etc. In php i worked with custom MVC frameworks, a little bit of cakephp and codeigniter. I even have opensource project (driver library) with almost half million downloads on packagist. But i never worked on project with Symfony. When I'm looking for new job, it feels like everything is about symfony and laravel. I went through manual of both and laravel feels like is relying too much on magic under the hood. So i would go with symfony. But without experiences i feel like i cannot get job in php. I don't have time to create own project and learn it. What would you do?

https://redd.it/1jsm5ud
@r_php
Weekly /r/Laravel Help Thread

Ask your Laravel help questions here. To improve your chances of getting an answer from the community, here are some tips:

What steps have you taken so far?
What have you tried from the documentation?
Did you provide any error messages you are getting?
Are you able to provide instructions to replicate the issue?
Did you provide a code example?
Please don't post a screenshot of your code. Use the code block in the Reddit text editor and ensure it's formatted correctly.

For more immediate support, you can ask in the official Laravel Discord.

Thanks and welcome to the r/Laravel community!

https://redd.it/1jsyt4j
@r_php
Looking for work... 15+ years experience

I have more than 15 years of experience. Message me if you know of a position. Thanks

https://redd.it/1jt4zvp
@r_php
Weekly Ask Anything Thread

Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.

https://redd.it/1jtbqut
@r_php
Weekly help thread

Hey there!

This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!

https://redd.it/1jtedf1
@r_php
How much Livewire is too much Livewire

Kind of a philosophical question here I guess. I am probably overthinking it.

Backstory: I am a well versed Laravel dev with experience since v4. I am not a strong front end guy, and over the years never really got on board with all the javanoscript stuff. I just haven't really loved it. I have been teaching myself Vue and using it with Inertia and I actually like it a lot, but find myself incredibly slow to develop with it. Obvious that will change over continued use and experimentation, but sometimes I want to "just ship."

So I started tinkering with Livewire finally, and I understand the mechanics of it. I am actually really enjoying the workflow a lot and how it gives me some of the reactivity I am looking for in a more backend focused way. But I am curious if there's any general thoughts about how much Livewire is too much Livewire, when it comes to components on a page.

For example: In my upper navigation bar I have mostly static boring links, but two dropdowns are dynamic based on the user and the project they are working on. As I develop this I have made each of those dropdowns their own components as they are unrelated. This feels right to me from a separation of concerns standpoint, but potentially cumbersome as each of these small components have their own lifecycle and class/view files in the project.

I kind of fear if I continue developing in this manner I'll end up with a page that has 10, or more, components depending on the purpose/action of the page. So my question to the community and particularly to those who use a lot of Livewire. Does this feel problematic as far as a performance standpoint? Should my navigation bar really just be a single component with a bunch of methods in the livewire class for the different unrelated functions? Or is 10 or so livewire components on a page completely reasonable?

https://redd.it/1jtvt32
@r_php
Breeze: React (JSX) + Inertia + Laravel + NO Tailwind

Hey r/PHP ! (New here).

Quick question: Does anyone have a link to a starter kit, boilerplate, or public repo for Laravel + Inertia + React (JSX/JS) that sets up auth scaffolding (like Breeze) but comes without Tailwind CSS?

I'm looking to use vanilla CSS / CSS Modules and want to avoid the tedious process of manually removing all the Tailwind className attributes from the default Breeze components and all the UI add-ons. Just need a clean starting point with the routes and the auth but with minimal code and preferably not styling at all.

Any pointers to existing solutions or recomendations would be amazing!

Thanks you very much.

https://redd.it/1jtxinm
@r_php
Should I Learn Node.js First and Then Move to PHP, or Study Both at the Same Time?

Should I learn Node.js first and then switch to PHP, or should I study both at the same time?

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