StackCoder Theme Switcher Image
Menu Icon
  • Theme Switcher Image
  • Articles
  • About Me
  • Contact Us

Good content takes time and effort to come up with.

Please consider supporting us by just disabling your AD BLOCKER and reloading this page again.







Route Model Binding In Laravel & Change Default Column id To Another Column

MODEL ROUTE MODEL BINDING PHP LARAVEL ROUTING LARAVEL

Hooray! I am up with another article. In this article, you will learn What is Route Model Binding in Laravel and how to change the default column from id to another column like unique_id

Author Image
Channaveer Hakari
04 May 2020 2 mins read

Accessors & Mutators In Laravel. Problem In Set Attribute While Saving/Updating Data & How To Resolve It

MUTATOR MODEL PHP PHP LARAVEL ACCESSOR SET ATTRIBUTES LARAVEL

Many times you want the first_name or last_name to be capitalized while storing in your database. And sometimes you want to stored status like open/closed with a small case and when fetching you need to be capitalized.

Author Image
Channaveer Hakari
23 Apr 2020 4 mins read




© Copyright 2022 StackCoder. ® All rights reserved.
StackCoder Social Share Icons StackCoder Social Share Icons StackCoder Social Share Icons StackCoder Social Share Icons

Terms | Privacy | Disclaimer | Sitemap | Feed | RSS