Skip to content

Basic Laravel Company Profile. My first time using Laravel

Notifications You must be signed in to change notification settings

coderaulia/laraprofile

Repository files navigation

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

First Started

  • Installing composer to the project folder. (go to getcomposer.org).
  • Create Laravel project using composer (composer create-project --prefer-dist laravel/laravel {folder name}).
  • Start the dev server on the project folder using: php artisan serve.
  • Setting-up views, controller, routes etc.

Setting-up database

  • Create new database on local server (phpmyadmin).
  • Setting-up database on .env files.
  • Install laravel/jetstream via composer.
  • Install livewire via php (php artisan jetstream:install livewire).
  • Migrate database using php artisan migrate. (make sure you already install php-mysql on your machine).
  • Run npm install && npm run dev

Creating Email Verification system

  • Enable email verification on config/fortify.php
  • Adding implements MustVerifyEmail at User models (models/User.php) classes.
  • Adding the verification system routes on web routes (from Laravel Documentation).
  • Register and login to mailstrap.io, and then setting the env file with username and password.
  • Don't forget to setting the .env file. Emptying the app url, email's ports, username and password, fake sender emails.

Creating Admin Page Restriction

  • Adding construct function to the Controller.
  • Using Auth's Middleware.

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

Basic Laravel Company Profile. My first time using Laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published