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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "#laravel"
-
#1
Fuck it. I obtained a Laravel codebase with 200 routes all handled by "mainController".
😓🔨
There will be rants.21 -
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 -
Laravel is the worst framework ever.
Everything has to be made convenient and easy. That sounds amazing, because developers want to save time, worry less about boilerplate code, right? No more constructors, no more dependency injection, fuck all the tedious OOP shit... RIGHT?
It does one thing well: Make PHP syntax uniform and concise through easily integrated libraries such as Collection and Carbon. But those are actually not really part of the framework... just commonly integrated and associated with Laravel.
The framework itself is completely derailed: You can define code in a callback in the routes file. You can define a controller in the routes file. You can define middleware as a parameter to the route, as a fluent method to the route, you can stack them up in a service provider. Validators can be made in controllers, Request objects, service providers, etc. You can send mail inline, through Mailable objects, through Notification objects, etc.
Everything is macroable, injectable, and definable in a million different places. Ultimate freedom!
Guess what happens when you give 50 developers of various seniority a swiss army knife?
One hammers in a screw with a nail file, the other clips the head from the screw using scissors, and you end up with an unworkable mess and blunt tools.
And don't get me started about Eloquent, the Active Record ORM. It's cute for the simple blog/article/author/comment queries, but starts choking when you want more selective and performant queries or more complex aggregates, and provides such an opaque apple-esque interface which lets people think everything is OK, when in reality it's forcing the SQL server to slowly commit suicide.50 -
Seriously, god bless Laravel and Taylor Otwell.
I've just had a customer foolishly delete all their user accounts. The customer was seriously stressed about this and as it usually goes, this stress was echoed in the call.
I explained how they can easily restore the deleted records in a single click as I have configured Laravel's "soft delete" functionality site wide. i.e. when they delete a record it isn't really deleted. Functionality to physically delete the record is hidden away outside the client's user level.
Customer was seriously grateful and paid for 2 hours of my time (even though the call took 15 mins) and generally gave me lots of kudos.
Laravel, awesome.6 -
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 -
PM: hows the android app going?
Android Dev: gradle downloading... blocked by network admin.
PM: anyway how is the iOS app going?
iOS Dev: cocoapods downloading... blocked by network admin.
PM: ... i guess the only thing running now is the web admin right?
Laravel/VueJS Dev: composer nodejs/npm/yarn downloading... blocked by network admin.
PM: team lets retest the api endponts
Team: Postman downloading... blocked by network admin.
Team: -_- Insomnia REST Client downloading... blocked by network admin.
PM: code study?
Team: even visual studio code/android studio/xcode is blocked. :(
.... sad dev life
anyone here with the same problem?14 -
!rant
Just managed to set up a laravel development server in my raspberry, with a fully functioning private git repo!
(Not having a CS degree nor working in IT... I am very happy with this!)5 -
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 -
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 hate Laravel.
Every time I want to implement something it is already part of the laravel framework and does work better than I can ever imagine. Where is my struggle?!1 -
** Programmers Speak **
Don't know much about real life,
But Relationships in Laravel are important. -
Ok so I was talking to my computer science teacher earlier and he said that he would rather use vim over PHPStorm for creating a laravel project. WTF!
Normally I would be cool with it, but he has pushed faulty code to git over 8 times. I'm just done.8 -
Omg whhhy do things change so much from Laravel 5.x to 5.4? Tutorials are useless! And Google, I love you, but giving me laravel 4 answers as top results for my query specifying 5.4 is just infuriating!!!2
-
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 -
The moment when they recommend you WordPress over Laravel just because it has better SEO.
Bitch, I write my own SEO. I'm not only on the first page I am the top result. Bet you didn't expect that.1 -
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
-
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 -
After doing some Vue, I probably will go with laravel for the backend.
I'm excited about that, but it feels just right.18 -
And today in Laravel-land, how to take fluent APIs to the utmost consequences.
Better...? Seriously? All your lines got longer and you know have closures to run.10 -
Laravel is the only reason why working in PHP is interesting
and
PHP is the only reason why it Sucks8 -
Gahhhh!
Just inherited a HR backend written in Laravel. However, ALL database interaction is done using DB::raw() i.e.
$results = DB::select( DB::raw("SELECT * FROM tbl WHERE col = '$fromThe QueryStringLOl'") );
No models at all :(
FML.3 -
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 -
> 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 -
Been in a creative company for more than a year working as front-end, mostly CSS3 Animations and jQuery.
Today got a Job Offer in a startup about building an ERP for Albanian Market, mostly in Laravel and Vue.js
I was so excited for the first 30 minutes and then I remembered that I don't know so much Laravel and Vue, also I must work with an other guy which has lesser experience than me.
Totally scared about this new exp but ready to go for it :D
Any suggestions is really appreciated!!!!!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
-
This might not resonate with many ranters here... but FUCK Taylor Otwell & Graham Campbell.
Like, not on a personal level. Maybe they're great to drink a beer with. But as framework devs... fuck everything about them.
Laravel seems so nice, it takes away many annoyances of developing in PHP. Collections are the array object you've always needed. The route bindings, middlewares, request validation objects, it's all sweet.
But eventually your company serves a few million customers, you run into specific performance problems or missing features on a deeper level. You open the issue tracker... and see a few hundred issues about the problems you are encountering, they already exist.
Some just have a short paragraph with a request for a feature, some complete PRs with tests in the style of the framework. All of them closed.
Reasons?
"We don't think anyone will ever need this"
"This seems complicated, you can just do <super non-DRY hacky code>"
FUCK YOU WITH YOUR TODO APP SNIPPETS AND USER-POST-ARTICLE EXAMPLES. I'M NOT BUILDING THE NEXT WORDPRESS. I'M DEALING WITH THE REALITY OF GRAPH DATABASE CLUSTERS, COMPLEX AUDITING LOGS AND A GAZILLION QUERIES PER SECOND.
Sigh... the problem with all these "simple" and "elegant" languages & frameworks is that they don't fucking scale.
Not because the language, server or framework intrinsically can't do it, but because the maintainers are stuck thinking in terms of their retarded non-realistic example apps.
I think I'll go back to my cave and write some Haskell or Rust to calm down.2 -
Did successful XSS in a website.
Later on, found out that the web was built on laravel.
Still trying to figure out the level of negligence required to make a xss vulnerable laravel website10 -
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
-
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 -
taylor "cunt" otwell, too busy selling and shilling laravel addons to maintain the existing shit.
"0 issues"
https://github.com/laravel/...
https://github.com/laravel/...
https://github.com/laravel/...13 -
Went back to Laravel from JS stack after a year. Thought I might have a lot of errors while setting up but everything is working so perfectly that I'm becoming suspicious 😕2
-
Just got our development Laravel docker image down to under 124 MB with alpine linux. The satisfaction...12
-
!rant
Wish me luck. I am done with the spaghetti mess.
There is a stock management system written using laravel and jQuery. There are mistakes in database structure. There are lots of I-dont-know-what-this-function-do-so-i-should-leave-it-alone codes. There are lots of repeated and duplicated functions.
Gonna start things from scratch and will also start using vue. This week's Thursday and Friday are public holidays here. I hope I can code my ass off and finish the migration/refactoring/cleaning shit by Sunday.1 -
Sick and fucking tired of this bullshit.
Previously worked with Laravel, used 'gulp watch' to watch for changes in assets and now they changed things for the better of Laravel Mix as a fucking wrapper for webpack. Now I have to do shit load more stuff to get gulp working, 'cause otherwise my 'npm run watch' shits itself every fucking time I run that shit, doesn't matter what fix is aplied. Battling that bullshit for 3 days now and shit's not working anyhow. Stupid fucking bullshit. Sorry, had to let it out from myself.10 -
Yesterday I killed a production server with a handful of sites running on it. 😬
Created an observer for one of my Laravel models. It was generating new translated slugs when another post gets translated by an API. While implementing also an updated method besides the created observation I obviously updated the models slug.
Pretty confident this small update will work I just pushed to production. Tested it live.
BOOM
Hard reset on the server redoing the changes. Searching where I fucked up this time...
Finding me observing the updating while updating the updating of the updating by the updating. 🤦4 -
I'm sorry but Laravel is for brainless programmers who wants to be spoon feed all the time.
Laravel is maybe fast to develop and easy to understand but its only because it is poorly designed/written.
That damn Eloquent, if misuse by ignorant or amateur programmer, will definitely bring a disaster to the whole system.23 -
!rant
Anyone who is interested in Laravel and CMSs solution might wanna check these out. I have just found these and looking into them right now.
http://www.atlantis-cms.com/
https://www.coastercms.org/7 -
Well I wish I could abandon jQuery and bootstrap all together and just use some vuejs admin template with my Laravel app. But things are not that easy and I am a lvl 1.0 vuejs user.
So sorry V girl, you gotta learn how to live with Mr.J for a few more months.4 -
In love with Laravel events, listeners and mailables. What a beautiful way of doing this. Can't say how much I love this framework. <3
Can't wait to implement redis and queues. Am excited to try this for the first time. Share exp. if you have, pls.4 -
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 -
Eloquent is so fucking slow, my (dead) grandma queries faster. It takes the fucking double of time on a simple query with only one join for maybe ~200 rows... From now on I go fucking back to raw SQL in my Laravel projects. 😤16
-
I always hated laravel, i was like mehhh you dumb fucks lazy ass write your code, but i gotta admit i changed my mind when i tried it!3
-
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 -
How many projects do you have going at anyone time?
Me: I'm currently working on two laravel and a WordPress theme.8 -
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 -
Sooooo.....
I just spend roughly 5 hours trying to get a Laravel Homestead up and running. Constantly jumping from one error to the other, getting nowhere.
Turns out that,
...
...
I NEVER FUCKING GENERATED A BLOODY SSH KEY
ARE YOU FUCKING KIDDING ME
AN ENTIRE DAY WASTED
JESUS CHRIST
I swear, I'm way too junior for like 95% of this shit....5 -
I have developed 3 apps so far in laravel and I can say I'm in a mid level between beginner and expert.
But every time I set up a new laravel environment I feel like this is the first time I see laravel.5 -
Spent fucking 11 hrs on fixing a stupid bug in Laravel that caused all my unit tests to fail. Just because that unit testing method has no unit test...
-
**Installing Homestead for laravel**
Errors coming which are not understandable...
After couple of hours errors changed**
Maybe I did some progress.......still working on it12 -
I have an issue with my Laravel routing. Can you help me out, @bittersweet?
I have a custom "/home" route called "/admin" and I set the protected property in the LoginController:
$redirectTo = "/admin";
And it works fine, if I log in from guest. But when I navigate to "/login" as auth-user it still redirects me to "/home".
What the fuck is this? What do I have to change to make this work? Who has to be fucked? Is it possible to solve this without sacrificing a virgin at bloodmoon? And why are Platypus so fucking ugly?14 -
What a fucking retarded dickhead the laravel creator is, after having multiple hours/days of checking and asking people, we figured out, that apparently you cant mix variablenames in lumen afterall (like the docs are saying), so either you stick with the same variablenames you have in your route, make them all something different or you get fucked by random variables taking dominance and replacing the order completely. You'd think one can just make a PR to the docs on github and submit as much information as possible and it'll be fixed, right? no, you cant, that fucking blown balloony retard just closes it immediately with the notice of "I believe this is already noted in docs" - although it isn't thats the whole point you fucking blow up doll, how the fuck are people supposed to know your piece of shit will fuck the order completely, just because of one thing that isn't mentioned anywhere!3
-
I don't understand Laravel...
I'm just a software undergrad in my final year. Coming from JS side of things (Express, NextJS), I find Laravel so complex, and maybe unnessecarily complex?
Like, when I wanna learn Laravel, I understand the MVC structure. However, going deeper into it, there are libraries/names like
1. Vagrant
2. Facade
3. Artisan
4. Guard
5. Gate
6. Policies
ALL OF THESE
WHICH I DON'T UNDERSTAND HOW IT TIES TO THE FUCKING MVC STRUCTURE
I'm seriously giving up... My courses forces us to learn this framework, and I feel more and more inadequate because I have so many things to learn, including things for my FYP, which involves the use of NextJS. And can I mention HOW EASY AND MINIMALISTIC JS FRAMEWORKS ARE?
LIKE, I JUST WANNA MAKE A STUPID FUCKING APP MAN, WHY MUST I KNOW SHIT LIKE ARTISAN MAKE, WHAT THE FUCK VAGRANT IS, HOW GATES ARE RELATED TO POLICIES, HOW POLICIES RELATE TO VIEWS, WHY THE FUCK DOES FACADE EXIST, and other fucking stupid questions I need to ask in order to utilize Laravel correctly?
Don't even get me started on JETSTREAM, FORTIFY, LARAVEL/UI, BREEZE. Like, WHY THE FUCK CAN'T YOU JUST HAVE ONE SINGLE PATTERN, AND THEN HAVE GOOD TUTORIALS RELATED TO THAT ONE SINGLE THING?
I don't know, am I just stupid? Looking at Laravel, I feel like my braincells die more and more looking at the words used, the unusual terms, and the pain that comes with trying to learn it, because I don't have time. I'm going to fucking fail this subject because I have too much other stuff in my life to learn about.
I'm fucking tired man...35 -
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
-
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 -
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 -
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
-
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
-
have job other from other company (same money, different stack) Magento vs Laravel... I hate Magento more then Magento 1.9 and love Laravel... should I take a risk?1
-
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 -
My first rant in ages:
Been assigned to a new Laravel project at work and the murthafucking lead dev got no fucking clue how to architect a big laravel app. Lead dev talking trash about encapsulation and every big oop grammar he can find while asking us to come up with an architecture concept for the app.
My annoyance is, the fecking project been in planning for like 7 months and d lead dev keeps saying he is looking for ideas on how we will build the app. Fuck this shit!1 -
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 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 -
I love Laravel, I really do... but it does make me feel like pulling my hair out quite a few times daily.5
-
I already HATE Laravel, and I haven't even got it working yet. I have now wasted 3 days on this bullshit14
-
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
-
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 -
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 -
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 -
const topic = 'Laravel'
const subtopic = 'Queues'
Have you used Redis? Have you used it as your Queue driver? Is it cool? Are there better alternatives?5 -
Fifth server been created on amazon so i can finally deploy my laravel web app. Has been 3 days so far...
Fuck me5 -
I just started on a Laravel project for a customer. Damn I’ve got a hate/love relationship with that thing.
I fucking love how fucking fast development is it in, even for fairly complex tasks, amazing.
I fucking hate how goddamn fucking slow development is when you get an error, as that shit is near impossible to debug, and you keep getting weird exceptions that you just need to know what means. -
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’m on a laravel project which is going great, the ass rapping part of it is compiling this fucking sass with laravel fucking mix... fuck it I’m setting up gulp3
-
DAILY LARAVEL PROBLEMS
I need to parse a JWT with some custom claims. There's a JWT library with Laravel; documentation really lacking, kinda hardcoded to work with Laravel but whatever; it's already installed, let's see what can I do with it.
It turns out I can't say something like "take this token, parse it, tell me it's valid". Let's see how that goes.
You need to build a parsing class with a manager, some auth stuff, a parser.
To build said manager you need a provider that implements a contract, a blacklist, a factory (of what?)
To build the factory (of what?) you need a claim factory and a payload validator
To build the claim factory you need a request
To build the blacklist you need a Storage
To build the storage you need a CacheContract
To build a CacheContract you need IDK it's a mess
To build the contract you need... IDK for real
WHY LARAVEL IS SHIT: 'cause only in this framework it seems reasonable to build this clusterfuck to parse a base64 encoded string, throw some json_decode and check a signature. And have it work only to authenticate a user.1 -
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.. -
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
-
laravel is a very serious framework
there is a laravel this for every that
I have to deal with npm too? impressive
was looking for a simple to learn framework just to take my mind of js and someone recommended laravel.6 -
Oh, Laravel, seriously? I think support for encoded slash in URL should be standard. Using POST for search request is ridiculous!
https://github.com/laravel/...4 -
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
-
Trying to set up and begin a project in laravel has been the worst environment setup experience I've ever had.6
-
"(Getting) otwelld"
The state of a fallen laravel developer, after he makes a PR to the laravel or lumen documentation and the epic troll otwell closes it within a minute, with the epic meme "already there", although the documentation is absolute dogshit at places and actually merging those PRs would make sense, so not every single developer out there has to make the same mistake or debugging2 -
How do you think about Laravel?
Does it made PHP more simple or just satisfied lazy developers 😀?10 -
So all u great web developers who use laravel. Do u use theme/template and build web pages / admin panels or do u do smth else...what about front end websites4
-
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 -
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 -
Damn Laravel 8 changed...
This whole Jetstream thing is kinda cool and infuriating....
I love the features but hate the code. I want ny laravel pug views back. Q_Q9 -
just did quick look on post about some guy comparing Laravel vs Rails vs Django. His conclusion was Django is the toughest one to learn o_0. Funny thing is i found out it's bit off.3
-
Met Symfony first .. fell in love .. Then I met Laravel fell in love again ..! Now am confused with whom to propose .. :/3
-
Start new project today. After several years doing C# and Java,now i face new challenge with something that i never heard before.God, please give me strength to do this..
CKAN..Python..OSTicket..Laravel..nice to meet you. -
Is anyone using Slack? I just downloaded it in order to use it with Laravel notifications. How is your experience with this?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 -
OMGGGG... One week ago when I was hired, for web developer they said we need ppl in Laravel but I was towards react ( also when I did interview I said I will most likely go to react) . Okay so I agree to Laravel.. ofc I want the job but today they hire a person for react 🙂🙂🙂🙂🙂
Wao7 -
About 3 years ago, we had 4 different WordPress sites for various clients.
My colleagues thought it'd be a genius idea to keep them all in one repo. Even more genius, for local development, a single installation which implements a switcher for the wp-config.php files so we can switch between sites. Not bad in theory.
Fast-forward to present day. 1 client left; another site got converted to using Laravel because they always asked us to update their content so no point using a CMS; whereas the remaining 2 sites use differing versions of WordPress on their live sites, no less than 18 months out of date, have no dev sites, different collection of plugins and themes and both modified to the deepest darkest depths of fucking hell that's barely recognisable as WordPress anymore and next to no documentation or comments around the changes.
The functions.php file of one of these themes is over 4000 lines long!!!
We're keen to upgrade our servers to use Ubuntu 16.04 which defaults to PHP7, so all the already deprecated WordPress functions will then fail to work completely as will have been removed.
Both of these clients have agreed that they wish to convert Laravel as well so there's not really much point in going through the clean up process of their WordPress sites. Just copy the database nuke it all and start a fresh with Laravel FFS!
They also wish to completely redesign and discuss what features to keep/add/remove. With no date for these redesign meetings in sight, we won't be converting to Laravel any time soon, nor upgrading our servers in the foreseeable future either!
This is all because of one dev in the office and his history of failing to keep on top of breaking changes!
Fuck you! Seriously, fuck you!!!
If I was your superior, then you'd have been fired long ago!3 -
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 -
To all the laravel developers: is there no way to get a clean new app without having to clean out all the default shit? Lumen seems to be pretty good for minimalism, but obv. doesnt provide as much as Laravel, so what do you use or do - do you each time clean out a laravel app before you start developing on it?..5
-
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 -
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 -
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 -
I have an nginx question.
Is it possible to send example.com/ requests to a Laravel app and send all other requests to an WordPress app?17 -
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 -
First day of new job. No more rants about Blue Prism, that's in the past now. New year new me!
Time to go back to rant against backend developers and their fucking Laravel.
First lesson of the day: if I see another select2 I'm gonna commit war crimes. You see this nice plugin for jQuery, you use it everything's so cool and modern and you think you're the smart one of the team 'cause you don't know you've just polluted an otherwise perfectly fine web page with the dirtiest js shit you could possibly find, just because you didn't feel like searching one more minute for whatever replacement for a drop down you can easily find.
You're not the smart one. You're a criminal.4 -
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
-
Using symfony for years. Tried to help a friend with Laravel. I feel like I was rolling in a mud for 3h.1
-
Me, when I figure I'm looking at the documentation of a different Laravel version and Otwell decided to fcking change shit again.1
-
Am I the only one thinking that maatwebsite/laravel-excel package is poorly documented?
Trying to make it work for excel file reading I have to do. 4 attempts (every attempt by 6h) - shit's not working like intended. Poor examples, code itself - just..not connecting dem dots, m9.
Just had to let it out from my system.3 -
Anybody playing with Laravel Nova? Just finished skimming the videos, and I mean, wow?
Am I seeing this right, or basically you can now create an entire, simple app about 10 times faster than Laravel.8 -
Are laracasts worth the money?
I want to learn Laravel finally to move from Codeigniter to Laravel.. The free ones are good but maybe the paid are unnecessary..6 -
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!!
-
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... -
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
-
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 -
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
-
!rant
I'm not the biggest web developer, but has anybody used Laravel and what do you think of it?12 -
It has been a few years since I havn't touched any code, IDE, git or anything else.
And now, I'm trying to create a new personnal project for Warhammer with Laravel, Node, Tailwind and trying to understand all the webpacking thing ...
Dude, it's hard af to get back in business with all the new things ...
Any advice on how to get back ?5 -
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
-
After 2 days of reverse engineering another developers code, I wish Laravel would go and die in a fire.3
-
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
-
Hi 👋.
I'm starting to learn laravel. Do you guys have and tips or something like that for newbies that you'd like to share?4 -
So i'm a laravel dev and i love it. However one thing that only seems to happen late at night is when working with Eloquent i always end up putting () when working with relationships.
Last night i spent about 2 hours messing with
public function members(){
return $this->hasManyThrough(
'App\Member', 'App\ConversationMember',
'conversation_id', 'id', 'id'
);
}
only to find out i was calling it via
$conversation->members() instead of $conversation->members
This morning when i opened up the IDE i immediately figured out what i was doing wrong.... sometimes burning the late night oil is counter productive i guess you could say -
People tell me all thw time that I should use Laravel...
Sure... when Laravel supports Propel out of the box...4 -
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 -
Hello Guyz!
Need some suggestions where to find some good sources in order to learn laravel. Someone promised me a job if i learn it. Help is appreciated.4 -
I was maintaining Laravel 5.1 code and at that time recently updated to 5.3. Updated all server softwares n everything which took a lot of my time.
After a month, I had to add a field to table and found unusual error. In laravel 5.1 migrations, created_at and updated_at default values were set as 0000-00-00 00:00:00 and mysql update didnt allow it.
Now everything else works fine except I can't make changes to tables. Should I leave it as it is? -
For any PHP / Laravel dev out there, if you don't know laracasts.com, you're wasting a precious time!
-
I've a new request for one of my Laravel projects. Need to add an appointment booking service, so I am wondering which should I use?
I thought about calendly.com but still have mixed feelings about it.
Any tips?7 -
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 -
So I came from a Laravel background, I love using it. I mean, Laravel is beautiful!
However, the city I want to move in have ZERO Laravel jobs, most of them are looking for Django and Rails developers. So already knowing Python, I decided to learn Django to get a job in that city and add it on my skillset.
I like it, I watched FCC's tutorial on Django, I'm ready to start and create my first Django project, was so excited and proud of myself until... I found out that:
1.) Django lacks built-in seeder
2.) It's confusing to customize the authentication function
3.) Styling of forms is in Python-level, not on template-level (unless you install a 3rd-party package)
4.) Integrating frontend framework requires manual setup
and many more...
I enjoy Python, and tbh I plan on making it my main language, but this is just... too frustrating. -
When you can install laravel with homestead but you can't see the girl you like because the sky is literally fucking falling...
WHAT YOU WANT FROM ME? -
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'm currently struggling to pick between Vue and React for my next project. It will be a kind-of campus social network and will use Laravel.
I already know React but I'm wondering how well it goes with Laravel and wether I should use my time on Vue instead?
Apologies for being so vague but hopefully someone will understand. Thanks!9 -
Dam your shit! When it's working one minute and then fucked up the next 😢
Laravel API project, need to do some serious debugging, whereas my rubber duck 🦆 -
My autocomplete has been rendered useless since the API calls need fucking half a second to complete for some reason.
Fucking great... Did something similar happen to you guys with Laravel?1 -
Just pushed my new Laravel package.
Laravel AJAX CRUD: Build Laravel 6 CRUD apps in record time!
https://github.com/kdion4891/... -
Sometimes I really hate laravel when a new version appears. I'm actually sitting here considering updating projects from a few months ago that are absolutely fine.
God dam laravel and its silky features.
/rant1 -
I have two laravel apps. Both sharing one redis db. One has App/Post one has App/Models/Blog/Post. When I unserialize models from redis cache saved by the other app I get issues because it cannot find the right model to hydrate.
How would you build a custom map to get the right model?15 -
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 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 -
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 -
Im so grateful to all those way more talented devs then myself who helped to build laravel and vue. If anyone here is one, have my sincerest gratitude!
-
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 -
VSCode for Laravel sucks. Blade is totally broken. If you know good plugin with emmet support and blade highlighting together, let me know. Also Laravel Mix is a little bit trashy and buggy with Pug :P2
-
I am frustrated with the JWT token based authentication library I am using for my lumen(laravel) based backend. It is having lot of ongoing issues with infinite timed token(mobile apps) and others... Here is the link
https://github.com/tymondesigns/...
If anyone has any suggestions for a good replacement for this it would be awesome because this is shitty in the support for the library nobody addressed the issues raised and threads are not even taken care about. It is so frustrating when you implement something but have to deal with the shortcomings of it, when it does not even do some basic things it is supposed to do. I feel bad saying it for somebody else's work. But, sometimes it has to be ranted out... That's the whole point of devRant. So yeah JWT based authentication library suggestions for laravel based backend. Because tymon-auth is shit.1 -
Today, on "Trying to get property of non-object" we'll talk about Laravel and what happens when you did not enough research...
-
As per knowledge everyone here knows that nodejs express is single thread compared to laravel which is multithreaded.
So definitely laravel is better than NodeJS
Then why would someone choose nodejs over laravel?23 -
Today, I will start my own project in laravel, so I can learn a little bit more because I'm still very new to this.
Does anyone have any advice you can give me?9 -
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 -
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
-
Because the company scrape the whole project, I been assigned to do backend laravel. After struggling for months , I been reassigned again help another front end project written in reactJS this time. I don't know who am I anymore and I did not touch android development for months 😢
-
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? -
Today I launched laravel swift. A SwiftUI-inspired spin on Laravel Livewire. https://github.com/redbastie/swift
-
I finally configured my VPS. (haven't used linux before that)
Now when I installed my laravel 5.2 project and wanted to use composer to get all the dependencies I came across an deprecated dependency. So now I'll either do a quick fix and update the dependency or upgrade to laravel 5.3. The second option is obviously better but takes more time. If only someone else could do this shit for me and I'd just be busy writing code. : /1 -
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 love laravel. But I hate blade as it's templating engine. Why didn't they choose pug. Its so much more readable. I know I can have it by packages. But I would rather see it as the default.10
-
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
-
How to create rest API routes in Laravel 5.4
I want to call controller method through my API route3 -
Is it just me, or are Laravel model queries super slow, especially when you're loading relationships?8
-
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
-
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 -
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 -
Hello everyone,
I've got a somewhat special issue with my setup.
I am running an instance of `lucaslorentz/ caddy-docker-proxy` as proxy that handles certificates and request and proxies them to docker containers that run `abiosoft/caddy:php` to host Laravel based applications. The problem is, that the `abiosoft/caddy` containers do not know it's assigned hostname and thus Laravel's `asset`, `secure_asset` and `url` respectively `secure_url` don't work as they use the internal hostname which would be an IP address and thus requests go to 192.168.240.x instead of example.com.
I am not yet entirely sure where I should tackle this problem and am grateful for every hint.
I am currently also evaluating traefik instead of Caddy-docker-Proxy and Caddys v2 official container instead of abiosoft's Caddy v1 container but I guess, that this wouldn't solve the issue as the container still wouldn't know that it's given Domainname is example.com4 -
Is it only me that thinks inertia js with Laravel just seems bloated and not necessary? Am I missing some thin Laravel and Vue seems more simple than Laravel, Vue, and inertiaJS.2
-
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. -
I keep hearing: "Laravel is better than CakePHP", "CakePHP is just for prototyping, not for serious development", "if you want to do it properly, use Laravel", "Laravel is a lot more powerful than CakePHP" etc. etc.
Why is it that people think Laravel is so superior?
Anyone who can give proper arguments for this? because when I ask those persons tho elaborate, they can't...10 -
Any tips on working with Laravel? I've got a new Web project and I figured it's a good time to learn.
-
Why use vue pagination when you can create pagination using Laravel paginate (https://cloudways.com/blog/...) method?1
-
Just release my new Laravel CRUD package: https://github.com/kejojedi/crudify
Hope someone likes it. -
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 -
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 -
Following an interview, I've been tasked with creating a "simple address book" webapp with Laravel and Vue.js.
There isn't much in the spec, with the only requirements being the use of Bootstrap, no auth, and inclusion of pagination and searching.
This is very easy with Laravel and my question to the community is how much further do I go with this?
Should I add alphabetical pagination alongside laravel pagination? What about a nice material ui?
I sent a design from Dribble to the employer and asked if making the app look fancy would be worth my time. He said I'm free to use any front end design and lib that I want if I'm able to demonstrate my use of them in code review, and he also said that the project "was only intended to take you a couple hours" which it would if I weren't to add a fancy ui.
So, shall I just make a simple app with Bootstrap tables, add responsiveness and keep the css semantic for brownie points, or go all out and spend a day or two making it beautiful? There is one other candidate so I have competition.1 -
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
-
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 -
"Webpack not working if its Monday"
https://github.com/JeffreyWay/...
I don't see the issue here? Not working on Monday is completely expected behavior, at least for humans. Why shouldn't this apply to software? -
Why is laravel so poorly documented? Take \Illuminate\Mail\Mailer::send() as example. The third parameter is a callback. Nothing more. No info in the docblock what that callback does, when it is called or what the signature looks like. You have to go into the code and hope to find it out without climbing through a dozen classes.
If they are so sparse with the information in the docblock, they can leave it away completely. -
Jesus Christ , how does one connect to a third party websocket stream in Laravel. It seems to be so damn complicated with the involvement of Pusher, Broadcast, Echo and a bunch of other useless packages. On Top of that there are no tutorials on this, everyone is busy building a chat app and even then i tried following along, it doesn't work. Does anyone know how to do this?
In python, it is as simple as this
import websocket
SOCKET = "wss://stream.binance.com/ws/..."
ws = websocket.WebSocketApp(
SOCKET, on_open=on_open, on_close=on_close, on_message=on_message
) //you get the damn data
In Laravel, it so bloody complicated. -
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 -
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 -
Fuck Laravel Nova
Worst piece of shit ever, do not let anyone fool you, you are going to get ass raped. Promise you. This is a piece of shit that needs to be removed from the internet.2 -
#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 -
First time using AWS.....
I can't to deploy a laravel app .... I saw the documentation but
there are too many links ... the google chrome is starting to make my laptop unusable😭😭😭2 -
Well I am new to laravel php framework I didn't use git while installing laravel now how do I integrate git into laravel1
-
Why is laravel quickstart guide's default files are so fundamentally different from what I got, when I run 'laravel new myApp'? It's so frustating!3
-
Any ideias what use to create a api with laravel? I install passport but dont work properly on php artisan serve
-
Fucking wrong parameter number.
select id,
name,
email,
logo,
IF(company_contact_ids is null, 0, contact_count) as contact_count
from (
select `companies`.`id`,
`name`,
`email`,
`phone`,
`logo`,
COUNT('company_contact.id') as contact_count,
GROUP_CONCAT(company_contact.id) as company_contact_ids
from `companies`
left join `company_contact` on `company_contact`.`company_id` = `companies`.`id`
where name like '%:name%'
group by `companies`.`id`
order by `name` asc
) as companies;
how many parameters do you see? I see 1.
https://pasteboard.co/KjDUjA3.png
Now how many parameters you see in $bindings array? I see 1
Fuck you laravel creators - it is not fucking wrong count. Why this error lies to me? Or what fucking count do you expect if I defined in the fucking query 1 parameter?3 -
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. -
Laravel docker ports configuration sucks. There is no fucking documentation in fucking laravel docs how how to fucking configure ports. I have set wrong port, wrong host with my docker setup and it was just giving fucking stupid error where lot of stackoverflow solutions do not help. FInnaly I found the solution here https://stackoverflow.com/questions...
which finally helped. So the host needed to set to the mysql instead of fucking localhost - I had found this in another SO answer but it was not enough. How the fuck can I know. Why it is not written in documentation. https://laravel.com/docs/8.x/...
And then port - it was needed 3306 - how the fuck could I know that I need it instead of 3000 which I have set in docker setup? Wtf.
Finnally when I made query "laravel docker what mysql port to use"
then I found this stackoverflow answer. Why need to make things so hard? -
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. -
Laravel Nova is Pain in the ass! It never lets you customize a page easily. i mean they have this Tool library that has its own node_modules to be installed and that sucks!!
-
I just launched my new UI package.
bastinald/ui allows you to create web apps using Laravel Livewire + Bootstrap 5 in record time.
https://github.com/bastinald/ui
Thanks for checking it out. -
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
-
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
-
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 -
Does anybody else think of the difference between Symfony and Laravel as the difference between Lego and Duplo?
-
laravel websocket server, laravel echo plugins, android app, ionic angular frontend, laravel backend... hopefully the tech stack is stable for an ordering app1
-
Does anyone, that works/has worked with laravel know how to give id a minimum length?
For example, instead of 1 I would want 000001, 10 would be 000010, and so on.
I know uuid does something similar, but it's not exactly what I want. Also, I had a bad experience with uuid, where I wanted to delete the field but it would still show up every time I migrated 🙃 but it wasn't it the migration file 🙃 so now I try to avoid using it 🙃4 -
Been wanting to switch to a laravel job but i only have 1 year experience and i need to catch up with the latest laravel updates, will this be a deal breaker when applying for a laravel job?3
-
I recently released my latest UI, Auth, & CRUD scaffolding package called Laravel Livewire UI.
This package provides Laravel Livewire & Bootstrap UI, Auth, & CRUD scaffolding commands to make your development speeds blazing fast. With it, you can generate full, preconfigured Bootstrap UI, complete Auth scaffolding including password resets and profile updating, and Create, Read, Update, and Delete operations. The CRUD files even have searching, sorting, and filtering. This package also comes with full PWA capabilities.
- Demo Video: https://youtube.com/watch/...
- Github Repo: https://github.com/bastinald/...
Thanks for your time. -
Laravel route not found.
Look - so simple :
Route::post('/api/companies', function () {
return 'Hello World';
});
how the fuck it is not found?
Request URL: http://localhost:8000/api/companies
Request Method: POST
Status Code: 404 Not Found
???? I have cleared cache.
How do I check fucking available routes then? In symfony there was router:debug or smth. Cant see like this in laravel44