- This topic has 27 replies, 1 voice, and was last updated 2 months, 3 weeks ago by markcommadore.
- October 24, 2020 at 4:39 pm #697brendt_gdParticipant
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!October 24, 2020 at 4:39 pm #698_nckoGuest
What are the standard recommended resources for learning PHP for existing programmers?October 24, 2020 at 4:39 pm #699secretvrdevGuest
Is there some free request risk detecting service out there? I imagine something like sending them the request and they can tell me what shitty scriptkiddo metasploit shit it is? I dont care about privacy since these requests are already blocked/flagged and its clearly a bad guyOctober 24, 2020 at 4:39 pm #700DROP1000Guest
Hey, I’m wondering: Can I set up phpmyadmin using only Apache2, or do I absolutely need to get MAMP? Cause I can’t get my php codes to work, even though Apache2 works, I don’t know how configure it properly!October 24, 2020 at 4:39 pm #701_Porinju_Guest
Hi, I’m fairly new here. What’s the application of learning php? What kind of careers can I pursue based on this?October 24, 2020 at 4:39 pm #702still_dreaming_1Guest
Any recommendations for a tool that helps build custom templates for generating custom PHP code files for a custom framework? It should either be runnable (to generate the code) from VS Code or from the terminal.
Many frameworks have a “cli” tool where you can ask it to make a new thing for you, a new controller or page or API thingy, and then it generates some new starter files to get you started, possibly just a PHP file with some code that makes it one of those things you asked for. What I want is something that helps me build my own one of these. So basically I’m asking for a combination of PHP template tool that you can use to build your own custom templates and run them from the command line. But I avoided using the word “template” sooner because it conjures thoughts of generating HTML, which is not at all what I am doing. I want to have complete control over what PHP code is generated, as it will not be for any known framework of conform to any known conventions, other than PSR-4.
I could just build one from scratch, but it seems like there would be something out there already.October 24, 2020 at 4:39 pm #703mustafabutnotmustafaGuest
Hey, I recently bought FleetCart for marketing, but problem is in my country medical laws prohibiting placing prices medical products on website. So I want it to make some changes. Removing add to cart buttons, prices, carts, wishlists, price filters, register and login. I mean I just want it to delete that buttons and randomize routes so peoples can’t access it. I tried few thing and doesn’t works and I have no idea what to doOctober 24, 2020 at 4:39 pm #704octarinoGuest
So, this might be a stupid question:
Why does Goutte exists?
I have used it in the past, but I must have never gone source diving. Today I looked and found only this:
class Client extends HttpBrowser
}October 24, 2020 at 4:39 pm #706MattBDGuest
Has anyone used PHPCR at all?
It *seems* like an interesting and powerful way to handle content items of multiple types, but it also seems like a lot of overhead. As the maintainer of a legacy custom CMS I wondered if it would be practical to migrate the existing content into PHPCR and if it would be a more flexible solution than what I have now. Right now, each content type has its own table, which makes it difficult to aggregate them.October 24, 2020 at 4:39 pm #707samonhimselfGuest
Hi! Back to PHP after 10 years! Which tools (linters, analyzers, fixers, plugins etc.) should I get to create for myself the same awesome dev-experience as when working on the frontend? (Preferably within VSCode ecosystem). Thanks!October 24, 2020 at 4:39 pm #708FlorentP67Guest
Regarding to preloading, I have a few questions that neither your article or the PHP manual really answer :
1/ is it useful to preload a file that doesn’t contain a class ? Like the files in Laravel’s `bootstrap/cache` folder that are read on every requests ?
2/ when preloading a file does it *recursively* preload **all** symbols used in it, including extended classes and interfaces, used traits, classes and interface as arguments or return type typehint, instantiated classes, and FQCNs (like `MyClass::class`).
Example: if I preload Laravel `config/app.php` file (or the cached full config), will it automatically preload all the service providers (and their “dependencies”) ?
3/ the manual says that using `include` require to load the files in order, but does that mean loading a random file that has “dependencies” not loaded yet will do nothing ?
Thanks !October 24, 2020 at 4:39 pm #709loopcakeGuest
Is this subreddit meant for posting personal projects and asking for feedback on them?October 24, 2020 at 4:39 pm #710rg_biggsGuest
Has anyone had any experience with KumbiaPHP? My boss wants me to take a look at this framework and probably want to use it in a future project. My boss is not a very technical person and he wants to use this framework because according to benchmarks (Techempower) it is one of the fastest php frameworks. The documentation of KumbiaPHP is mainly in Spanish. I would like to have some feedback from the community if anyone has used it.October 24, 2020 at 4:39 pm #711asiandvdsellerGuest
Is it even remotely possible to implement automatic unit / interface testing into an existing application which is not built on any php framework? We use native php for the web app that we are developing – its got to the point in size where it has its own framework by nature, but we are missing any form of formal testing which is currently the biggest bottleneck to how quickly we can ship patches.
I want to impress my boss by introducing some form of unit and gui testing, but a lot of the codebase is procedural, and a lot of the older code (which is what ~99% of the GUIs are based on) is not only not in classes but uses stuff like
$var = x;
$foo = ‘bar’;
//Interface depending on $var and $foo
I am trying to send emails through a sub-domain. Lets call my domain name [example.com](https://example.com)
I am making the smtp calls to my smtp provider through my admin portal at [admin.example.com](https://admin.example.com)
Now, when setting up DKIM, DMARC and Custom Bounce Domains. Do I set them up for [example.com](https://example.com) or [admin.example.com](https://admin.example.com)? I am using a third-party smtp platform to send the emails like mailgun.
- You must be logged in to reply to this topic.