Download the PHP package iqbalfarhan/templatestarter-v2 without Composer

On this page you can find all versions of the php package iqbalfarhan/templatestarter-v2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package templatestarter-v2

Laravel + React Template Starter v2

Starter kit Laravel 12 + React (Inertia v2, Tailwind v4, Shadcn UI) buat bikin project kecil–menengah dengan cepat. Sekali generate, langsung dapet Model + CRUD API + React View — tinggal atur field dan form aja.


Fitur Utama


Instalasi

1. Buat Project Baru

Ganti nama_project sesuai nama project kamu.

2. Setup Awal

Akses aplikasi di: http://127.0.0.1:8000


Konfigurasi

File konfigurasi utama ada di: config/template-starter.php

Key Fungsi
default-roles Role default aplikasi (['superadmin', 'admin', 'user'])
default-role Role default user baru
with-landingpage Aktif/nonaktif landing page
generated-react-files-path Path hasil generate file React

Pastikan default-role ada di daftar default-roles.

Kalau ada perubahan konfigurasi di tengah development:


Panduan Development

1. Generate Model

Akan membuat otomatis:

Gunakan PascalCase untuk nama model (contoh: Project, UserProfile).


2. Generate React View

Yang dibuat:

Tambahkan route di web.php dan menu di app-sidebar.tsx:


3. Generate Model + View Sekaligus

CLI akan menanyakan:

Lalu masukkan field model seperti berikut:

Jangan tekan enter kosong di akhir input.

Datatype TypeScript Migration Keterangan
integer number integer Angka
string string string Teks pendek
text string text Teks panjang
date string date Tanggal
datetime string datetime Tanggal dan waktu
boolean boolean boolean True/False
fk Object foreignId Relasi wajib
nfk Object foreignId Relasi nullable

4. Generate Permission

Atau generate semua sekaligus:

Perintah ini otomatis membuat permission untuk semua model di app/Models, termasuk yang menggunakan SoftDeletes.


5. Login dengan Socialite (Google)

Sudah mendukung login via Google menggunakan Laravel Socialite. Cara mengaktifkan:

  1. Ubah enable_socialite menjadi true di config/template-starter.php
  2. Tambahkan di .env:

  3. Rebuild project, lalu buka halaman login. Tombol “Sign in with Google” akan muncul.

Untuk menambahkan platform lain, sesuaikan di config/services.php dan SocialiteController.php.


Roadmap


Tips


Lisensi

MIT License © Iqbal Farhan


Dukung Pengembangan

Kalau template ini bermanfaat buat kamu, dukung pengembangannya dengan donasi seikhlasnya. Setiap dukungan sangat berarti agar project ini bisa terus dikembangkan.

Donate via Saweria Donate via DANA


All versions of templatestarter-v2 with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
inertiajs/inertia-laravel Version ^2.0
laravel/framework Version ^12.0
laravel/prompts Version ^0.3.6
laravel/socialite Version ^5.23
laravel/tinker Version ^2.10.1
onecentlin/laravel-adminer Version ^8.0
spatie/laravel-medialibrary Version ^11.14
spatie/laravel-permission Version ^6.21
tightenco/ziggy Version ^2.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package iqbalfarhan/templatestarter-v2 contains the following files

Loading the files please wait ...