Hello everybody & everyrock!
Prehistory
Today, I want to tell you about the awesome MoonShine framework, not the MoonShine that is MoonShine at grandpa's house in the village πποΈπΊπ₯ And I want to tell you about the framework, which is based on the principles of Laravel architecture and the principles of the author's view of the code.
Perhaps I will surprise someone, but this framework helped me a lot in routine tasks with CRUD-operations, query filters, fields decorations and many more packages, where you can find them on the plugins page.
β In total, it has helped me speed up my development time many times over, at least 3-4 months of time savings per year on average. βππ¨βπ By the way, while I was studying this tool - wrote 3 small projects π―π οΈπ, such as logging for API services, a simple blog and a very complicated case like a freelance exchange with a balance for users. It turns out that the rest of the time, I can spend on my own projects, after my clients' projects with the same workload that I have today as I have had for the last π years ππ.
So what is this thing? π
MoonShine is a modern admin panel for Laravel applications. Below is a step-by-step guide to installing MoonShine for Laravel.
As you might have guessed under the hood there is a stack time-honored of Tailwindcss, Alpine.js, Laravel
This is an open-source project, the main task of which is to make the admin panel as simple as possible (for junior developers) and at the same time functional and customizable (for experienced ones).
Danil Shchutsky (c)
Requirements [composer v2+]
"require": {
"php": "^8.2",
"laravel/framework": "^10.48",
}
Step 0: Create a New Laravel Project
If you donβt have a Laravel project yet, create one:
composer create-project laravel/laravel my-first-moonshine-project
cd my-first-moonshine-project
Step 1: Install MoonShine via Composer
Add MoonShine to your project using Composer:
composer require moonshine/moonshine
Step 2: Publish MoonShine skeleton
Run the following command to publish configuration files and assets:
php artisan moonshine:install {--with-options}
You can learn about all supported options in the section Commands of documentation.
Step 3: View awesome result
Up serve like:
php artisan server --port={YOUR_LIKE_PORT}
Don't forget update your new .env file after install laravel π±
- Also you should look into
config/moonshine.php
orMoonShineServiceProvider.php
to understand the entire universe ππππͺβ¨, - by default route is
/admin
π π²πΆββοΈ
All done, well done! πππ
I hope you also find this reliable tool useful. as I found it for myself. β€οΈ
Good luck!
Top comments (0)