3 ms·
Learn Laravel. I use it on all my personal projects. I have a boring webhost which is sat behind Cloudflare. I push my code up to Gitlab and have a simple depl
by kypro 4y ago
Learn Laravel. I use it on all my personal projects.
I have a boring webhost which is sat behind Cloudflare. I push my code up to Gitlab and have a simple deployment script set up which automatically SSH's into my webhost and pulls down my latest changes.
Laravel allows to me dev locally with ease and makes common tasks like form validation, db migrations and various other things a breeze. When I'm done I merge to main, `git push` and my changes are live. It's great.
If you have some experience with PHP and have been a web developer for some time you'll have no problem picking up Laravel. I've always found the docs to be great and it's very intuitive to work with.
Some years ago I was a PHP dev, but professionally I tend to work with Node, Java and Kotlin these days. I wouldn't use any of them for personal projects though. I find I'm far more productive in Laravel and the ecosystem is mature enough that I know anything I write will be good for years. Plus, deployment is cheap and simple. I pay a fix price (around $100 a year) for my webhost and for that I get "unlimited" domains, storage and DBs. It's a bit slow on it's own, but behind Cloudflare it works great.
PHP is super underrated imo. It's perfect for small - medium sized projects on a budget!
- ElCapitanMarkla 4y agoAnd if you have any rails exp, picking up Laravel is simple.
- thomaslord 4y agoI'll second the advice to learn Laravel! PHP has gotten a lot better over time. For someone who hasn't used it since version 5 or earlier, writing modern PHP with a modern framework like Laravel will probably feel like whole new language. Speed has improved substantially, especially throughout the 7.x releases, and the type system has improved a lot as well. Laravel itself is a great framework with amazing documentation, and it should be very easy to get started. The one thing I'd warn anyone who's written "old PHP" about is falling into old habits. It's easy to write the same old spaghetti code and jam everything into the controller, but your code will be much more readable if you do some practice projects and intentionally expose yourself to the modern way of doing things. If you've been using other languages in the meantime, this may be an easier transition for you.
- spacesarebetter 4y agoWhich webhost do you use? And is it easy to run queues and schedulers on these webhosts?