Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "php laravel"
-
Was lead developer at a small startup, I was hiring and had a budget to add 3 new people to my team to develop a new product for the company.
Some context first and then the rant!
Candidate 1 - Amazing, a dev I worked with before who was under utilized at the previous company. Still a junior, but, she was a quick learner and eager to expand her knowledge, never an issue.
Candidate 2 - Kickass dev with back end skills and extras, he was always eager to work a bit more than what was expected. I use to send him home early to annoy him. haha!
Candidate 3 - Lets call him P.
In the interview he answers every question perfectly, he asks all the right questions and suggests some things I havent even thought of. CTO goes ahead and says we should skip the technical test and just hire the guy, his smart and knows what his talking about, I agree and we hire him. (We where a bit desperate at this stage as well.)
He comes in a week early to pick up his work laptop to get setup before he starts the next week, awesome! This guy is going to be an asset to the company, cant wait to have him join the team - The CTO at this stage is getting ready to leave the company and I will be taking over the division and need someone to take over lead position, he seems like the guys to do it.
The guys starts the next week, he comes in and the laptop we gave him is now a local server for testing and he will be working off his own laptop, no issue, we are small so needed a testing stack, but wasnt really needed since we had procedures in place for this already.
Here is where everything goes wrong!!! First day goes great... Next day he gets in early 6:30am (Nice! NO!), he absolutely smells, no stinks, of weed, not a light smell, the entire fucking office smells of weed! (I have no problem with weed, just dont make it my problem to deal with). I get called by boss and told to sort this out people are complaining! I drive to office and have a meeting with him, he says its all good he understands. (This was Friday).
Monday comes around - Get a call from Boss at 7:30am. Whole office smells like weed, please talk to P again, this cannot happen again. I drive to office again, and he again says it wont happen again, he has some issues with back pain and the weed helps.
Tuesday - Same fucking thing! And now he doesnt want to sign for the laptop("server") that was given to him, and has moved to code in the boardroom, WHERE OUR FUCKING CLIENTS WILL BE VIEWING A DEMO THAT DAY OF THE PRODUCT!! Now that whole room smells like weed, FML!
Wednesday - We send P a formal letter that he is under probation, P calls me to have a meeting. In the meeting he blames me for not understanding "new age" medicine, I ask for his doctors prescription and ask why he didnt tell me this in the interview so I could make arrangements, we dont care if you are stoned, just do good work and be considerate to your co-workers. P cant provide these and keeps ranting, I suggest he takes pain killers, he has none of it only "new age" medicine for him.
Thursday - I ask him to rather "work" from home till we can get this sorted, he comes in for code reviews for 2 weeks. I can clearly see he has no idea how the system works but is trying, I thought I will dive deeper and look at all of his code. Its a mess, nothing makes sense and 50% of it is hard coded (We are building a decentralized API for huge data sets so this makes no sense).
Friday - In code review I confront him about this, he has excuses for everything, I start asking him harder questions about the project and to explain what we are building - he goes quiet and quits on the spot with a shitty apology.
From what I could make out he was really smart when it came to theory but interpreting the theory to actual practice wasnt possible for him, probably would have been easier if he wasnt high all the time.
I hate interview code tests, but learned a valuable lesson that day! Always test for some code knowledge as well even if you hate doing it, ask the right questions and be careful who you hire! You can only bullshit for so long in coding before someone figures out that you are a fraud.16 -
So, you start with a PHP website.
Nah, no hating on PHP here, this is not about language design or performance or strict type systems...
This is about architecture.
No backend web framework, just "plain PHP".
Well, I can deal with that. As long as there is some consistency, I wouldn't even mind maintaining a PHP4 site with Y2K-era HTML4 and zero Javascript.
That sounds like fucking paradise to me right now. 😍
But no, of course it was updated to PHP7, using Laravel, and a main.js file was created. GREAT.... right? Yes. Sure. Totally cool. Gotta stay with the times. But there's still remnants of that ancient framework-less website underneath. So we enter an era of Laravel + Blade templates, with a little sprinkle of raw imported PHP files here and there.
Fine. Ancient PHP + Laravel + Blade + main.js + bootstrap.css. Whatever. I can still handle this. 🤨
But then the Frontend hipsters swoosh back their shawls, sip from their caramel lattes, and start whining: "We want React! We want SPA! No more BootstrapCSS, we're going to launch our own suite of SASS styles! IT'S BETTER".
OK, so we create REST endpoints, and the little monkeys who spend their time animating spinners to cover up all the XHR fuckups are satisfied. But they only care about the top most visited pages, so we ALSO need to keep our Blade templated HTML. We now have about 200 SPA/REST routes, and about 350 classic PHP/Blade pages.
So we enter the Era of Ancient PHP + Laravel + Blade + main.js + bootstrap.css + hipster.sass + REST + React + SPA 😑
Now the Backend grizzlies wake from their hibernation, growling: We have nearly 25 million lines of PHP! Monoliths are evil! Did you know Netflix uses microservices? If we break everything into tiny chunks of code, all our problems will be solved! Let's use DDD! Let's use messaging pipelines! Let's use caching! Let's use big data! Let's use search indexes!... Good right? Sure. Whatever.
OK, so we enter the Era of Ancient PHP + Laravel + Blade + main.js + bootstrap.css + hipster.sass + REST + React + SPA + Redis + RabbitMQ + Cassandra + Elastic 😫
Our monolith starts pooping out little microservices. Some polished pieces turn into pretty little gems... but the obese monolith keeps swelling as well, while simultaneously pooping out more and more little ugly turds at an ever faster rate.
Management rushes in: "Forget about frontend and microservices! We need a desktop app! We need mobile apps! I read in a magazine that the era of the web is over!"
OK, so we enter the Era of Ancient PHP + Laravel + Blade + main.js + bootstrap.css + hipster.sass + REST + GraphQL + React + SPA + Redis + RabbitMQ + Google pub/sub + Neo4J + Cassandra + Elastic + UWP + Android + iOS 😠
"Do you have a monolith or microservices" -- "Yes"
"Which database do you use" -- "Yes"
"Which API standard do you follow" -- "Yes"
"Do you use a CI/building service?" -- "Yes, 3"
"Which Laravel version do you use?" -- "Nine" -- "What, Laravel 9, that isn't even out yet?" -- "No, nine different versions, depends on the services"
"Besides PHP, do you use any Python, Ruby, NodeJS, C#, Golang, or Java?" -- "Not OR, AND. So that's a yes. And bash. Oh and Perl. Oh... and a bit of LUA I think?"
2% of pages are still served by raw, framework-less PHP.32 -
To all the people giving advice in my previous rant (https://devrant.com/rants/1627035/...), thanks!
I've spent a weekend running high and naked through the forest, and decided to quit my job.
Fuck PHP. Fuck Laravel. Fuck hipster startup companies. Rasmus Lerdorf, Taylor Otwell and my CEO can all go suck each other's cocks in a sloppy mess of saliva, cum and type errors.
I'm so sick of spinach smoothies and weakly typed languages. All active record ORMs are retarded, VueJS is worse than JQuery, Fatal error: Call to a member function iHatePHP() on null. WHY DOES PHP EVEN HAVE METAPROGAMMING METHODS, WHY THE FUCK DOES LARAVEL CHOOSE EASY OVER SAFE.
I'm going to use my heavily abused Macbook to surf out of this mess, on a collapsing wave of unresolved bugs.
On to the next PHP/Laravel job at a hipster startup!26 -
My Boss: How long will it take to create login and registration page?
Me: 30 seconds.
Boss: You can't be serious.
Me: (Spinned up Laravel, entered comand - php artisan make:auth
Me: (To Boss) It's done.
Boss: What!20 -
Spent 4 hours trying to figure out what is wrong. Next day, without morning coffee, fixed it & published in 10 mins.9
-
Hello there, just couple of words about PHP. I've been develop on PHP more than 10 years, I've seen it all 3,4,5,{6},7. Yes PHP was not good in terms of engineering and patterns, but it was simple, it was the most simple language for web to start those days. It was simple as you put code into file, upload it via FTP and it works. No java servlets, no unix consoles, no nothing, just shared hosting account was enough to host site, or even application with database. As database everybody used to have mysql, again because its simple to start and easy to maintain. So PHP+MySQL became industry standard on Web during 00-2012, and continues in some way.
You can write HTML and logic inside single file, within php code, even more single file may content few pages, or even kind of framework. That simplicity and agility sticks everybody who wants to develop sites with PHP.
This is pretty much about why it is so popular.
Each good or wannabe PHP developer in an early days write its own framework or library (like in javascript this days because of nodejs)
Imagine that PHP has hadn't have package manager, developers used to have host packages on their own sites, then various packages catalog sites created, and then finally composer. A gazillions of php code had spread over internet, without any kind of dependency control. To include libraries to your projects you have to just write include, or require. Some developers do it better than others.
So what we have ? A lots of code, no repositories, zip archives with libraries, no dependency control.
Project that uses that kind of code are still alive even today, they are solid hose of cards, and unmaintainable of course.
And main question that I'm trying to answer is Why PHP is not good ?
- First is amount of legacy code which people copy and pasted into their project, spread it even more like a virus.
- Lack of industry standards at the beginning lead to a lots of bad practices among developers. PHP code usually smells.
open source php projects in early days was developed in same conditions so even in phpbb, phpnuke, wordpress, drupal used to have a lot of bad practices in their codebase. So php developers usually not study by another library, instead they write their own frameworks/libraries.
- "It works", - there are no strong business demands, on web development, again because lack of standards, and concerns.
This three things are basically same, they linked to each other and summarize of answer of why PHP have strong smells and everybody yelling against it.
Whats is with PHP nowadays ? Of course PHP today is more influenced by good practice of webdev. Composer, Zend, Laravel, Yii, Symphony and language it self became more adult so to say, but developers...
People who never tried anything except PHP are usually weaker in programming and ecosystem knowledge than people who tried something else, python, perl, ruby, c for instance.
Summary
PHP as any other programming language is a tool. Each tool has its own task. Consider this and your task requirements and PHP can be just good enough solution.
"PHP is shit" - usually you heard that from people who never write strong applications on PHP and haven't used any good tools like Symphony or Laravel.
Cheap developers, - the bigger community, the more chance to hire cheap developers, and more chance to get bad code. That can be applied on any other language.
PHP has professionals developers, usually they have not only php on scope.
That's all folks, this is very brief, I am not covering php usage early days in details, but this is good enough to understand the point.
Enjoy.8 -
Hot take: PHP is pretty good nowadays.
I'm a Laravel dev right now and things just get done so quickly. Every language has its problems but the meme of PHP hate seems to be made more out of ignorance these days. You could find just as many problems with any other language.
For those that say I'm biased because I work through the framework more than the language, I'd ask don't you do the same? ASP.NET, Java EE, the millions of JS frameworks, all these also make your life easier within their languages.
In the end, work with what makes you happy and productive and be done with it.16 -
There's nothing like getting a angry client calling at 9am about their site being broken because their shit for brains son was messing around with my PHP.
They were legit cursing at me about how unprofessional and shit i was. Good start to the day.6 -
You study PHP, OO, Design Patterns, TDD, Zend Framework, Laravel, AngularJS...
Then you find a job, it's Wordpress...5 -
Anti-rant, finally gota PHPhant as a 'pet'. <3 LOL. Going to replace my trusted rubberduck companion with this.2
-
Applied for a £22k Web Developer Job Php laravel in particular and get tasked with this.
Well that isn't hard.31 -
Today is my 1st week studying laravel via laracast. I had fun playing with php artisan 😂
Btw I'm an Android developer, and
I'm planning to shift career because my company can't get any mobile projects 😥17 -
Share your VS Code installed extensions here.
Mine is: Alignment, Better Comments, change-case, Colonize, CSS Peek, DotENV, File Utils, GitLens (my favorite!), Gulp Snippets, JS-CSS-HTML Formatter, Laravel 5 Snippets, Laravel Blade Snippets, Material Icon Theme, npm Intellisense, Numbered Bookmarks, Path Intellisense, PHP Debug, PHP DocBlocker, PHP Intelephense, PHP IntelliSense, Prettify JSON, Quokka.js, snippet-creator, Vetur.
Feels like there are redundant extensions here that I need to uninstall.
Happy Friday and Cheers! Excited for Infinity War movie! 😎15 -
Laravel payment gateway
Ep 2 (part 1)
ps: all chats are dummy of the original of conversation and a little bit exaggerated but they are close to the original facts4 -
I like PHP.
It's not as bad as its reputation. Just because it's easy to learn, does not mean it's bad. In fact, with a framework like Laravel or Zend it's not so simple and keeps the whole spaghetti code developers away, which led to the bad reputation.9 -
Why is there such a big hatred towards PHP ? I have recently started backend dev in Laravel and it seems to be a pretty good framework. Most E-commerce frameworks are based on PHP as well. If PHP is so bad then why is it so widely used ?
I am not trying to defend PHP , but I genuinely want to know what's wrong with it ? I might switch to other backend tech then.12 -
When your laravel (PHP) project's GitHub metrics ends up like this, you question yourself "Am I doing it right?"1
-
I've learned A TON creating my own very basic PHP framework. I'm using it for basic personal small projects (login system, simple functionality) and I'm loving it. The customization makes specific repetitive tasks so much easier.
Don't get it twisted, I use Laravel and Symfony much more (and Javascript) but I would definitely recommend anyone to do it just for the learning experience.9 -
** Programmers Speak **
Don't know much about real life,
But Relationships in Laravel are important. -
Wow, after 4 years of working with PHP, and now working with NodeJS and ASP Core, I gotta admit that PHP is pure shit.
It's really awesome to see the documentation provided for NodeJs and ASPCore.
75% of PHP documentation isunreadable crap. Every fucking variable starts with a fucking dollar sign, wtf! How unpleasant is to read that. And holy mother of god, why concatenate with a dot ? We all know "+" means "add, aggregate, etc". PHP is unreadable as fuck. Fuck laravel, fuck Yii, fuck Composer.
Seriously guy, move to NodeJs or AspCore. Both of them are pretty good.16 -
My first rant/story
> 3 years ago company x decides to pay for my software dev degree
> fast forward to today.. x has no idea what I've learned as they never asked..(basically java,php,sql,android)
> x gives me a contract 1 week before my final exams and expects me to work everyday except exam days..
>next day, a dev contacts me - 'oh please brush up on your Vue, Node, angular as well as laravel php framework'
>I've never touched any of those xD fml.. what to do!?8 -
Solved a complex puzzle on a website for a local ecommerce business, mind you in 16 and not really looking for a job but an unpaid internship would look beautiful on a resume or university application.
They wanted to see some of my code and give me a tour and none of them despite them being PHP developers for Magento could wrap their heads around laravel or how the routing worked. They also didn't understand and raw PHP whatsoever. I lost all faith and walked out of their office when they asked why I was using prepared statements and how they worked. That was after finding out that they don't understand cloud scalability whatsoever or common security practices.4 -
I have been around in awhile because I’ve been learning PHP/laravel. Holy shit has PHP changed. Composer, Valet, Laravel, and Brew makes life so much easier. I used to talk shot about PHP but it’s now my new favorite language. PHP7 is fantastic.2
-
Frontend Developer wanted. Required skills: C#, PHP, MySQL, HTML, CSS, Jquery, Java, JavaScript, React, Angular, Vue, Laravel, Wordpress, Shopify, Docker, Git, SVN, Ruby.
Must have at least 3 years of working experience in a high level company. Only worked for A+ clients and ultra high traffic websites.
Also nice would be UX/UI, Design Systems, Wireframing.
Experienced in sales and cleaning floors. Getting coffee putting music on etc
Salary indication: €18009 -
Fucking tired of hearing the hatred against php. When I began learning php , i didnt know how unpopular it has became and now i' m in the middle of learning laravel, and i see people saying php is not even worth programming in. 😣25
-
So started job hunting and stumbled upon this
1. Skill required in PHP, Laravel, CakePHP, Wordpress, Opencart.
2. Bootstrap, CSS3 and HTML5 experience preferred.
3. JQuery, Vue.js, Angular.js, JavaScript, AJAX, HTML experience highly preferred.
and will pay 8000Rs/Month (112.88 USD)
Do they even know what they want? and at what cost they want to hire?15 -
TL;DR, I do node.js now.
__________________
There's much I was working on the past weeks. First of all some of you may know I don't work in IT and therefore always am learning how to make things easier in my workspace with tech. And my boss once told me how annoyed he is converting stuff to PDF for easier sending via mail.
Then I started to build PDF converter with
PHP and the Laravel framework. My first steps into it succeeded and I could even deploy my Pdf-wizard website, but everything feels like a hustle and making this application bigger don't really seems like a enjoyable task for me.
I tried the same stuff with Node.js then. It was damn good. It was simple, because there are plenty of packages wich do this tasks on NPM. Afterwards I spent some time on doing research and ended up learning Express Framework.
This brought new inspiration to me and I wanted to share this with you guys.1 -
Why do job descriptions for ONE developer position, list down ALL the known programming languages, all the web technologies and frameworks available? From java kotlin swift php js jquery node to ionic angular laravel python and what not. Wtf? And this is not one, this is about 70 percent of the job descriptions I see these days!!5
-
"Learn PHP! nearly 90% of the web is done in PHP"
That's EXACTLY the reason you DON'T want to work with PHP. Tutorials, SO answers, blogs, every source of info is FULL with bad practices, horrible patters or no patterns, spaghetti code... Most PHP devs are web scripters who have absolutely no background on software engineering whatsoever.
Do yourself a favor, unless you plan to learn Laravel and stick with it, don't, do not, don't'm'st, don't'm'st've go with PHP ... just don't20 -
Another chapter in the life of a novice programmer:
I work a lot with PHP and Laravel, but I feel I'm ready for different challenges. I spent all of last week searching online and getting advice on what language I should focus on next. My two first options were Java and C... So naturally I ended up choosing Python :P
At least I'm certain now and already started studying and wow, I think I made the right choice!3 -
Now this is true. Devrant changed me and now, after one of the devranters post I'm finally searching for a new job. Most of the time I was using PHP, but here I've seen lot of rants about laravel. Now I'm building a website with it and going to change my job. Thank you Devrant creators and community.3
-
I gave a chance to PHP using Laravel. My conclusions: Laravel is such a great framework, PHP sintax is hell but its a powerfull language.4
-
LARAVEL MEME OF THE DAY
If 60> requests are sent in a short amount of time (and you have Laravel Passport installed) you will not receive an IlluminateResponse instance anymore; you will instead receive a slightly different SymfonyResponse.
Why? For the glory of Satan, of course.
If your code doesn't account for that undocumented garbage, your code will start throwing middle fingers here and there.
Tell me again the productivity joke with Laravel, I've just lost an hour and a half 'cause unit tests were failing and I had no idea why.6 -
At work I use C# / .net but outside work I use PHP / Laravel.
I notice they are very similar.
Also .net used “razor”
Laravel uses “blade” - “razor blade”
Is there some sort of overlap between .net and laravel I’m not aware of?5 -
My company took over a project that was previously sent overseas . (PHP, laravel 5.1) so I was pointed a lead developer in this project, when I emailed the "senior developer " from the previous company about version control and code documentation. He assured me there was nothing to worry about . ... I found 450 line methods without comments and as version control I found zip files with dates as the name ... fML this is gonna be a long summer14
-
So, company I work at, is on desperate need of PHP developers, who can work in WordPress and Magneto. Company announced vacancy.
Only 20 CVs were dropped 4 days before from today. So company called all of them for interview and I was one of the interviewer. Most of applicants told me that they know Laravel but not WordPress.
I was like fine. Maybe they can work on WordPress too. But I was wrong. Here are some funny interviews:
Me: how many types of inheritance does PHP support?
Applicant 1: 7. Single, multiple, etc..
Me: Do you know difference between interface and abstract class?
Applicant 2: (he just said some gibberish)
Me: why do u prefer Laravel to WordPress?
Applicant 3: because by default Laravel support payment gateway, so we can create e commerce application faster. WordPress doesn't support payment gateway.
Me: how many WordPress site you have worked on?
Applicant 4: I have 4 themes in WordPress.org
Me: Do you create all of them by yourself?
Applicant 4: Yes
Me: Do u know difference between require and include?
Applicant 4: No
Me: Do u know difference between query_posts and WP_Query?
Applicant 4: No
Me: (facepalm)6 -
Job ad title: "junior Php developer position £20k-£25k/pa"
Job ad body: "5+ years experience required in Php, JavaScript, html 5, css, experience in laravel, Vue and react."
🤔9 -
FYI. Copied from my FB stalked list.
Web developer roadmap 2018
Common: Git, HTTP, SSH, Data structures & Algorithms, Encoding
------
Front-end: HTML, CSS, JavaScript > ES6, NPM, React, Webpack, Responsive Web, Bootstrap
------
Back-end: PHP, Composer, Laravel > Nginx, REST, JWT, OAuth2, Docker > MariaDB, MemCached, Redis > Design Patterns, PSRs
------
DevOps: Linux, AWS, Travis-CI, Puppet/Chef, New Relic > Docker, Kubernetes > Apache, Nginx > CLI, Vim > Proxy, Firewall, LoadBalancer
------
https://github.com/kamranahmedse/...2 -
Laravel is the only reason why working in PHP is interesting
and
PHP is the only reason why it Sucks8 -
Laravel payment gateway
Ep 2 (part 2)
ps: all chats are dummy of the original of conversation and a little bit exaggerated but they are close to the original facts12 -
Client: "documentation, oh you mean those grey texts the previous code guy wrote on the code files"
Me: I kinda need more than "grey texts on the code files" if you want me to actually fix the system and implement the new specs.
Client: oh you mean the Microsoft asp books
Me: It's a Laravel system sir, it's php not asp.net
Client: what are those?
Me:.................2 -
PHP with Laravel is awesome, best framework ever. I just wish my client is convinced, there is something he doesn't like about PHP9
-
Recently was in a recruitment hackathon for leading technology company.
So, to test ppls networking, team building skill they grouped ppl into a team.
I was teamed up with noobs, and had very bad experience.
One guy in the team was arguing to use PHP for developing a web app.
Me : What PHP framework are u good at!?
He: what is framework !?
Me : like laravel etc..
He: no I meant we use plain PHP!
Me (mind voice) : go fuck yourself, I am bailing out , I Do not need the job
Me : It's ohk we only know NodeJs , so, gave a wierd smile
He was still arguing ,but I gave 0 f***
This is considered as a fight!?
Yeah not the worst though
Apparently the recruitment ppl liked him a lot in my team!2 -
As a developer, I have grown to love/hate certain languages or technologies but this framework will always be bae to me <32
-
> Laravel lets you create migrations to manage the state of the DB
> your colleague doesn't give a flying fuck, just raw SQL on the db to perform every change
> performed initial insertions without seeders, can't reproduce his db on my local environment
> can't even run migrations anymore 'cause it would break everything7 -
Just wondering why most of you here hate php. I have multiple live projects using the Laravel framework, runs great and I love it!13
-
I wanna be a millionaire, so fuckin bad.
So, throughout this week there have been massive trials and tribulations regarding my lack of coding practice however through many nights and days coding I have almost completed the task I was set last week.
I didn't realise how out of practice I was so this posed as a big challenge for me. However I pulled through and tomorrow it will be ready to send for the interview!
I also have another test to do in vanilla php - Typical blog which would be such a doddle now I'm back in the zone. I just have to remember I'm not using Laravel!
The sense of accomplishment is real and I'm so relieved I've come this far. Maybe I will have this career of my dreams which I rightfully deserve.
Below is Stripe, doing random tests :) -
I built a basic MVP for a client as a proof of concept for his startup. It was a quick thing just to prove a point do I rattled it out in procedural php.
Sadly it was successful and has somewhat taken off. It’s also grown arms and legs.
It works. The user will never know, but the code is SHIT. I never thought it would still be here.
I’m want to re-write it now in laravel.
But...... ugh1 -
If I see one more Laravel dev I'mma commit a war crime
If I see one more Laravel dev dropping env(something) around the code I'mma commit _SEVERAL_ war crimes
Remember kids: you don't work with Laravel. If you do (you don't, but let's assume), ENV IS USED ONLY IN CONFIGURATION FILES, OR LARAVEL CACHING SYSTEM FUCKING BREAKS. Ok?11 -
I want to write something in PHP.
Yes, coming from me, it sounds like stockholm syndrome, but for me PHP is reminiscent of simpler times.
I want to get a server right where I bought the domain, with CPanel, log in with FTP and ~~push~~ (excuse me, _send_) index.php and other files there. I want to open phpmyadmin and throw some stupid fields together that won't work at scale, but "scale" will never happen.
I want to design websites without normalize.css, without any kind of javascript but some silly UI stuff, I want to send emails with sendmail and not sendgrid. I want my gradient buttons back.
Symphony and Laravel can kiss my ass.9 -
Just got our development Laravel docker image down to under 124 MB with alpine linux. The satisfaction...11
-
Well guys I was wrong the other day, Laravel is the most beautiful PHP Framework I've used to date.2
-
I had the oppertunity to join a non profit organization to help them automate stuff instead of serving the army. One of their core applications got rewritten like a year ago from a terrible and very old Symfony stack to Laravel / React.
The guys who were in charge for the rewrite didn't really adapt the mindset of either MVC for Laravel nor the component idea behind React. There are a few controllers in the backend, but they sometimes have functions defined which would clearly belong in a model or service class. They rarely defined relationships on models, instead they're joining the tables together for the same effect. The frontend rendering mostly happens in for loops over the returned array from the API instead of breaking things down into little components. This ends in components which have sometimes over 1000 lines with super-nested logic in it.
But I did find my favorite piece of code today in of the controllers. Some many questions ...6 -
Who loves Laravel (php framework) as much as i do? How long have you been using it? First time @devRant, pretty cool app! 🤓👍👏4
-
upwork job "Full Stack Developer with Laravel, PHP, Java Programming, Android, AWS expertise needed"... you guys forgot rocket scientist too6
-
I like PHP but every new tech is about all the other languages ! Recently i was searching for microservice architecture and oh it's so easy with nodejs ! It's ready made for Go ! Java has a library build in ! What about Symfony ? Laravel ?18
-
One day at the office at whoever built Laravel
Dev: sir, most of devs use php, we can use good old php expressi...
Boss: no, dump all of them, we'll create our own functions that do same job
Dev: ok... So our devs will use mysql, we can use sql quer...
Boss: dump them all too, again, we will make our own functions that dont look anything like that
Dev: we can also use standard...
Boss: NO STANDARDS! Creare every single php method or sql query in another method that does the same job... -
> Mister IHateForALiving, we need a new table on the website do to thing
No biggie, we know there's a datatable plugin somewhere.
> No, you can't use that, it doesn't have pagination
Oh, right. I also see here it was last updated 4 years ago, it's kinda shit too, it's like the inbred cousin of a real datatable. Ok, how did you tackle the thing until now?
> There's a script template somewhere in the page, we iterate over that to create our tables
Ok, but I'll have to write some logic for that, how much time do I have?
> I want this to be online by this evening
Can't be done, what if we used a normal datatable like normal people?
> No, it looks too different from the real site
How am I supposed to manage the thing then?
> IDK, just reload the page every time
_____________
And here we are, triggering a full page reload on an already bloated Laravel app (something like 600-800ms) for 20 lines of json. Great idea mister team leader, but consider the following: fuck you and your bastard lineage.4 -
Okay so i graduated last year and got a job working for a place that sadly disappoints me in their web development practices. This place uses a dead technology(my opinion)called Cold Fusion by Adobe. They do not use any form of version control like Git and their sites are very shitty and the design and development is implemented very poorly honestly. It honestly makes me sad that i feel like im smarter than my department vp. That being said i do not feel challenged here and am looking to collaborate in some open source projects via Github preferably.I dont consider myself an expert in this field but i would say im about intermediate level in web development. Im pretty comfortable with HTML,CSS/SASS,PHP,JS/JQuery, and im pretty comfortable in the PHP framework Laravel. So if anyone is interested in collaborating or starting something up, id be so down for it. :)7
-
This is so annoying, I had 9 diff. jobs the past 2 years and this is my 10th and if this doesn't change I might reconsider my options again.
I came to work at a company that pays me like a Junior and treats me as an intern. My 20yo "boss" who acts as a project owner/lead dev doesn't want to learn anything new and sees any improvement as a waste of money. The problem is he thinks hes a great programmer but he doesn't know shit. Im mainly working on the Laravel installation because "I claimed I know Laravel". And its absolute garbage. They haven't used a single Laravel features besides routes and everything else is vanilla PHP. They write for loops that loop through $_REQUEST to remove a single character. Write 100 deep nested ifs and they abuse Elasticsearch to the point ES crashes because the program is using 1000 deep multidimensional arrays. Its only a webshop...
Everytime I try to make a suggestion like making the master branch protected, doing code reviews etc etc I get shut down because they are autistic and don't want anything to change.9 -
Hey guys, quick question regarding employers and stuff.
I'm 14 and I've been learning and making things in PHP for around 1 and a half years now. I quite like PHP as, despite the code being quite messy sometimes, it's super easy to learn, and has plenty of features for any use case. My biggest concern is that, when I end up getting a job, whilst 5 and a half years of experience using the language is good, do you guys think PHP will still be in-demand, or should I look towards learning a new stack? Perhaps I should use Ruby on Rails, or Express - React and Redux, or maybe Django? With so many options available for developers, I'm finding it difficult to choose a stack that will stay in-demand in the future. Could anyone help me out with this? Thanks.
Edit: I've been learning Laravel, too.15 -
Is there any way to have both blade templates syntax highlighted and not lose the php intellisense in vscode?
Using the laravel-blade plugin does solve the blade highlighting, but removes any php intellisense and none of the intellisense plugins seem to fix that8 -
Switched from php/laravel dev to frontend JS dev.
Decided to free up diskspace by uninstalling unneeded applications like MAMP, phpstorm and composer.
Feeling a little sad :/
Goodbye old friends since I spent 100 hours mastering you.11 -
First rant here..
So earlier this week, on a php Laravel project, I created a set of nice new features.
The code is tested, locally all fine, I push to Github, circleCi kicks in and double checks myself, still everything green. (Just for a not, its a private project so only I work on it.)
I go ahead and merge, deploy to staging and continue on my next ticket, which is a very small one.
I call it the day, next day I pick back up where I left, test locally, all green, push... then circleCi says no.
I spend 2 days debugging, trying to figure out what is wrong without advance. I just push develop branch again, guess what also failing.
I leave it for the day as I already spend enough time on it.
This morning, I simply do a composer update, push and everything miraculously starts working.. even if there were no changes in the working branches.
Im so mad right now, and this is going in my "try this before you debug a ci" book..2 -
I fell in love with CodeIgniter...
It's just a so simple but powerful and feature-rich PHP-Framework.
I like prefer CodeIgniter over Laravel!15 -
True Story
I just finished a project, it was a rewrite, the original used the zend framework about 7 years ago. It took a team of programmers (I think 4) to code the site, and it took them about a month.
Just me, and Laravel, took me 3 weeks to do the exact same thing. Ok, I didn't have to create any content, so I'll give them that, still, there wasn't much to create.
Should I be applauding my genius? Or, Laravel's magic?
I'll say... both.3 -
Why people diss php when they don't know about php7 and awesomeness like laravel..
Framework for artists indeed6 -
"When you hit 10 joins, you should contemplate your life choices. By the time you hit 15 joins, you've just entered the realm of no return." - Me when I find out that a query I've got a ticket for(because it's taking too long) has 18 joins to tables with no indexing at all.5
-
Does anyone find the laravel documentation just lacking? It seems like it the twitter feed of documentation leaving out very important information that leaves me banging my head for hours. I really like laravel and much better than working with raw php but I wish there was an option in the drop down for additional a more flushed out version with more code examples. I understand experts don't want to parse through tons of text just to find the correct artisan command but c'mon.5
-
Fave languages and frameworks, go!
As of now for me, loving these:
PHP8 and Laravel with Livewire*, Django5.1, MariaDB. PHP must stand for PrettyHeckinPCoolasFFFFFFFFFUUUUUUU
*after using React and Vue for quite a while, I've concluded that the best front end is back end. And I like Postgres, I just find that MySQL is fine for most things.25 -
Man im alt tabbing between
Php Laravel, Typescript ionic, Html design
for last 20hours ... No i havent slept
Neglecting the fact that i have autism from the equation,It Seems to me that im doing a lot of hardwork..
Can i call myself a full stack developer ???
Plz ... pretty plz....10 -
A petty rant but I'm going for it anyway.
I don't like how Trongate is bashing Laravel, claiming that it is a "better" framework and "Pure PHP is back".
It's fine if you built a framework that is better than Laravel, good for you. But don't go around bashing Taylor Otwell's work. As someone, who has spent a major portion of my career in IT as a Laravel dev, that hurts to see.
IMO I think they never understood why Laravel became popular in the first place. It wasn't because it's the fastest, but because how beginner-friendly it is and how easy it is to maintain and many other perks it has.10 -
The best way to learn something imo is starting a project
I used to start small projects for that but now im doing my biggest project with laravel now its 90% done2 -
Who the fuck invented the glorified pile of shit people call laravel? Is this actually used in PROD for anything else than load testing a monitoring server by creating loads of error messages?
OOP exists for a reason, not to create bazillions of classes with static methods.
Dump that shit ffs!6 -
Completed a project in summer for a client based on Laravel and kept working on other projects based on same framework. Today went back to add some functionality ended up feeling miserable looking at my own code. Don't know how to feel about this.3
-
!rant
For a bunch of application redesigns that we are doing at work I am letting the other two developers in my department help with selecting the stack. Normally, we work with Java and PHP, and while they seem to enjoy php I find them concerned at the possibility of making it more Java centric.
So I compiled a list of examples of different tech stacks that are not only more modern (cuz our Java stuff is old JSP stuff) but also simple to learn and use. Mind you, the point is to make this a gradual change, not just rewrite the entire house from scratch.
the list contained examples in:
Python: django and flask
Ruby: Ruby on Rails
Java: Spring Boot
Golang: Small self made mvc framework I built, nothing fancy on it, it uses templates and shit, didn't make it api centric
Node: Express examples in both vanilla JS and TypeScript
php with Laravel.
Since we work with php most of the time as well I imagined that they would be more inclined for Laravel, but I was wrong :P they seemed to like the Node Express route and the Golang route more than anything else with Python and Django being close.
Personally I know that there is more to selecting a stack, but initial perceptions make for a lot of things in selection of the stack.
Pretty excited, if they gauge everything considered in regards to what we have and we found Golang to be a clear winner it would give them the chance to add a nice and competitive tech to their resumes.
not a rant, or anything per se, just wanted to share some stuff with y'all2 -
Our dev uses laravel and instead of doing a sum to get a total of a couple columns he is getting all values and manually counting them up in the php.
he keeps telling he cant improve and i cant work on his code because i know i will break the rest.
when i looked at the code i had the following feeling.2 -
I'd probably get laughed at for even mentioning "php"..
But what is the best framwork for getting started with PHP to build some complex site?
I have seen some here talking good about either codeignitor or laravel. Not sure.17 -
I recently finished high-school and got a job in PHP Development. My employer told me to make a simple app wich OAuths you to your Discogs account and receive your library list. I got hired afterwards and now i work on a huge project which launches in less than 2 weeks. The day i got my job i havent worked with Laravel but ~ 3 days.
When you need to learn something due to the pressure, you'll learn faster. It's the same as learning a new language - I'd rather go to live in a country where it's mainly spoken that language and learn it due to the necessity than buy courses online. -
thinking about getting a laracasts subscribtion, is it worth it at all? I've recently been working with PHP a lot, and my OOP skills are pretty narrow tbh, I wanted to learn more OOP and laravel, because there are a lot of job's that require you laravel knowledge.5
-
that BS thing you do when your too lazy to code and just copied a code from an existing class and renamed the vars even if it does not work or not being used just to show your boss that your working hard as f*2
-
I wanna rewrite a small php site with a microframework. So far, I've found Silex and Lumen an interesting choice, but I can't decide which one to go with, since both are new to me. Though I'm using Symfony a lot and haven't use Laravel yet and these micro ones are their lite editions, I'd choose Silex but Lumen seems better at first glance, so I'm uncertain. Which one do you suggest?undefined symfony laravel silex lumen helpme help phpftw php microframework choice suggestions are welcome8
-
Web developers, please recommend a tech stack. I have work experience in Laravel, Angular and Node Express. Personal small experience only for Vue and React.
Frontend: Angular, React or Vue?
Backend: Node Adonis JS or PHP Laravel?
CSS framework: Angular Material(angular), Material-UI, Tailwind CSS or Bootstrap?
This is for a personal project API based. What frontend backend tech stack are you using right now? Thanks!23 -
!rant
I built a webinterface a few months ago. it was based on the php framework laravel. but i want to change to nodejs in combination with mongodb.
do you know good nodejs mvc frameworks similar to laravel?3 -
Asking for an expert, what do you think about laracast videos, on php and laravel? (Free course only)5
-
I hate PHP. Because of its bad reputation... In fact, i kinda avoid learning it.
Anyway, I Got a good offer.. but their stack is mostly done in laravel...
Shit.. what should I do?12 -
Last week me and my friend have been changed from a legacy PHP project to new Ruby on Rails-based setup. What, in first instance, looked like a great improvement, now becomes a nightmare.
All this convention-over-configuration is awesome - but only if you already know the conventions, or if somebody told'em to you.
And everything is going even more out of control because the damn project is based upon Spree gem and several other extensions, that MUST be changed to meet out company needs.
I'm getting really mad with all this pressure. Ruby seems to be a great language, but I'd rather be working with Laravel. Its overall organization, the centralization of CLI commands in artisan, and the astoundingly clear, eloquent, direct and well-designed documentation made my adoption curve there a little more pleasant.
I mean, legacy PHP systems are awful, but Laravel framework sounds way more easy-to-learn and well-constructed when compared to rails.
But given all this nightmare, I really want to be proved the opposite.1 -
Don't you just love it when a client turns around at this time of year and tells you that there is a new project and it's due by the middle of January!
And then they tell you the specs... Wait... What? How? Ummm... So you want a test app that is basically a fully working product that would take months to build ready in 15-20 days.
I'd rather drag my balls along sandpaper and dip them in vinegar...2 -
I just fixed a bug I've been trying to fix for over 10 hours. "Email not sending in laravel notifications but sending with Mail::send". How did I fix it?
Changed "email_address" to "email" because that's what the framework was expecting.
How do I explain this to my client? 😂😂3 -
I have a programming tutorials website I built from scratch in the PHP framework Laravel 5.4. Recently my friends have been pushing me to use WordPress instead.
I haven't worked with WordPress yet but I just hate it. I always think that it will not give me the flexibility I might need when adding new features.
This has put me in great doubt and anxiety about what I'm doing.
Is wordpress a better choice? I'm I just being lazy about the WordPress stuff?
I'll appreciate any advice on this.6 -
This idiot client wanted me to code within a laravel app. He wanted me to use laravels translation helpers. He also wanted me to put every piece of code into a php file in the public directory and I must not change any of Laravels framework files...
I denied.3 -
procrastinative coding is a bad habit of mine. I've been using php for 10+ years and just recently got into laravel. I have to say I love it but at times I wish I could have learned the entire framework before starting my project some time ago. as I am coding I learn new tricks with laravel on how to do things and have to waste time and go back and change existing code... or tell myself "I'll come back to this after the launch".
I'm just wondering how other people handle taking on new frameworks3 -
Just got an internship a few days ago. The manager threw a project at me. I have to do it alone. It's a user-system (registration, login etc.) The front-end is ready. And I have to build its back-end in PHP. I started to draw the project on paper (pseudocode) and then asked a few questions about design patterns to jump into coding. They recommended me Laravel. I'm good at PHP (procedural) and have done some basic OOP. I've actually built a few projects in Python using OOP. But I've never used any framework (yeah, I know). So I started to learn Laravel and realized that it's very different than normal PHP (procedural or even normal OOP). I almost don't write any normal PHP code. This makes me confused. But I have to learn it fast and well, and finish the project to hit the deadline and get the full-time job. I'm desperately looking for any kind of help to learn Laravel more effectively! I've googled and got some recommendations. But I need more live help from devs directly.5
-
Dev: Now that I finally know PHP and JS it must be really easy to find a good framework and use to build my beautiful website.
The options are limited: AngularJS, ReactJS, Ember, ActivateJS, BackboneJS, ExpressJS, Laravel, RactiveJS, Node.JS, Meteor, Knockout, Symphony, Codeignitor
And yes, you thought if you don't like AngularJS you can easily switch to ReactJS. But guess what, every framework will use their own scripting languages like Jade, Blade, Typescript making it learning something new extremely smooth.
The documentation will be part of another rant3 -
So i was considering to start learning laravel but after all the hate php gets, i'd like to ask for your opinions guys.
I recently started working on django for a college project and that made want to learn new stuff, so i'm hesitating between JS (plain Javascript, jquery, node, angular...), laravel, ruby on rails or anything that could help me both on frontend or backend.
Any opinion is welcome and most appreciated11 -
For : Web devs, especially corporate website developers. (home, about, services, contact pages with content update features, bla bla)
Question : Is there an open sourced PHP solution between Wordpress and Laravel?
Reasons
- I do not want full framework like laravel for such simple website.
- Laravel is too much and heavy for standard corporate websites and not all clients can afford ssh-enabled servers.
- I do not want full CMS features like plugins, themes, etc from Wordpress.
- Wordpress themeing is not super difficult but also not as simple as Laravel's blades.
- I also don't wanna go static since the content update needs to be dynamic.
- I am willing to write own templates, CRUDs in minimal approach just for specific parts based on clients requirements.
- I want something that can easily host on shared hosting. (do not have to worry about composer and ssh)
Any thought?8 -
Me and some friends are working on creating a food recipe app and webapp. Currently in Norwegian, but would it be worth the trouble of translating all content and the app itself?
Backend written in PHP/MySQL with Laravel and app written with Ionic Framework v1.4 -
I know this isn't stackoverflow, but here goes.
I am developing projects in php, mostly Laravel atm, but as the project grows the project gets messy.
My code works, but I get confused if methods I do belong to a controller, if I should put them in a separate class and so on.
I am currently subscribed to Laracasts which seems to cover a bit of this, but do you guys know of some good ressources?13 -
!rant
I just made my API in my laravel and I understand how it works! It may seem like not a lot, but I got from far.
Just came two years ago in this industry as I worked as a customer service agent for a hostingcompany. I entered a whole new area what I immediatly got into at the time. Mind I already was studying Biomedical labresearch at the same time and was the IT guy in the family. Well, think back then I was just googling and fixing shit most of the time.
I was 21 at the time and began to learn everything I could learn in my position and soon it was not enough and wanted to learn more by working parttime(study already asks a lot of time). I soon applied as Junior System Engineer within the same company without prior education and got the job! And I'm back feeling I entered a new area where you feel you can do so much by just learning how it works. Now I want to learn to develop in PHP so I may make another step further.
Not a rant, but I want to share my experience as labrat starting to someting programming(did some bio-informatics, which was really interesting but with less emphasis on programming but more on data analysis). Still got a gigantic of list I want to learn from languages and frameworks to orchestration systems. -
Today I visited a friend at work because he needed my help. He has to use WordPress.
I think I have collected frustration within 5 minutes than I would have when working a whole day with plain PHP.
I told him to take a look at laravel when working on personal projects/webpages.
Can I consider myself to be a good friend -
I'm looking for collaborators for a site I'm making in laravel for my dad's apple/produce orchard business. I've pretty much have finished front end design but could use help in the back end development. I can't really pay anyone right now because I'm broke but it's more resume material and you would be helping a brother out so anyone interested let me know:)18
-
Created an affiliate tracker / split test tracker / campaign tracker for my Laravel project in 1.5 days.
Not bad, not bad.
Now, should I offer it on github? Seems like I might be kicking myself in the balls if I did.
On the one hand, I don't have a lot of time atm, on the other, I'd love to meet fellow programmers who seek out and would want this, and perhaps contribute. Could lead to some great partnerships down the line..
Anyone have experience with this? Did it take a lot more time than you thought, did you meet other programmers and ended up collaborating on future projects?
Curious.. -
A common walkthrough with Laravel deployment:
1.) Error 403
2.) Internal server error 🤔
3.) bad require paths in index.php....
4.) Whooops something went wrong.. What?.... Look at log file with 2MB size
5.) View not found1 -
How do you think about Laravel?
Does it made PHP more simple or just satisfied lazy developers 😀?10 -
Laravel being easy to use is far from a strong point. "Easy to use" is a cool thing for pro developers who know what's going on under the hood and don't wanna write the same thing a hundred times.
It should translate into good developers being able to work immediately, not in bad developers getting away with whatever without getting even a slight warning just because the framework itself accepts whatever weird crap you can come up with while you're training.
But that's what it became: a free for all for every noob out there. You find yourself working with a slow application (and by "slow" I mean "slow even by Laravel's standards", which are fairly low), and as soon as you look what's going on you find someone decided to load a hundred thousand middlewares, queries optimized like ass on top of Eloquent, and the whole application breaks as soon as you just run config:cache to try speeding it up a little bit, because env-ing your way out of whatever problem is so quick. Easy to use needs to be there for pro developers; give such a tool to a newbie, you end up with a maintenance nightmare3 -
Built a e-commerce site using Laravel for the company I work for... I'm part time and only make $12 an hour and I'm technically just a system administrator. Half tempted not to give them the project until they sign a contract that either makes me full time and better pay or like 4% commission for every sale in the site for the first 2 years or something.5
-
Trying to set up and begin a project in laravel has been the worst environment setup experience I've ever had.6
-
Using symfony for years. Tried to help a friend with Laravel. I feel like I was rolling in a mud for 3h.1
-
Quick Question
Suppose I wanted to apply A.I. or deeplearning to a very simple marketing activity I have in mind...
What's my learning curve looking like? I'm a backend programmer with roughly 3-4 years
experience in laravel/php right now. I've used
almost every inch of that framework.
Just curious. And any path anyone would suggest? thanks3 -
I just released a new Laravel package. The concept behind it is to use PHP for everything, so you no longer have to write HTML, CSS, or JavaScript. No more constant file and context switching. It also allows you to create and use components in the same way you would with JavaScript libraries like React or Vue.
It's called Malzahar. A magic PHP framework. Build reactive web apps without writing HTML, CSS, or JavaScript! Powered by Tailwind, Alpine, Laravel, & Livewire.
- Github Repo - https://github.com/bastinald/...
- Demo Video - https://youtube.com/watch/...
Thanks for checking it out.6 -
Codeigniter (a PHP framework). Every time I stumble upon a CI project, it's always a mess, since they don't have that good of a documentation like Laravel.2
-
When we have Python,Ruby,Elixir,Scala,Clojure,Js
why we should use PHP LARAVEL ?
i cant understand persons which use php & laravel
why u use php or laravel ? how its possible to use php-laravel instead of cool things like Django -ROR ? Are u crazy ?13 -
Told my boss that i don't understand Laravel because i never use PHP in any project before.But he told me that it is so easy and give me 2 week to explore.
I know java, c#, python but don't know why it's hard for me to understand Laravel framework.15 -
React, it's declarative way of doing things, and the functional programming methodology it prefers.
Realized how much I've moved on from for-loops and class/object instance to maps, filters and immutability/observers when I worked on a Laravel project after so long and found myself forced to do things in the, erm, "PHP" way, despite spending my initial year and a half of programming working exclusively in PHP.
Sure, there's Class Components and imperative techniques in React but I had blissfully settled into using the flexible nature of doing things enabled by both native JS and React, with hooks, Lodash/Ramda and (almost fanatically) pure functions1 -
ok,. so i've been into job hunting for a while and i found this rather attractive posting with reasonable salary and work hours, it clearly states "PHP Backend Programming With Laravel", so i applied, a day later, i got in contact with the employer via skype, and to my surprise, the employer told me that skills in c# is required because the job position is for a senior c# dev... smh2
-
Imposter syndrome.
A question guys, I'm a web dev since 2012, started with php, then shifted to frontend, for 3 years my main was PHP and basic HTML CSS, in 2017 I shifted to / did courses on vuejs, angular and react (loved angular the most) also laravel. Have also dabbled a bit in python, for crawling and mining. The problem is I've never worked with a team or for a full fledged Dev company, so I'm unsure as to how to judge my growth and whether I'm moving in the right direction. I feel like I need a lot better understanding of Linux usage and server control, or should I learn nativescript etc.
What do you suggest? Should I simply look for a mentorship program, if yes any clue where?4 -
After working with Laravel for a while and all the awesomsauce of blade engine, I had to go back and make a Wordpress theme for a client...
The amount of opened and closed php tags in view files is just hidious to look at... :(2 -
Anyone know a good open source web page builder? If there's a laravel integration would be better.
Got a client needs this very soon!
Sort of just assumed someone did it, but yeah, like there's lots, I see wink, grapejs, etc. But there's gotta be one perfect for my needs.
Thanks!8 -
Feeling useless over something probably ridiculously simple and straightforward.
Test written: check
Route defined: check
View created: check
Controller method defined: check
Testing... Error: Controller method not found
Save me stackoverflow!!3 -
What are your thoughts about Symfony VS Laravel?
I prefer Laravel. It is much simpler than Symfony but most enterprises are using Symfony. However Laravel is keeping up also (gaining a lot of traction and users).
Laravel = Symfony on Steroids
I wonder why so many people prefer Laravel?
Who's a hardcore Symfony user here? I experienced using both but I prefer Laravel.
Right now I'm studying NodeJS, Express, Angular as it is more popular than Symfony. Also most requiremetns in job posting nowadays.6 -
Question.
So I mainly work as a front end developer but I want to look into more backend stuff, would it be worth sucking it up and learn PHP and Laravel or Node.js and use something like Adonis?5 -
Met Symfony first .. fell in love .. Then I met Laravel fell in love again ..! Now am confused with whom to propose .. :/3
-
Today, I want to send a POST request from Siemens PLC as a UDP datagram to an apache webserver running PHP and Laravel. It's definitely something wrong with me. It's like 98% failure. :D3
-
Which php framework is worth getting into? Laravel seems to have most market or should I go with CakePHP or even something else? any info is appreciated (how are the docs, is it hard to find solutions, how is the error handler, how hard is it to learn etc), I am sure people around here have used a good amount of them and can tell their rage or good things about it. 😳8
-
Almost 2022 , I am still confuse why the f### the company downgrade the project from elixir phoenix to nodejs to laravel php.6
-
Seeing a lot of hate against PHP here. It used to be a shitty language with no decent frameworks, update yourselves please, it's getting embarrassing for you. WordPress, laravel, Zend. That's 60% of the web. We run this shit.7
-
Why can't I wrap my head around laravel enough to build an authentication system I've built before 😖😡😠
External Login Service and my app would be an OAuth2 client receiving an id token...and no there isn't a third party integration for this login service5 -
Oh god..
Starts using Laravel Framework
Code some lines
Everything works fine now
*Let see what happens if I delete this*
Error
Naturally
*Redo delete*
Run *OK, now it should work like before*
Error
Why??3 -
Why would anyone want to run Laravel when it runs so much slower than raw PHP? Surely the development time saved is negated by the amount of optimisation work required?4
-
Guys, which code editor is better for PHP/JS/HTML/CSS? I mean, with more addons, code completion, and so on..
Atom? Sublime? Brackets? VS Code?
Thanks!21 -
Im a php backend dev for over 7 years. (Lately mostly laravel).
Im going to look for a new job and have 2-3 free weeks to try and learn a new language and switch to that in my next job.
Please advise if i should
1. Switch to Python (should be relatively close to php oop) + opens AI jobs opportunity for the future.
2. Switch to NodeJs. (Web/api knowledge similar to php) + will be easier to learn frontend skills later (ie angular/etc)
3. Look for another PHP job. - if 2-3 weeks is not enough time to learn nodejs/python well enough to get an actual job without experience with them.
Really can't decide which path to take, please help10 -
Me, when I figure I'm looking at the documentation of a different Laravel version and Otwell decided to fcking change shit again.1
-
Just started my first small laravel project (a chat app). current state: i can chat with myself -awesome! Almost forgot about this good feeling learning great new stuff :)1
-
When you were up until 3am figuring out why you're Guzzle cookie jar in Laravel wasn't working...
Needed:
$this->app->bind(...);
Instead of:
$this->app->singleton(...);
Stupid service providers... -
How bad of an idea is to delve into php in 2019? But since I have to, I would like few links on how web applications are made in php or it's frameworks such as laravel.5
-
I just learned the existence of Laravel. It made my life 1000 times better. I will just abandon the normal PHP coding workflow, I will juet use Laravel now. I love it.5
-
OK, not so much of a rant, but here it goes. As a JS developer having only used JavaScript and the jquery library I am having a hard time figuring out Angular, and some practical use cases.
All the guides I have Bern looking at have had Angular control the routes and load content (as a one page application) but can it be used in another way, eg having Laravel control the routes and load PHP pages using different Angular controllers depending on page loades, or would that eliminate the benefits of Angular altogether?4 -
Just found that asp.net is more preferable than PHP framework in current trend, can anyone explain to me? Currently using Laravel framework3
-
3 hours 3 devs "I definitely haven't changed anything that would cause this" "oh wait, I have this hidden magic feature which sets this to make it easier for me" :@ Laravel magic should be banned!!
-
In 2014, Year i started coding/developing for web. Back then people around me used core PHP, Wordpress and some even used code ignitor.
I learnt about Laravel and started working with it and got more and more involved in it.
Till then i am working with Laravel and mastered it but as learning curve decreased now everyone around me uses Laravel and also have adapted themselves to use multiple languages along with such as nodejs.
Now i feel outdated (Though i have better knowledge) i feel leaving Laravel or even web development and go somewhere else.1 -
That shitty moment when you are finally about to release your code, after about one month of developing and testing, and making sure everything is OK, imagining: "Oh we're finally releasing this feature, I have worked so hard on it, it's going to kick some ass!" but surprisingly things get fucked up on production server... I mean seriously? Stupid middleware I killed myself to get to work messed up. Where the hell have you been in staging, you stupid little bug? You happy now? My CTO giving me awkward looks and shit like: "I'm sorry but you have to come fix it, during weekend." The best way to fuck up my mood, today is the last day of week for god's sake!
I hate releasing like this. seriously SAG in this release!1 -
Laravel Excel is shit and has shit documentation as well. PHPExcel may not be as pretty as a bunch of callbacks but it's more efficient and actually gets the job done.6
-
When you see someone bragging about how he created his own framework because he hates frameworks like Symfony and Laravel but when your take a look in his code he echoes html from within the php files...3
-
Hate on PHP all you want but ain’t no web framework gives you everything out of the box like Laravel does.7
-
!rant
I'm not the biggest web developer, but has anybody used Laravel and what do you think of it?12 -
I was working in a voyager's project in my office, my CTO sent me an sql script to import a basic DB and when I run the project and I try to access to localhost/admin, ¡boom!, amazing exception.
I forgot type composer install in the project XD I felt very noob in that moment -
Question..
Is it safe to stay with PHP or do you think js (in backend) is the future?
Php (laravel,..)
Js ( Angular, react,..)14 -
Django vs laravel for restful api ? Or any other framework ?
With a lot of req per sec
I'm so comfortable with laravel but don't mind using Python
Tnx <35 -
What exactly is the essence of web frameworks introducing new syntax? Does it mean language can't be augmented without turning the syntax upside down? All js frameworks are guilty (think svelte is the exception). Php, eloquent accessors, laravel facades etc.
Then, in addition to learning their available methods, classes, folder structure and possibilities, etc, you have to grapple with silly syntaxes. Sad2 -
I have a question. I currently use PHP when creating my API's, however, I am unsure wether to move on from it. I use either laravel or lumen to do so and use vuejs for the client apps. I am proficient in Java and JavaScript and wondering wether I should move over to spring/spark or express. I have been programming for almost 10 years now and just finished my first year in uni. I want to appeal to employers for my placement year and I know they look down on php. So, should I go with java spring/spark or express ? Other suggestions are welcome!6
-
I’m very surprised at the lack of PHP micro frameworks with correct Namespace and Class support. I had to spend my weekend adding it, as well as making it so you can easily add a ORM library to it.
Sure I could use Laravel or Codeignitior, but I just needed something simple for rapid development of simple GUIs for desktop and server applications. I couldn’t justify copying over 6500 files for something I’m only going to use a quarter of its features. Now, I can just use composer to install the features I need.8 -
I am laravel developer who just started to explore advanced part of it. I have a confusion with topics events and queues. Events are call when an action is performed in the application where as queues are job for repeated and long tasks. My question is when to use both of them? Can we use a queue inside an event?2
-
I just released version 2.0 of my UI package.
Laravel Livewire & Bootstrap 5 UI starter kit. This package is a modernized version of the old laravel/ui package for developers who prefer using Bootstrap 5 and full page Livewire components to build their projects. It also comes with a few features to boost your development speed even more.
GitHub: https://github.com/bastinald/ui
Demo Video: https://youtube.com/watch/...3 -
Any PHP developers here have experience with Multi DB tenancy app with each tenant can have their our custom domain (tenant-one.com) then it will be pointed via CNAME to my app (tenant-one.myapp.com).
I have enough details for multi DB tenancy app using sub domains but for using custom tenant domain - not so much.
What are some good detailed tutorials on how to do this via CNAME?
What tips can you share about this? Thanks! 😃2 -
Could someone advice me to pursue a programming language? I'm currently working with PHP using laravel Framework. And I 'm thinking about javascript like node js, electron and etc since it enable developers to create cross flatform app from web , to mobile and also to desktop. I'm just a little bit dizzy about these things right now.10
-
I am currently weeks apart from releasing my pet project, which I am working on for almost 6 years now. Of course, there were a few stops here and there, but overall I've spent a lot of time and effort on this to make it work. It is far from complete but I am really happy with the results.
Now, since I am not a professional by any means - it is all a hobby for me - I was wondering, that how much my work would cost, if it were to made by professionals. Below the details so you can get a grasp of the thing.
The whole system is for our family business. We are selling parts for an old-timer truck model. The website was pretty much done already, people like it, it only needed some polishing and adding of the new features. But the thing behind it is monstrous (at least for me).
Apart from the custom-made CMS for the website (most of it was done already and didn't need to change), we can handle orders, partners, prices, stocks, overdue partners, pretty much anything a CRM would do.
There is a logic to automatically make orders based on import prices, or give the customer a custom discount based on the price gap of each product. There are products, which can contain other products, and their prices are dynamically changed based on a given formula, once an underlying product price changes. We can send e-mails when an order status changes, and there is also a page, where a user can interact whit their order, like changing the shipping or the delivery address. The system is (or will in the following weeks) also connected to multiple shipping companies' API, so we can order deliveries and print labels directly from our system. The whole thing is a custom made Laravel project by the way. There are countless more features, but I've just spent 2 hours explaining all to my father and was only be able to cover like half of it.
And why it is all custom made, you ask? Well, the business logic is a bit twisted, so it would be hard to operate as a regular web shop, since the availability of the products are uncertain, given the fact that it is a model, which isn't manufactured in 30 years. So, we can't just accept and send orders without confirming. It is also a thing, that people usually don't know what they need to order for their truck, so we have to help them, so they don't waste their money and the precious last pieces of a part unnecessarily.
Sorry for this rather long post, and it might feel like I just want to brag (well, I kinda do), but I am honestly interested in what such a custom product would cost in the market.
Thank you for your time answering.6 -
Just finished building app with Laravel and vue.js with routers, vuex and coupled js, running on php 7.4 using typed properties
Next 2 projects Wordpress and Typo3.....
Why is world so cruel....1 -
Php, laravel.
A form wasn't showing a drop down but it was for a colleague.
I insert a space at the end of the file and save
Drop down shows
Wtf php / laravel....2 -
I have experience worth 5 years built simple and complex web apps but using php and laravel.
I feel i should have used top tier technologies.7 -
So which one is better for a small website? AsgardCMS and OctoberCMS can be compared.
October is light weight and has great documentation, but Asgard looks great as well. (https://cloudways.com/blog/... )
So any reason to choose one over another? -
F*ck you Laravel, just f*ck you.
just spent the whole night trying to make the router to work, reinstalled lamp over and over again, htaccess looks good, still getting internal errors. Why can't we just work with Node?5 -
I already know php and i also written a framework
I wonder if i should learn laravel or i should learn cakephp ?
Let the battle... i mean answers begin !1 -
Just pushed my new Laravel package.
Laravel AJAX CRUD: Build Laravel 6 CRUD apps in record time!
https://github.com/kdion4891/... -
PHP Devs quick question,
I have a project using PleskPHP5 (or that's the processor I found in config)
I'm a bit familiar with Laravel though I'm not sure, are they different? How to migrate to Laravel?
And the project was developed on Windows and I want to use it on Linux do I need to change anything?
I'm a complete noob in php but I want to learn with that project11 -
PHP: Laravel, Phalcon, Composer
JavaScript: Node.js, Express.js, Restify, Sequelize, AngularJS, React, npm, bower
Python: Django, Flask, Requests, pip, SQLAlchemy
Java: Spring, Dropwizard, Hibernate
DB: MySQL, MariaDB, PostgreSQL, Cassandra1 -
People who write php and laravel together as their skills are the same who think knowing Microsoft word is the most impressive thing about them. Because notepad is too mainstream.1
-
For any PHP / Laravel dev out there, if you don't know laracasts.com, you're wasting a precious time!
-
Just moved from laravel/PHP to JS.
Now I find out their is PHP 8.
Everyone said this was going to be dead.
https://stitcher.io/blog/...9 -
I hate the Laravel community more than Laravel itself because they tolerated it to develop upto version 5.x with Laravel still pointing out errors in framework's codebase rather than a proper traceback to user's code.
Messed up shit.By Laravel.By PHP :)3 -
I have been developing laravel projects with PHP 7.2 for a month on my new macbook air. Today i had to work on php5.6 project and got really frustrated cause homebrew doesn't have php5.6.
Should i install ubuntu?
Is there anyone using ubuntu on macbook air?
What are the problems?9 -
Why Laravel is sooo annoying. I recently join a web dev company and they are working in Laravel. Okay so in first I was like okay...it's fine.. even though I was interested in react but in the end I thought... It's all about your logic.. language can be changed. So I am being told to run this api- boilerplate...it's been 2 days and the error is not going. Sometimes it requires different version of php, different version of this and that ..when it finally runs view is not found. I tried using different xampp..still giving error of changes in php.ini which I already did... I Soo exhausted of this language rn ..3
-
Hey guys i am a javascript web developer who loves his stack lot sadly in my internship i was forced to learn php and Laravel and build a full stack website with auth cruds with predefined templates in less than two weeks .
i have to say Laravel sucks comparing it to something like aspnet, Nestjs, Nextjs or Express i found myself overwhelmed with learning in a very short period and what makes things worst is the fact that no one in the agency i am in is helping or speaking with me i asked help from a Senior guy and he was like "i am too busy"...
I also can't quit since this internship is for school purpose so yes rip for me3 -
Got in a great company wherein I will be transformed from php to mean/mern stack. Improvise adapt overcome.
Will apply php best practices in the JS world.
After mean/mern, study react native or flutter. I like flutter but in my company there are only react native projects. Hhmm maybe because flutter is just new. Exciting future indeed 💪6 -
So let me get this straight.
- You propose a tutorial about how to create an e-commerce website using Laravel, with a shitty powerpoint-like display
- We have to click "next" to learn the basics of PHP, MVC, Laravel, Mix and such, while all I need to know is about the payment system and global logic
- On the last PowerPoint, you suddenly decide that you should finally think about displaying some actual code while all before was theoric class
- So the last powerpoint page is 45 times longer than any other previous pages.
- Of course, there was nothing about what I was looking for.
You should consider stop wasting everyone's time as a 2018 new resolution.1 -
stdclass arrays of php are a good solution to work with data from the database but sometimes they can be a pain in the ass...7
-
Short Story, !rant:
I'm a java dev looking into php and laravel to be able to contribute to webtrees, an online genealogy software.
Feels odd, because last time I had contact with PHP was 4.x.
But nice to see similar concepts, eg handlers instead of controllers, conventions, decent IDEs like phpStorm.
So, anyone interested in helping out? -
is laravel app really enjoyable to write ?
i started as a laravel dev. the known story , all code in controllers etc. As i started to improve, fortunately i changed company, and worked with a symfony project. A symfony that looked like java. hundreds of classes, tests, yaml injections , objects for requests, for everything.
I thought that i missed the old laravel days, and i took an extra job on laravel again. I was soooo wrong.
It was not only that the code of the previous dev was inferior to what i am now used, it is that i have to be with an open documentation all the time. Even if the project is in the same version that i have used to earlier (an old one).
You have to check all the time the model settings, the migration, the magic tricks of model mass insert, the castings, the validation rules, why the tests are not finding some routes, why this, why that, how it is written this.
Excuse me, but i think the fun and easiness is far from what they say and what i thought it was. I start to change my mind and believe that inserting the request to a simple php object is more controllable than the gandalf tricks that laravel is doing, and you cannot know if it is worth your time to test it . And more importantly, you do not have to look at the cookbook, all the time@@@5 -
I started learning Laravel yesterday. I had a couple of set up issues as well as some minor bugs which seem to be version specific. I am really liking it so far.1
-
How to create rest API routes in Laravel 5.4
I want to call controller method through my API route3 -
Okay so i did an internship in Laravel for 6 months. I started there and i had zero experience with it. Later, i started to learn more about it and i realized their Laravel version was at 5.8 and their bootstrap was at 3.4. It annoyed me so much but i wasn't allowed to update it to a better version.
What happened is, i installed Linux on my laptop and had to install some things. I accidentally did composer update and updated the whole thing. I updated it to Laravel 7.4 and i thought, well, that's good right, it will not effect the whole project right? No it wasn't right. I got Teams messages from my colleagues. They normally don't really respond to me, ignoring me but this time, they responded quickly. It was wrong what i've done because the code on the server wasn't working anymore and it was pretty bad they said. So i had to get the last version in Gitlab and i should not do composer update again.
Also, i was annoyed because i couldn't use so many font awesome icons. They all didn't work! I had to make this dropdown menu with an arrow down but even that didn't work, so i used a transparent image to do it because that was my only option to have a good arrow. I wanted to update that as well but nope, not allowed.
Oh yes, i'm not done yet.
They have put so much CSS on the project, that i couldn't even use bootstrap columns. I struggled with that and seriously, no help. The pages were styled really weird and it was dramatic.
When i asked for help, for some PHP code for example, no one responded for days and i was angry about that. Later at the end of my internship, they told me I wasn't the one who was responding and that i should have asked for help and i had to start the conversation. They really just said that? Yes, they did and i'm not happy about that. It costed me some points on my end essay, because they haven't been doing their best.
I wanted to learn more about PHP, but ended up doing all the frontend. I like it, but it's not what i originally wanted to do. So basically, i learned stuff in frontend but almost nothing in backend. It saddens me and hope to get a better internship next schoolyear.
I really had to rant about this, oops.1 -
after moving back to my home country, buying an apartment and after my career started to head to nowhere because there is nothing to code for me in work, just manager stuff, I am returning to coding after work to get back into shape, practice more, learn new stuff (and the old stuff)
wanted to create a small webapp with laravel/vue, holy fucking shit how hard it is (for me) to setup your env
install composer -> command php not found
o.O im pretty sure i had php on this machine HOW THE FUCK WOULD I HAVE ALL THESE PROJECTS HERE THEN
install php8.1 -> no such package
-.-
upgraded to ubuntu 22.04, install php8.1, composer
create new laravel project -> 3 errors, missing laravel/pint, phpunit
* visible confusion * i told you to create a project, if you need it, why didn't you... oh, wait
composer install -> same
well, * looks left, looks right * --ignore-platform-reqs
but still getting the chills from a new project, now I go sleep and tomorrow I start my journey to get back to business, wish me luck -
The only reason the barbaric, Apache server requiring, disgusting non-intuitive syntax having, pain in the dick to set up language known as "php" is even still around AT ALL is because of laravel...just let it die already...
P.s. - work is making me learn laravel/php15 -
Today I launched laravel swift. A SwiftUI-inspired spin on Laravel Livewire. https://github.com/redbastie/swift
-
Hey guys! In Laravel, what is the difference between the methods "url()" and "route()"?? I use "url()" for css and JS routes and "route()" for my own routes. Is it good what i'm doing? Or it's a bad practice? Thanks!3
-
I started with cakephp 2. I did a TON of projects with it and made my own reusable plugins for future projects and everything was nice and smooth.
then cakephp 3 came out with breaking changes and was not backwards compatible. I learned the new rewritten ORM and tried to do a project with it along with plugins.
then cakephp 4 came out with breaking changes and was not backwards compatible...
ok... look i dont claim to know more than the people writing frameworks but u want people to use ur framework u cant fuck them up in every major release and render their old projects unupgradable... fuck you im switching to laravel this was the last straw3 -
Ok! My new project still haven't started and I'm so bored , running out things to look into!!!
So far I have looked into
Firebase
Ethical Hacking
Some web developing concept...
Any suggestions??? Related to web developing, laravel , vuejs ???1 -
laravel-excel has an absolute piece of shit importer. So rigid I have to jump through loops, use hacks so static functions fill up non-static properties just to do half of what I probably could do much more easily with phpspreadsheet. And to top it off I have no way of getting direct feedback unless it's using the console. What a fucking joke5
-
Not a Rant,
I'm just searching freelancers! I used this site when I was just starting my career. I still have the stickers on my (now old) Notebook I got 2016-ish for having... I don't know how many likes on here (user:chrome).
If one of you knows something about: Laravel, PHP, Bitcoin Core, BTC LN, Ads, Marketing, Social Media, CSS, HTML or JS - hit me up!
Maybe just send a mail to: admin@lahuge.com
I would love to find a team on this site. I hope the Community is still well. Back in the day it was really fun to watch this site grow.
Greetings,
Chrome aka. LaHUGE
PS.: If you're from Germany that's a Plus, but not needed ;P
(copy pasta because this Account is bigger, maybe it helps?)4 -
I have a technical job interview via phone call later today and would like some advice on what to prepare for.
The role is Junior Web Developer and here is what's expected of me:
- Good knowledge of HTML and CSS
- Some knowledge of Javascript
- Some experience with a PHP framework such as Laravel
- Some experience developing themes for content management systems such as WordPress
- Basic familiarity with Git or other VCS
Those are fairly low requirements and I meet or exceed them individually but just want to ensure I prepare properly.
What can I expect?3 -
Writing a script which runs every 5 - 10 mins that runs 10 sub tasks, where each sub task sends 3 HTTP requests to my company's API and also performs at least 3 database queries.
The best part? I'm told to use PHP / Laravel to do it.5 -
My dear developers I would really appreciate if you could recommend me technology for diving into web development. I am thinking about django/python or laravel/php but I am not sure.
I know it is opinion based question but I need your help to decide..9 -
Laravel is like a spin-off of your favourite TV show, except with unnecessary new characters and a confusing story line. And you can't just put the DVD in and play! Oh no! You need loads of 3rd party stuff, special DVD player and TV just to watch it.
The only reason you watch it, is because its new and people are talking about it. You watch it and think you like it, because it's new and perhaps you're a little bored of the old TV show. But deep inside, you know in your heart the original show was better.
Why can't we all use PHP like we use too? And have the simple file structures we had? index.php was the index page and your folder structure was how YOU wanted it.
I miss those days.2 -
hmm... since i cant really code at work due to network restrictions and sh*ts planing to start on a personal project at home which will be like a cashless payment / e-wallet and planing to use node(express) as endpoint reactjs at web dashboard/admin and react-native for mobile client or i can just stay with laravel as endpoint and build the web ui using vuejs integrated with laravel? what do you guys think should i stick with node(express) or just use laravel?1
-
Well I am new to laravel php framework I didn't use git while installing laravel now how do I integrate git into laravel1
-
Does someone of you have a minimalistic configuration for php micro-framework laravel/lumen or symfony/skeleton with Apache or nginx?
It is somehow pain in the ass to put up a running docker container for this kind of projects :/1 -
#Suphle Rant 4: Laravel closing the gap II
I had expected rant 4 to come at least, some days later. Apparently, I'd miscalculated how fast things work in this wonderful world of software. In an earlier rant, I wrote about how dismayed I was to learn laravel had implemented one suphle feature I'm very proud about. They call it Premonition. Idk if it's officially rolled out yet but you can do a search among accepted pull requests for what it's all about
Well, today, I've just seen a draft from one of their maintainers showing one of the things suphle was designed to do: https://twitter.com/enunomaduro/.... They can't integrate it with this pattern since php doesn't have generics, so it'll either get trashed or with plastered as some band aid. In suphle docs, I explicitly indicated the data structure/typing for that feature is a polyfill for the absence of generics
I think I can get away with it because of where I'm using it (model authorization instead of custom exceptions/throwable operations, in general, like theirs)
I don't feel as distraught as I did on finding the Premonition thingy. Am I impressed with these things dawning on them? Ffs Laravel was invented in 2011. It's incredulous to think it gave me hell for years. Waited ~2 years for me to fix all issues in a brand new framework, only to magically gain iq points and start improving their work
It's weird and brutal. If they keep figuring stuff out, it may not be long before there are no features unique to suphle. Then, my worst nightmares will come to life. I will argue there's one thing nobody will ever copy, not without rethinking the mvc architecture in its entirety.2 -
Can someone explain the future of PHP? (Serious question). I was under the impression learning php is mainly for the current job market. Otherwise the future is nodeJS, ruby, python etc.
I’m asking because I see a lot of leading development and courses on laravel for modern development and I’m wondering how relevant it is to the future.1 -
I started working on a small declarative PHP framework inspired by SwiftUI using some Laravel components. Wondering how much interest people might have in it.
https://github.com/kejojedi/breeze13 -
Backend wise
After a year and a half of working with what i love (nodejs microservices and bit of python) I have to update my php skills and refresh my memory with latest Laravel 😕 (I used it as an authentication/authorisation and REST backend for a react native app early 2016 and did not touch it since)
Passive Job hunting sux and yes PHP ain't my thing anymore 😔 i mean i have next to 6-8 years exp in it but given the choice... 😒
I used to love it (so many good memory with cakephp 😌🙄it teached me a lot early in my carrer) before I discover functional programming paradigm and got deep understanding of JS -
Anyone herr tried API Platform?
I know I know. Generic ass name but that is what the framework is called.
Its in php, it contains a lot of goodies from(try and guess...no?? Ok I'll tell ya) the Symfony platform(go figure right) so if you are familiar with Laravel or well....Symfony then I guess that you will be good to go. I ain't...so fuck me because I only know Laravel.
Either way the concepts are very simple. Configs is donde almost entirely with YAML, i dunno how to feel about that, not used at writing routes on yaml, but the framework is thus far quite powerful. About to test jwt auth so wish me luck!4 -
Man, I love having a software factory. Every day something different. Today I'm developing with Laravel, and it's an honest framework. It doesn't do anything too much or anything less. Just enough.
It's good to use things that know their place.1 -
Trying Laravel for a few hours...
God I hate it... everything is in dumb places, need to do 3000 things to get something to work that'd take me 5 things in CakePHP... and my folder structure is already cluttered af D:
How do people like this turd D:14 -
Why use vue pagination when you can create pagination using Laravel paginate (https://cloudways.com/blog/...) method?1
-
I have push notification feature on my Android, iOS app.
When I send notification to apps, it was working normally but once no of users exceeded 1000.
I got following error:
Number of messages on bulk exceeds maximum allowed (1000) #48
I am using FCM to send this push notification.5 -
I recently started working on laravel. As the community says it was easy to get along with the framework and its methodologies. But then i had to do multiple login with framework in same domain.
Oh man, i spent a week to make it work. All those guards and middlewares realted to login was driving me crazy. The concept was clear, but somehow the framework was like "You! I shall make you spend a week for my satisfaction". The project demo was nearing and i was doing all kind of stuff i found. Atlast after continous tries it worked. Never in my 4+ years as a developer i had to face such an issue with login.
So here is how it works,if anyone faces the same issue:
(This case is beneficial if you're using table structures different from default laravel auth table structures)
1. Define the guards for each in auth.php
Eg:
'users' => [
'driver' => 'session',
'provider' => 'users',
],
'client' => [
'driver' => 'session',
'provider' => 'client',
],
'admin' => [
'driver' => 'session',
'provider' => 'admins',
],
2. Define providers for each guards in auth.php
'users' => [
'driver' => 'eloquent',
'model' => <Model Namespace>::class,
'table' => '<table name>', //Optional. You can define it in the model also
],
'admins' => [
'driver' => 'eloquent',
'model' => <Model Namespace>::class,
],
'client' => [
'driver' => 'eloquent',
'model' => <Model Namespace>::class,
],
Similarly you can define passwords for resetting passwords in auth.php
3. Edit login controller in app/Http/Controller/Auth folder accordingly
a. Usually this particular line of code is used for authentication
Auth::guard('<guard name>')->attempt(['email' => $request->email, 'password' => $request->password]);
b. If above mentioned method doesn't work, You can directly login using login method
EG:
$user = <model namespace>::where([
'username' => $request->username,
'password' => md5($request->password),
])->first();
Auth::guard('<guard name>')->login($user);
4. If you're using custom build table to store user details, then you should adjust the model for that particular table accordingly. NOTE: The model extends Authenticatable
EG
class <model name> extends Authenticatable
{
use Notifiable;
protected $table = "<table name>";
protected $guard = '<guard name>';
protected $fillable = [
'name' , 'username' , 'email' , 'password'
];
protected $hidden = [
'password' ,
];
//Below changes are optional, according to your need
public $timestamps = false;
const CREATED_AT = 'created_time';
const UPDATED_AT = 'updated_time';
//To get your custom id field, in this case username
public function getId()
{
return $this->username;
}
}
5. Create login views according to the user types you required
6. Update the RedirectIfAuthenticated middleware for auth redirections after login
7. Make sure to not use the default laravel Auth routes. This may cause some inconsistancy in workflow
The laravel version which i worked on and the solution is for is Laravel 6.x1 -
Just release my new Laravel CRUD package: https://github.com/kejojedi/crudify
Hope someone likes it. -
So Laravel 5.5 is slightly slower on PHP 7.1 when compared to PHP 7.0? Source: https://cloudways.com/blog/...
Laravel 5.5 on PHP 7.0 takes 992.874 ms per request, while on PHP 7.1 it took 1000.707 ms. -
Programming languages / frameworks you dominate? Me:
-Rails / RoR
-C/C++
-PHP / laravel
-Javascript / jQuery / Backbone etc..
- Python / django1 -
So I’m primarily RoR for work and stuff, however, tried Laravel today for the first time in a while and damn I forgot how it actually makes PHP pleasant haha with Laravel awesomeness.
Built a blog application with tailwindcss in a few hours no scaffolds. Pretty neat. -
Want to deploy laravel website on Amazon ec2 with nginx server... I did install php, laravel, mysql server & cloned repository. But can't migrate to database.... The error is connection refused.
Can anyone give reference for this? 🙏🙇13 -
From the terminal, I can see that the development server is started, then couple of seconds later, there's accepted and closing; as seen attached.10
-
Any ideias what use to create a api with laravel? I install passport but dont work properly on php artisan serve
-
laravel websocket server, laravel echo plugins, android app, ionic angular frontend, laravel backend... hopefully the tech stack is stable for an ordering app1
-
We should replace word PHP with Laravel, coz most PHP developers know how to do something in Laravel but they can’t do that in PHP:D6
-
Any good idea for Bachelor's degree project in Computer Since?
I have better knowledge in Web Development php,laravel,html,sass..
but also I can handle c++, python and java. 🙂 -
Anyone have a Laravel bug where CRUD routes don't work with model binding? I have a weird issue where only CRUD routes give 404s if also using a model binding, even if I rename them to something else.
The routes exist in route:list and work if I remove the binding, but I need it in this use case. -
Can anyone plz help me open my laravel project on my localhost server ubuntu ? ( I have cloned it from my gitlab repo) its not opening on my server.5
-
ProCoders ,first of all, is a team of talented software engineers who love what they do. ProCoders are an IT staff augmentation firm with more than 80 engineers on board who can manage any project. As a professional offshore software development team, our team can find the superior software engineers for your startup. Our company are experts in CSS, Node.js, Flutter, JavaScript, HTML, React Native, Ionic, TypeScript, Angular, PHP, Vue.js, Symfony, Ruby, React, Laravel, Ruby on Rails etc.2
-
I'm gonna have an interview that will include talking about php. Problem is, I haven't touched php in 5 years. What do I need to know to sound like I know what I'm talking about? "Mmm yes I really like Laravel dependency injection, it makes managing dependencies so much easier"?5