This is a simple photo gallery application built with Laravel 11, Spatie Media Library, and Tailwind CSS.
Follow these steps to get your Laravel Photo Gallery up and running:
Make sure you have the following installed:
Clone the project to your local machine:
git clone https://github.com/yourusername/laravel-photo-gallery.git
cd laravel-photo-gallery
cp .env.example .env
php artisan key:generate
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_database_username
DB_PASSWORD=your_database_password
php artisan migrate
composer require spatie/laravel-medialibrary
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider"
php artisan serve
Your application should now be running at http://localhost:8000.