| Install | |
|---|---|
composer require fromhome/laravel-starter |
|
| Latest Version: | 3.1.1 |
| PHP: | ^8.2 |
This is Laravel starter project built using Laravel Fortify, Inertia and Chakra UI for UI. This starter already have
![]() |
![]() |
![]() |
![]() |
![]() |
git clone https://github.com/your-username/your-repo.git or using Use this template button in GitHub repository pagecomposer install and bun install.env.example file and rename it to .env. Update the environment variables as needed.php artisan key:generatephp artisan migrate --seedbun run devphp artisan serveNow you can open a http://localhost:8000 in browser and login using admin@fromhome.dev and password is password
This project using Laravel Fortify to handle auth, you can enable or disable feature in the config file. You can read detail in this docs
Warning!!! At the time, only
registration,resetPasswords,updateProfileInformationandupdatePasswordsis implemented. FeatureemailVerificationandtwoFactorAuthenticationnot implemeted yet.
This project comes with two app layouts: AppSidebarLayout and AppTopbarLayout. By default, the project uses AppSidebarLayout. To change the layout, you can edit app.tsx
AppSidebarLayout |
AppTopbarLayout |
|---|---|
![]() |
![]() |
For a add new menu you can update a NavigationServiceProvider.
private function registerNavigationGroups(): void
{
Navigation::registerNavigationGroups([
NavigationGroup::new()->menus([
NavigationItem::new()
->label('Home')
->href('/')
->icon('home'),
]),
NavigationGroup::new()->label('Setting')->icon('settings')->menus([
NavigationItem::new()
->label('User')
->href('/users')
->icon('user-round-cog'),
// Other menu for Setting
]),
// Other group
]);
}
This project using Lucide for icon library
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.