PHP is far from dead. It's great, fast, fairly easy to learn for beginners and you can go very far with it once you further develop your skills, dive into frameworks, packages & package development. And the performance of the latest version is STELLAR. Dead?? Hell no, it's more alive than ever...
I used to kinda dislike PHP later down my education in application and web development. However, as I started to get a better grasp on Laravel, and worked more on PHP, I actually started to really like working with it.
I love JS, PHP, Node, Swift, Go, and Rust. But it was thanks to PHP and Laravel that i was able to get into the industry. I will ever be forever grateful to PHP and the community, it seems to me that since people are learning NodeJS and Python, that there is a good demand for PHP developers, some recruiters from NY have reached out to me telling me that they are willing to pay up to 140K per year for Laravel devs. Opportunity is alive in the PHP world my friends. It is time to wake up and smell the coffee.
@@da009999 almost anything. When another language, library, api or whatever is needed, I employ it. I've done things with Jquery Ajax and procedural php. You have to appreciate a language enough to develop things with it.
I've been using php for almost a decade and laravel since it was 4.2x, from zend to symfony to laravel until 8.x, in the past I worked as a frontend; I've been using nodejs for socket/express or even nestjs, used to work with angular/react and vue but it felt more easier to use sveltekit as it is closee to vanilla But in terms of speed and concurrency and thread safety, I am literally enjoying Go "golang". It is much easier to learn and lesser syntax, anyone from node/php can easily jump into it. Learning multiple languages/frameworks isnt as bad as you think, you can solve a company's problem by using different languages, they have their own purpose.
I still hear these guys apologising for the language and not defending it strenuously. After all it's the language that's made many of them very wealthy and very famous. Its ease of use is not a disadvantage but an absolute benefit. Ultimately, the developer is responsible for writing good code, not the language, just as an author is responsible for writing a good book, not just cobbling together poorly constructed sentences. Stand up.
After coding in Python, C#, Java, and Node, I feel PHP is nothing different than these languages in terms of DX. No doubt Laravel is the main reason why web development or even Micro-service dev is fun and efficient. Those who says PHP is dead they definitely need to give it a try to PHP 7+ and see by themselves that how elegant and modern PHP is.
I'm coming from Laravel and trying Django and I can say Django is not easy as I think. IMHO, The framework abstraction in Django sucks. Laravel framework abstraction is easier to understand.
I personally get irritated by this kind of argument on social media. Many are ignorant about how this beautiful language has evolved. It's changed my life as a developer, and also changed my perspective of how I look at the web in general. The community is growing strong!
I can write Javascript/Node just as good as PHP after 10~ years, Whenever there is a new project, I always end up using php for the backend api. Its simply the best! The thing is that its very easy and thus seems inferior compared to harder coding languages. Yet the results are preictally the same
@@maptuffs if anyone familiar with C, C++ or even Javascript just as familiar with PHP syntax. The advantage over python? No need to think of indentation anxiety just code few lines the auto indent with ide and bam!! The code just as prettier as needed to be. So this is an overstatement.
People thinking PHP is dead equates to job security and a straight forward entry for many of us who don't have the industry connections or proximity to hiring opportunities other people may have. Every new Javascript tool reminds me of things PHP does natively. And, All Hail WordPress!!!
The old Javascript was dead, but we have ES6 and Typescript. The old PHP is dying, but we have Laravel. As long as WordPress is alive, PHP will be around.
We still could use some generics, like Brent discussed. :D Other than that, hell yeah, PHP is awesome. Jeff helped me get the hang of it with the PHP Practitioner. That cleared up so many things for me. I built just the tiniest JSON endpoint with PHP to consume via JS. That felt like magick, and that got me so excited. Thank you all.
Php was a language that came earlier than its time. If php came after ruby or node it would have been revolutionary because of its ease of use. Look at JavaScript with all the complexity and complications people love it because they feel that complicated means sophistication.
I am happy that some people think it is dead. That way, we can keep the competition level low while they run around like chickens hopping from new framework to new framework outside of PHP!
its been 8 years i am working as a dev and i still use php because it has its own pros and cons in my opinion language is just a tool it depends on that dev how he use it
PHP gets a bad reputation because it is such a forgiving language. It all goes back to how PHP is invoked on the server and its original purpose. Many languages require some sort of package or low level library to handle HTTP requests, but PHP does not. PHP was originally designed to preprocess markup languages like HTML/XML. PHP was not originally written to be general purpose language like it is today. In fact, PHP is so simple that you can just change the HTML file extension to PHP, and start injecting dynamic code. As a side effect, there is a huge variation in quality of code. Sure you can write clean OOP, but many sites have been running just fine as dirty PHP scripts. Many developers get anal over the optimal way to write code, but there is no right way to write PHP and that's why its such a fun language.
PHP is as alive as the ugly JS. It is alive thanks to its community, same as JS. But PHP is specially alive thanks to Composer and Laravel/Symfony (and I have to also add some CMS like WordPress and shopping carts like Magento or Shopify)
First of all, great video! Nice to see you all again ;-) But I want to state... I honestly don't get this whole php-is-dead-discussion. I am using php since around 2001, 2002, and since back then I think it's a great language - because it's exactly the way it is (and I was coming from Pascal and .NET Delphi). Difficult to compare to any programming language, with all its pros and cons. Who says, it might be dead? Then don't use it! And don't complain, as I don't complain about other languages I tried, but did not like. PHP is great AND is evolving great, and with frameworks like Laravel it's really fun :-)
Agree, even in the period when php had the most issues like in the beginning of the 2000, it was still the best language for that time although plenty other languages like python, perl, ruby, java, aspnet, server side javascript, etc were also available, the whole php ecosystem was just superior and it kept improving with each version organically
He've been learning It during 280 hours, and at the bottom I eneded up hating It. I hate to write -> for acces to a propery of a clases; I hate to write => instead of : and so on
I've been experimenting with different programming languages for many years now. But when I do client side scripting I still use JavaScript as appose to JQuery, but for server side scripting my go to language is PHP all the way. However some of you guys may hate what I'm about to say, I still use PHP5 as I'm not certain about backward compatibility with PHP7 or 8. If anyone says to me that PHP is a dead language, I would say then how do you explain that most of the popular CMS programs use PHP as it's base. I did so some coding with PERL and I hated it, web development with PYTHON I wouldn't touch with a ten foot barge pole.
There are sane defaults docker images on the Web, which is what you would use in a corporate environment anyway nowadays... And it's no different than configuring Gradle or VSproj file imo, it's just something you put in the server config, not in the compiler settings.
- basic syntax - sql - any popular framework (laravel, symfony etc) - some linter (phpstan, psalm etc) - the same as another langs Most frameworks in php cover all your needs instead of golang or nodejs, when you build custom boilerplates for each project with big amount of independent libs.
The reason why I like JS over PHP is that whenever I want to start a new project (no matter what for: desktop, mobile, frontend, backend or full stack) I can use the same language. Because of that I save a lot of time without having to switch between different syntax and rules. And because you can use it for everything, you get better and better at it so you will use it even more. It is like the perfect Swiss Army knife.
As a PHP developer, and Laravel lover, I think all languages except Javascript and high performance ones in the web world will eventually die. The reason for that is the newbies start with learning Javascript. Then they need something else to develope along with their web sites. And they realize that JS can be used for that purpose too. That means there is no need to learn a new language. PHP's weakness is not only its legacy, but also its limitations. We should be able to buıild destop and mobile apps with PHP. IMHO, a language can be used primarely on the web can't survive agains the veraity offered by JS.
That is the exact reason why I like JS over PHP. Whenever I want to start a new project (no matter what for: desktop, mobile, frontend, backend or full stack) I can use the same language. Because of that I save a lot of time switching between different syntax and rules. And because you can use it for everything, you get better and better at it so you will use it even more. It is like the perfect Swiss Army knife.
The benefit of PHP is that there are a lot of great offers; a great ecosystem. That said, PHP is a chore to do functional style programming in. The JS ecosystem allows a single language to be written for both BE and FE and also has a great ecosystem. It is also much friendly to a FP style of programming. Frameworks like Svelte, Remix, etc. are creating very compelling solutions going beyond full stack, all the way to edge compute and more complex distributed systems.
Used to love it, but in the last 10 years has become mostly useless with the releases of PHP 7 and 8. I am retiring this year so can finally just say goodbye to it.
i am very sorry this is now the third video that states php is dead, that's the only reason I'm here, cause NO ONE SAYS THAT; LITERALLY! So what is this joke of a statement?!
its not dead, but its dying slowly. I don't like Php way to inconsistent with how it does things and counter intuitive, Not to mention dealing with .htaccess files and setting up environment is a pain the ass. I get it some people will say "Its easy to set up environment" yeah if your doing super basic shit it is.
The reason I despise php is the resource handling of php-fpm, no matter how much you configure it, it can't handle as much as say a compiled language with a static frontend using js, or if you prefer ssr as php is, next as it renders everything in rust and again serves it staticly. To me it just doesn't scratch that spot, especially when scaling a project. It's only advantage to me is you don't need to pack as much stuff to get it up and going.
1- Can anybody except saying PHP is great bla bla bla mention some technical reasons on how PHP is great. Laravel using it for provisioning AWS is not a reason of why it’s great. 2- Asynchronous programming ? Really? All major languages have that. PHP is just catching up. 3- Composer is good. But it’s not like npm and pip etc are not good. They probably are better and offer much more libraries. Npm specially for backend and frontend. 4- Serverless? PHP is far behind other languages. AWS lambda doesn’t even support PHP as a language. AWS lambda even has GO and Ruby but not PHP. 5- I will concede the point that PHP is really quick and easy to get started with. Its database connections is really easy and useful. Auto loading in PHP is amazing. Documentation is vast. Magic methods and reflection classes are great specially now with attributes. Imagick is a great library still. Maybe PHP is still missing generics and debugging. It’s far behind other languages in having a clear framework or set of rules for microservices. But please don’t just blindly say PHP is great. Just like don’t blindly say PHP is dead. Give some technical reasons.
I liked laravel 8 until I was forced to embrace React due to the fact livewire was a total letdown. I needed a website with a lot of interaction that also performed well on SEO. Long story short I ditched laravel and embraced NextJS. Since I moved to JS for both front and backend it has been so much easier and the community effort to develop packages and educational content is way bigger than what PHP has ever been. I liked Laravel and I think PHP has its uses but at the time when I had to take this choice inertia was suitable only for SPAs and also the documentation for Vapor left much to be desired...
Livewire is a backend solution for UI, of course it cannot compared to React or Vue in their native enviroment On the otherhand, Inertia had offer SSR support for while sometimes, you could also pair nextjs frontend with laravel backend
They just repeat same points one after another: "php changed", "old critics doesn't apply", "we are legion" - same decade-old points. Sure bud, php is not dead. It just smells like that.
Nice try. I've been refusing to use PHP as it was crap in 2002, so I was still using Perl. I've moved to PHP later in about 2010 when front/back code separation became standard (and now you are trying to Mix it again), used few frameworks and I'm using Laravel for last year - Holly Shit how bad it is!!! Holly shit, what are you doing in it?! Magic can not be good. Everything can be done in multiple ways - how that makes it easier? Entire point of framework is to have some standard. It's faster to build some things from scratch in PHP than to track down documentation. Building bad framework on bad language can not be good. Backward compatibility sucks. It is practical for some use, but that makes it worse as beginners are pushing out crappy packages. There are a lot of bad tutorials and false information out there. Some are version dependable, but there is no information for which version it is related to. Symphony was better. Moving to GO. The only thing why PHP is still popular is WP, which is even worse.
If you are using a framework and expecting to not read the doc, then you are probably not fit for a dev "Everything can be done multiple way, how is this good?" Like any other language? C# had multiple way to achieve the same thing the the doc list them all. JS had like a hundred thing that do the same job. And dont even get me started on C/ C++ "It is faster to write plain php than to use framework" try to rebuild facebook in plain php vs in the framework and say it again