Download the PHP package inmanturbo/homework-starter-kit without Composer

On this page you can find all versions of the php package inmanturbo/homework-starter-kit. 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 homework-starter-kit

WorkOS Passport Starter Kit

Tests Install with Herd

A ready-to-use Laravel application that provides a self-hosted, WorkOS-compatible OAuth server using Laravel Passport. This starter kit gives you a complete authentication server that can replace WorkOS while maintaining full API compatibility.

Features

Quick Start

Option 1: Using Laravel Herd (Easiest)

Option 2: Using Laravel Installer

Option 3: Manual Installation

Clone this repository and install dependencies:

2. Environment Setup

Configure your database in .env:

3. Database Setup

4. Create OAuth Client

Create a first-party client (auto-approves authorization):

Save the Client ID - you'll need this for your client applications.

5. Start the Server

Your WorkOS-compatible OAuth server is now running at http://localhost:8000!

API Endpoints

The starter kit provides these WorkOS-compatible endpoints:

Client Application Setup

Laravel Applications with WorkOS SDK

Configure your client application to use your OAuth server:

Option 1: Configuration-Based (Recommended)

Add to your config/services.php:

In your .env:

In your AppServiceProvider:

Option 2: Environment-Based

Configuration

Passport Configuration

The starter kit comes pre-configured with sensible defaults in app/Providers/PassportServiceProvider.php:

User Model & ULID Support

The starter kit uses Laravel's built-in ULID support for user IDs, providing:

The User model includes the HasUlids trait:

User IDs will be ULIDs like: 01ARZ3NDEKTSV4RRFFQ69G5FAV

If you use a custom user model, ensure it includes the HasUlids trait and update config/auth.php:

Testing the Setup

Test your OAuth flow:

Deployment

Production Considerations

  1. Environment Variables: Set proper production values in .env
  2. Database: Use a production database (PostgreSQL, MySQL)
  3. HTTPS: Always use HTTPS in production
  4. Client Secrets: Keep OAuth client secrets secure
  5. Token Security: Consider shorter token lifetimes for production

Deployment Commands

Package Information

This starter kit uses the inmanturbo/homework package to provide WorkOS compatibility. The package:

Migration from WorkOS

To migrate from WorkOS to this self-hosted solution:

  1. Deploy this starter kit to your server
  2. Create OAuth clients matching your WorkOS application IDs
  3. Update client applications to point to your OAuth server
  4. Test the authentication flow thoroughly
  5. Switch DNS/URLs when ready

Requirements

Support

License

MIT License. See LICENSE for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


Self-hosted • Secure • WorkOS Compatible


All versions of homework-starter-kit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
inmanturbo/homework Version ^0.0.2
laravel/fortify Version ^1.30
laravel/framework Version ^12.0
laravel/passport Version ^13.0
laravel/tinker Version ^2.10.1
livewire/flux Version ^2.4
livewire/volt Version ^1.7
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 inmanturbo/homework-starter-kit contains the following files

Loading the files please wait ...