Create a .env file with content same as .env.example with your database name and username and password
-
composer install
-
composer dump-autoload
-
php artisan key:generate
-
php artisan migrate
-
composer require intervention/image
-
open config/app.php => a. Add "Intervention\Image\ImageServiceProvider::class" to $providers array b. Add "'Image' => Intervention\Image\Facades\Image::class" to $aliases array
-
php artisan vendor:publish --provider="Intervention\Image\ImageServiceProviderLaravel5"
Also change the function username() inside AuthenticatesUsers.php by changing 'email' to 'rollno' for login functionality to work \yearbook\vendor\laravel\framework\src\Illuminate\Foundation\Auth
upload_max_filesize = 100M post_max_size = 125M #Restart apache systemctl restart apache2.service