3 ms·
This is very cool! It always felt like PHP was behind in tooling - git-driven CI was challenging for WordPress (because the framework's plugins edit the project
by jackconsidine 2y ago
This is very cool! It always felt like PHP was behind in tooling - git-driven CI was challenging for WordPress (because the framework's plugins edit the project files and it is married to subversion), and serverless PHP was basically impossible until Laravel Vapor came along. Projects like this give me hope and excitement. I wish Corcel was around years ago when I had to write gross SQL string interpolation for various WordPress projects.
- ceejayoz 2y agoI think Bref predates Vapor. People were doing PHP with Lambda prior to that, too, with the custom runtimes. https://aws.amazon.com/blogs/apn/aws-lambda-custom-runtime-for-php-a-practical-example/ https://aws.amazon.com/blogs/apn/aws-lambda-custom-runtime-f...
- devmor 2y ago>serverless PHP was basically impossible until Laravel Vapor came along I've got production PHP Lambda runtimes that predate Laravel Vapor by 7 years...
- rgbrenner 2y agoAgreed on PHP tooling. I'm surprised more hasn't been borrowed from other frameworks. Working in this space too on serverless wordpress+mariadb[0]. We have a lot of open source tooling on our roadmap to make this as complete as serverless for other languages. 0. https://www.agiler.io https://www.agiler.io
- askonomm 2y agoPHP tooling is amazing. WordPress tooling is not, since it uses archaic development practices.
- emj 2y agoI am not a PHP developer, and our php code is all third party apps. Do you have any write ups on PHP tooling? My feeling is that php tooling has a hard time handling stateless images, you often need to install plugins to php applications with a GUI with no good way to do it in a build process. Config of php applications is always an mix of php.ini and database config, often making monitoring a case of writing custom http requests and html parsing. I am not that happy with Java but there are many things it get right especially in tooling.
- askonomm 2y agoModern PHP applications use Composer to manage packages as well as to install PHP extensions. Configuring your PHP app is entirely for you to do - whether you keep your configuration in the database is not a problem of PHP, it's your applications and how it was made. These days I'd think the common thing is to just use ENV variables, like all other modern applications do. If you mean however to configure the PHP runtime, well yes, you have to touch php.ini for that, much like you have to have tons of flags to configure the Java runtime, I don't see how it's very different. For PHP monitoring there are numerous modern solutions out there just a quick google search away.
- deleted 2y ago[deleted]
- djxfade 2y agoPHP hasn't been behind in tooling, WordPress has (and still is). Frameworks like Laravel are very much up to par when it comes to tooling.