This is Laravel blog starter kit project with Filament admin panel.
The goal of this repository is to showcase good Laravel development practices with a simple application.
- 📚 Creating and editing posts
- 🥑 Categories
- 🔥 Popular posts
- 🐥 Admin panel built on Filament
This is what the blog looks like:
And this is what the admin panel on Filament looks like:
Open a new issue to request a feature (or if you find a bug).
Clone the project:
git clone git@github.com:gomzyakov/laravel-blog.git
I believe you already have Docker installed. If not, just do it on Mac, Windows or Linux.
Build the laravel-blog
image with the following command:
docker compose build --no-cache
This command might take a few minutes to complete.
When the build is finished, you can run the environment in background mode with:
docker compose up -d
We’ll now run composer install
to install the application dependencies:
docker compose exec app composer install
Copy the environment settings:
docker compose exec app cp .env.local .env
Set encryption key with the artisan
Laravel command-line tool:
docker compose exec app ./artisan key:generate --ansi
Migrate DB & seed fake data:
docker compose exec app ./artisan migrate:fresh --seed
And add Filament admin user:
docker compose exec app ./artisan make:filament-user
And open http://127.0.0.1:8000 in your favorite browser. Happy using Laravel Blog!
Access to the Docker container:
docker exec -ti laravel-blog-app bash
This is open-sourced software licensed under the MIT License.