PHP Reddit – Telegram
PHP Reddit
34 subscribers
289 photos
37 videos
24.8K links
Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram
Download Telegram
Is it possible to find a job or an internship that's not paid as a junior PHP dev?

Hello everyone, Im 20 years old and I am in that stage where I dont know if i should pursue something, in my case being a web dev. I have a few projects, a PHP Hospital Management System, a local platform for agriculture companies in MCV and OOP PHP, a webshop in Node and a group project carpooling app in Node as well and im planning on doing more real world applications, apps that in theory could solve real world problems. During these four years, I did a lot of WordPress work, which inlcuded redesigning themes, incorporating plugins, css and JS corrections, tranlsating pages etc. Some languages i have extensive knowledge in are PHP, JavaScript, Node, Java, Express, SQL and a bit ot C#. So i was wondering if its possible to find an unpaid internship or perhaps a lower paid job, as im not aiming to get a six figure job. Any advice on what to do, what to focus on or where to find an internship or a job in Europe or US remote? Thank you in advance.

https://redd.it/1nuewpr
@r_php
Anyone has a working example of google ads API in php to share?

I'm trying to get it to work with the google ads library but it keeps installing older versions and I'm lost, the authentication is a pain in the ass also. Anyone care to share a working version of it if you have it?

https://redd.it/1nuk7lf
@r_php
How I stopped wasting time hunting requests in Telescope with a tag

Hey everyone, small milestone: I published my first Laravel package.

I built it because I was wasting time trying to correlate API responses with Telescope entries. Often I'd see a bad client log and then spend 10-15 minutes hunting the same request in Telescope. So I made something to stop that.

What it does: it automatically appends a request id to JSON responses, sets the propagation header and attaches a tag in the telescope request with the request id, out of the box, no controller changes.

Why I made it: I wanted something tiny, zero-fuss, and configurable. I've started using it in my project and it already cuts down my "where did this error come from?" time by simply searching by the request id tag in telescope.

It's called Telescope Request Track, link on Packagist & GitHub below. If you try it, I'd love feedback (tiny fixes, feature requests, or even a ⭐️).

Packagist: https://packagist.org/packages/bekand/telescope-request-track
GitHub: https://github.com/anduen-beqiri/telescope-request-track

Hope that it helps somebody with debugging :)

https://redd.it/1nv29il
@r_php
I created a static site generator with php (no framework)

Hi everyone, I'm looking for some feedback on this project, I intend to use it as part of my startup webdev agency statisch.co, I've made the repository free and opensource and will continue to improve upon it to make it easier and more fun to work with. The reason I built my own static site generator instead of using the 100's of others out there is so I can fully understand every single line of code I deploy on behalf of my customers. I thought about keeping this private but then I just thought "why?" I had so much help from opensource in my career and if this helps anyone else better understand static site generation it's worth making public, so here you go. It's not perfect but it works... I would love to hear any criticisms or suggestions for improvement.

https://github.com/Taujor/php-static-site-generator

https://redd.it/1nv704v
@r_php
Thoughts on the new Forge?

Had a little look around and it seems like a decent facelift all things considered. It will take some getting used to but I think it looks mostly okay design and feature wise. I'm not a serious Forge user but it seems alright.

I don't really see myself using the Laravel VPS stuff since I prefer European servers and I believe their system uses DigitalOcean underneath it all.

What are your thoughts/opinions about it? :)

https://redd.it/1nvfuak
@r_php
I need forge explained to me in the context of why I’d choose it over a PaaS

In simple terms, I currently use render, I used to use Heroku.

With a paas I have a database, cron jobs, redis all managed and auto scaling.

Why would someone like me move to something like forge. What are the benefits?

https://redd.it/1nvoilr
@r_php
I am creating a microservice framework for PHP using Swoole

Hey all,

I recently discovered Swoole and decided to learn it a bit more so I decided to write a microservice framework that's built on top of Swoole.

This is currently a work in progress but I thought I'd share it to see if I could get some feedback.

https://github.com/Kekke88/Mononoke

Contributions are also welcome, this is my first open source project so things might be a bit unstructured. Any tips and suggestions on this is highly appreciated.

https://redd.it/1nvxjro
@r_php
Plea for help! Does anyone have/know where I could obtain the brandonwamboldt/utilphp package?

Hello!

I've got a very old Dockerised project, for the website of a family member's small business, it was built \~8 years ago with Bolt CMS 3.2, and has basically been ticking along unmaintained since then (if it ain't broke, don't fix it)

A dependency of Bolt is https://packagist.org/packages/brandonwamboldt/utilphp, however at some time in the last year, the author decided to delete the Github repository.

A quirk of the project, I never got to the bottom of why, but every few months the DigitalOcean droplet runs out of disk space, so then I just run docker prune to clear all the volumes and images, and then rebuild everything 😂 (yeah it's amateurish, but it's such a basic website it's never been worth the effort to fix it properly!)

Anyway, today I discover that the project doesn't build because the above Github repository is deleted.

So, I'm posting here to ask if anyone happens to have any version of this package themselves - maybe in their own vendor folder, as a direct or indirect dependency - and if so, perhaps they could kindly share this with me? And then I could somehow work out how to hack things together so that composer recognises my own copy as the package's source.

Or, if anyone knows of a Github archive/mirror that would somehow still have this package available?

Otherwise I'll have to try and upgrade to Bolt 5 - but since a prerequisite is a working project with Bolt 3.7 - I'm not sure how possible this would be.

If anyone can help me they would really be a true lifesaver! Thank you in advance

On a sidenote - packagist says it has 538,490 installs - you hear a lot about this sort of thing happening with npm, where a package owner deletes the project and failing builds ensue - but I naively assumed composer would somehow do something to mitigate this - but I guess composer is just as vulnerable!? (Or even moreso - if I'm not mistaken npm have taken steps to remedy this - I'm not completely in the loop though so I could be wrong)

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