Skip to content

shalnoimottaki/school_project_with_laravel

Repository files navigation

Build Status Total Downloads Latest Stable Version License

Home Page

school project with laravel 9

Admin Page

school project with laravel 9

Student Page

school project with laravel 9

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.

Installation & usage

  • For Install you have to clone this repo or you can fire this command as well.
git clone https://github.com/shalnoimottaki/school_project_with_laravel.git
  • Go into folder
cd school_project_with_laravel-master
  • After the installation you have to update the vendor folder you can update the vendor folder using this command.
composer update
  • After the updation you have to create the .env file via this command.
cp .env.example .env
  • Now you have to generate the product key.
php artisan key:generate
  • Now migrate the tables & seed the database.
php artisan migrate --seed
  • We are done here. Now you have to just serve your project.
php artisan serve
  • This is the updated code of admin.

Added

  • For upload and retrieve image in my Laravel project
php artisan storage:link
  • Added this code inside AuthenticatesUsers.php
  protected function authenticated()
    {
        $user = Auth::user();
        if($user->isAdmin){
            return redirect()->route('admin.index');
        }
        return redirect()->route('student.profile');

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page.

Premium Partners

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

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

About

mini project about the school with laravel 9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages