Project Laravel 11 dengan Livewire 3, Template Admin Stisla, dan Multi Auth menggunakan Laratrust serta Aktif/Non-aktif akun. Have Fun ^_^
Before you begin, ensure you have the following installed:
- PHP (version 8.0 or higher)
- Composer (for managing dependencies)
- MySQL or any other database supported by Laravel
- Node.js and npm (for handling frontend and assets)
Follow these steps to get your project up and running.
Clone the repository to your local machine:
git clone https://github.com/fahmiibrahimdevs/livewire-stisla.git
After cloning the repository, navigate to the project directory and install the PHP dependencies using Composer:
cd livewire-stisla
composer install
Copy the .env.example
file to .env
:
cp .env.example .env
Then, open the .env
file and update the database connection and other environment variables based on your local configuration.
Run the following command to generate the application key:
php artisan key:generate
Run the migration command to create the necessary database tables:
php artisan migrate:fresh --seed
Install the frontend dependencies using npm:
npm install
Once the frontend dependencies are installed, run the following command to build the assets:
npm run dev
If you want to build assets for production, use:
npm run prod
Your application is now ready to run. To start the Laravel development server, use:
php artisan serve
The application will be available at http://localhost:8000
.
This project is licensed under the MIT License.