Project mobile_system is made with Laravel Framework. It contains information about phones, brands, models and years of release.
To deploy this project you need to have XAMPP and a couple more steps.
First, the httpd-vhosts .conf file should be edited. The path to this file is ...\xampp\apache\conf\extra. Its recomended to use the full directory path.
<VirtualHost *:80>
DocumentRoot "...\xampp\htdocs\nameOfFolder"
ServerName serverName.com
<Directory "...\xampp\htdocs\nameOfFolder">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
Require all granted
</Directory>
</VirtualHost>After that, we need to update the hosts file in directory ...\Windows\System32\drivers\etc (this is for Windows). Its important to run your text redactor as an admin.
127.0.0.1 serverName.comThe last step is creating a new database in phpMyAdmin. The URL to access phpMyAdmin is http://localhost/phpmyadmin.
- Brand
- Phonemodel
Model is a key word so it cannot be used. HasbelongsTo()relation with Brand, since many models can belong to one brand, but a model cannot belong to many brands. - Phone
HasbelongsTo()relations with Brand and Phonemodel. One phone can have only one brand and only one model. Many phones can belong to one brand and to one model.
- IndexController
- BrandController
- PhonemodelController
- PhoneController
- CrudController
-
layouts
@yieldis used to define a section in a layout and is constantly used to get content from a child page unto a master page. -
index
@extendslets you "extend" a template, which defines its own sections.
@sectioninject content layout from extended blade layout and display in child blade.
From web.php is set the route for each view, as well as the controllers and their functions.
Backpack is used for all CRUD operations. Backpack is accessible via adding /admin to the base URL. Here, you need to make yourself a personal (local) account.
- Filter search.
- "Order by" functionality.




