๐๐๐๐ฅ๐๐๐ญ๐ข๐ง๐ ๐จ๐ง ๐๐ง ๐๐ง๐๐ซ๐๐๐ข๐๐ฅ๐ ๐๐จ๐ฎ๐ซ๐ง๐๐ฒ: ๐๐ก๐ ๐
๐ข๐ซ๐ฌ๐ญ ๐๐๐ซ๐๐ฏ๐๐ฅ๐ข๐๐ง๐ฌ ๐๐๐๐ญ๐ฎ๐ฉ ๐ข๐ง ๐๐๐ค๐ข๐ฌ๐ญ๐๐ง โค๏ธ
After dedicating my personal efforts and hard work for the last 9 months finally, I successfully arranged my first-ever Laravelians โค๏ธ meetup yesterday! ๐
Though the number of attendees was very small, but I don't care, it will not stop me from chasing my dream of building the largest PHP/Laravel community for Pakistanis (maybe even the biggest in the world) and to bring Laracon to Pakistan!
With consistency and passion, this community will grow stronger and more motivated every day.
๐๐ง ๐๐๐ ๐๐๐๐๐. ๐
๐๐ญ๐๐ฒ ๐ญ๐ฎ๐ง๐๐, @๐๐๐๐ซ๐๐๐ซ๐๐ฏ๐๐ฅ๐ข๐๐ง๐ฌ โค๏ธ ๐๐ซ๐จ๐ฆ ๐๐๐ก๐จ๐ซ๐ ๐๐ง๐ ๐๐๐ซ๐๐๐ก๐ข! ๐๐
#Laravel #Laraveliansโค๏ธ #TaylorOtwell #MuhammadAbdullahM


Muhammad Abdullah Mirza
@muhammadabdullahmirza
I'm in strong ties with Web Development ๐
โข โข 66 Posts โข 285 Views
๐ง๐ถ๐ฝ ๐ผ๐ณ ๐ง๐ต๐ฒ ๐๐ฎ๐ ๐ณ๐ผ๐ฟ ๐๐ฎ๐ฟ๐ฎ๐๐ฒ๐น๐ถ๐ฎ๐ป๐โค๏ธ
Laravel, Laravel, Laravel...
It makes every aspect of Web Development a piece of cake.
API security is surprisingly elegant in Laravel! ๐คฏ
Today, let's explore how Laravel's built-in CORS configuration gives us granular control over cross-origin requests. Protect your API's while enabling frontend access with surgical precision! ๐๐ช
๐. ๐๐ก๐๐ญ ๐ข๐ฌ ๐๐๐ฉ๐ฉ๐๐ง๐ข๐ง๐ ?
๐ฝ๐ฎ๐๐ต๐: Defines which API routes accept cross-origin requests.
๐ฎ๐น๐น๐ผ๐๐ฒ๐ฑ_๐บ๐ฒ๐๐ต๐ผ๐ฑ๐: Specifies permitted HTTP verbs (GET, POST, etc).
๐ฎ๐น๐น๐ผ๐๐ฒ๐ฑ_๐ผ๐ฟ๐ถ๐ด๐ถ๐ป๐: Controls which domains can access your API.
๐ฎ๐น๐น๐ผ๐๐ฒ๐ฑ_๐ต๐ฒ๐ฎ๐ฑ๐ฒ๐ฟ๐: Manages which request headers are accepted.
๐๐๐ฝ๐ฝ๐ผ๐ฟ๐๐_๐ฐ๐ฟ๐ฒ๐ฑ๐ฒ๐ป๐๐ถ๐ฎ๐น๐: Enables cookies/authentication in cross-origin requests.
๐ง๐ถ๐ฝ ๐ผ๐ณ ๐ง๐ต๐ฒ ๐๐ฎ๐ ๐ณ๐ผ๐ฟ ๐๐ฎ๐ฟ๐ฎ๐๐ฒ๐น๐ถ๐ฎ๐ป๐โค๏ธ
Laravel is amazing when it comes to simplifying data filtering and collection manipulation. Let's dive into an incredibly handy feature Laravel provides with collection methods! ๐๐ช
๐. ๐๐ก๐๐ญ ๐ข๐ฌ ๐๐๐ฉ๐ฉ๐๐ง๐ข๐ง๐ ?
๐ฟ๐ฒ๐ท๐ฒ๐ฐ๐(): Quickly excludes all items that match certain conditions.
๐. ๐๐ฌ๐ ๐๐๐ฌ๐
Imagine you want to manage a user list displaying only active members in your application dashboard. Using collection methods like ๐ฟ๐ฒ๐ท๐ฒ๐ฐ๐(), you can easily clean up your data without cluttering your codebase with loops or complex conditions.
Clean code, clearer logic!
#CodeTips
#Laravelians
#Laravel
#CleanCode
#WebDevelopment
#PHP
#BestPractices
"๐ช๐ต๐ฒ๐ป ๐๐ต๐ฒ ๐ต๐ฎ๐ฟ๐ฑ๐ฒ๐๐ ๐ฝ๐ฎ๐ฟ๐ ๐ผ๐ณ ๐๐ผ๐๐ฟ ๐ท๐ผ๐ฏ ๐ถ๐ ๐ด๐ฒ๐๐๐ถ๐ป๐ด ๐๐ต๐ฒ ๐ท๐ผ๐ฏ ๐ถ๐๐๐ฒ๐น๐ณ"
Sometimes the Puzzle ๐งฉ you solve in an interview is nothing like the day-to-day work on the job ๐ผ. Weโve all seen the โ๐๐๐ฅ๐๐๐ข๐ฅ๐ ๐๐๐๐ข๐ฅ๐๐ง๐๐ ๐ง๐๐ฆ๐ง๐ฆ ๐คฏโ that feel way over the top for the actual tasks ahead.
โณ ๐ง๐๐ ๐ฅ๐๐ฆ๐จ๐๐ง? Plenty of talented developers with great practical skills never make it through because of overly technical screens.
โ
Letโs start matching our hiring process to the real work โ focus on problem-solving, collaboration, and the tools we actually use.
Whoโs with me? ๐ค
#Recruitment
#SoftwareEngineering
#HiringThoughts
#SoftwareEngineers
๐ง๐ถ๐ฝ ๐ผ๐ณ ๐ง๐ต๐ฒ ๐๐ฎ๐ ๐ณ๐ผ๐ฟ ๐๐ฎ๐ฟ๐ฎ๐๐ฒ๐น๐ถ๐ฎ๐ป๐โค๏ธ
No need to recall the same controller class again & again! ๐คฏ
Today, let's explore how the controller() route helper can make your code cleaner and more maintainable. Route grouping just got more beautiful! ๐๐ช
๐. ๐๐ก๐๐ญ ๐ข๐ฌ ๐๐๐ฉ๐ฉ๐๐ง๐ข๐ง๐ ?
๐ฐ๐ผ๐ป๐๐ฟ๐ผ๐น๐น๐ฒ๐ฟ(): Groups multiple routes under a single controller class.
๐ด๐ฟ๐ผ๐๐ฝ(): Keeps related routes organized together.
๐. ๐๐ฌ๐ ๐๐๐ฌ๐
Suppose you are building an API or web application with multiple actions in one controller. You don't want to cumbersome your routes files & want to make it clean & maintainable.
This approach will be your goto choice, it reduces duplication and improves readability!
#Laravelians
#Laravel
#CleanCode
#WebDevelopment
#PHP
#BestPractices
When the employer wants you to have 6+ years of experience in Javascript, Python, Java, React, Vue, Laravel, Mongodb, Rails, MySQL, Greek History, Aerodynamics, Human Anatomy etc.
Just to manage their WordPress site ๐ซ
Le You: