1. Go to this page and download the library: Download dev-lnk/moonshine-builder library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
shell
┌ Add timestamps? ─────────────────────────────────────────────┐
│ Yes │
└──────────────────────────────────────────────────────────────┘
┌ Add softDelete? ─────────────────────────────────────────────┐
│ No │
└──────────────────────────────────────────────────────────────┘
┌ Make migration? ─────────────────────────────────────────────┐
│ Yes │
└──────────────────────────────────────────────────────────────┘
app/Models/Post.php was created successfully!
app/MoonShine/Resources/PostResource.php was created successfully!
migrations/2024_09_10_111121_create_posts.php was created successfully!
shell
php artisan ms-build:types
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.