Skip to content
Laravel project tutorial code for beginners.
PHP HTML Vue
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.editorconfig
.env.example
.gitattributes
.gitignore
LICENSE
artisan
composer.json
composer.lock
package.json
phpunit.xml
readme.md
server.php
webpack.mix.js

readme.md

Laravel 5.8 Basics

This is an example application built on Laravel and Bootstrap for beginners.

Running this web application

  • make sure you already have xampp installed.

  • clone this repository to your local machine or just download the zip from the above green button.

  • install Composer first, then run this command in your command-line (you should be inside your project directory).

  composer install
  • rename .env.example to .env and add your database and mail driver credentials (mailtrap is preferred).

  • generate application key.

    php artisan key:generate
  • create tables.
    php artisan migrate
  • Link the public disk for image upload (this will create a symbolic link to storage/app/public directory).
    php artisan storage:link
  • Start the development server.
    php artisan serve

In Laravel, all the requests are directed to index.php in public directory so, if it does not work with your apache then create a virtual host or use dev server instead of opening it from http://localhost/your-laravel-project/public

Features

  • Todos CRUD.
  • Form Validation.
  • Flash Messages.
  • Authentication.
  • Email Verification.
  • Password Reset.
  • Eloquent One to Many and Many to One Relationship.
  • Image Upload.

Tutorial Links

You can’t perform that action at this time.