Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ReakyMark's avatar

First time laravel guide me some basic setup

i confuse with naming folder in Laravel. where can i start write code like in Contoller, Model, View in Laravel ? how to rewrite url to remove public ? where should i put my image, css(scssphp), js(webpack)? i just want to start building same frontend as my ex CI project to Laravel but .... Headache.

Thank in advance.

0 likes
4 replies
ReakyMark's avatar

Thank for your Guide and now i had another Question in Laravel Model since i alway use Base Model in my Ex.Project like :

Base Model

public function selectAll($table){...}

public function selectRow($table, $id){...}

public function selectColumn($table, $field){...}

so i can call it in any Controller just provide Arg for reuse.

how do i make it in Laravel Model coz i'm not good with Eloquent extra making relationship i just want to complete my Ex.project into Laravel then will dig more into it later.

Thank in advance

Please or to participate in this conversation.