Laravel Accessors and Mutators – Undefined Property in AppModels

Laravel Accessors and MutatorsI was working on a project that is in Laravel 8. And I needed to limit the words in the blade template. I tried using substr() and…

Laravel – Remove Public From Url

 Laravel Remove Public From URLAll version of Laravel comes with Public directory in it holding an index.php file, which is a very first entry point of Laravel application. From where…

Create Trait in Laravel 7

TraitsTraits are a mechanism for code reuse in single inheritance languages such as PHP. A Trait is intended to reduce some limitations of single inheritance by enabling a developer to…

Force SSL Codeigniter 3

CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than…

Using Models in Codeigniter Library

Using Models in Codeigniter 4 Library Codeigniter, a framework that is easy to understand and easy to use. Codeigniter provides a well documented easy to understand user guide with it.…

Using Models in Codeigniter 4 Helper

Using Models in Codeigniter 4 Helper Codeigniter, a framework that is easy to understand and easy to use. Codeigniter provides a well documented easy to understand user guide with it.…

Codeigniter 4 Cart Library

Codeigniter 4 Cart Library Codeigniter 4 has dropped support for its Cart library, which was included in Codeigniter's old version. Codeigniter Cart Library is not out of box library, it…

How to resize a SVG image

How to resize an SVG image This is so easy task but at first, I was unknown about it. And I started searching on google How to resize an SVG…

Datetime Picker in HTML – How to add datetime picker in HTML Input

HTML - <input type="datetime-local"> The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types…

Laravel – SYNTAX ERROR OR ACCESS VIOLATION – SPECIFIED KEY WAS TOO LONG

Laravel 6 - Syntax error or access violation Laravel has made a change to the default database character set, and it’s now utf8mb4 which includes support for storing emojis. This…