someline/starter-framework
Someline Starter Framework is a Laravel-based starter kit for building web apps and admin dashboards faster. It bundles user and role management, permission control, RESTful API support, and a ready-made admin interface, so you can skip repetitive setup and focus on your own features.
"config": {
"platform": { "php": "7.4.33" }
}
composer create-project someline/starter-framework myapp
# or clone the repo and run:
composer install
cp .env.example .env
php artisan key:generate
.env early: APP_URL, database, mail, cache/session drivers, filesystem disks, and JWT settings. If JWT is used, set JWT_SECRET (php artisan jwt:secret if the command exists in the installed version).php artisan migrate --seed
php artisan storage:link
php artisan route:list
Check seeders for roles/permissions/users; many starter kits ship default admin credentials.routes/api.php and routes/web.phpapp/Http/Controllers/Api/app/Models/ and app/Repositories/ if presentapp/Transformers/ if presentconfig/auth.php, config/jwt.php, config/entrust.phpvendor/someline/foundation/ for base model/controller/repository/transformer behaviorvendor/someline/image/ if image handling is includedPost, add a versioned route under the API middleware group, then test login, token use, listing, creation, update, and deletion with curl or Postman.Someline\Foundation\BaseModel, controllers extend BaseController, repositories extend BaseRepository, and transformers extend BaseTransformer. Keep new code consistent instead of introducing a second architecture.// app/Http/Controllers/Api/V1/PostController.php
public function index(PostRepository $posts)
{
return $this->response->paginator(
$posts->paginate(request()->all()),
new PostTransformer()
);
}
Confirm the exact response helper in vendor/someline/foundation; adapt to the installed version.Authorization: Bearer <token>. Keep login/refresh/me endpoints separate from resource endpoints./api/v1/... even for a small app. It makes later auth or response changes less painful.storage:link before debugging frontend 404s.php artisan route:list, php artisan migrate:status, and storage/logs/laravel.log as the first debugging loop.401. Do not mix session auth and bearer-token auth on the same API group without a clear reason.composer why-not laravel/framework and prefer pinned older versions. Avoid --ignore-platform-reqs unless you understand the runtime mismatch.JWT_SECRET, stale config cache, wrong middleware alias, expired tokens, and blacklist/refresh settings all produce confusing 401s. Run php artisan config:clear after .env changes and inspect config/jwt.php.app/Http/Kernel.php.vendor/someline/foundation. Read the vendor source before overriding methods; otherwise you can silently break API contracts.storage:link, wrong FILESYSTEM_DRIVER, permissions on storage/ and bootstrap/cache, or a transformer returning a relative path. Verify with php artisan storage:link and a direct URL.auth:api and jwt.auth are not interchangeable. Pick the package’s intended middleware for API routes and test with a real token, not only php artisan tinker.route:list → config:clear → check middleware group → inspect storage/logs/laravel.log → reproduce with curl → add a feature test. For CORS/preflight issues, test OPTIONS separately from GET.How can I help you explore Laravel packages today?