Skip to content

Jetstream with extra features

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

sinan-aydogan/jetstream-plus

Repository files navigation

Logo Laravel Jetstream

Build Status Total Downloads Latest Stable Version License

Introduction

This isn't offical Jetstream, but it's a collection of tools that I've found useful. It has multi-language support by vue-i18n.

Laravel Jetstream is a beautifully designed application scaffolding for Laravel. Jetstream provides the perfect starting point for your next Laravel application and includes login, registration, email verification, two-factor authentication, session management, API support via Laravel Sanctum, and optional team management.

Jetstream is designed using Tailwind CSS and offers your choice of Livewire or Inertia scaffolding.

Official Documentation

Documentation for Jetstream can be found on the Jetstream website.

Setup Directions

  1. composer require sinan-aydogan/jetstream-plus
  2. php artisan jetstream:install inertia or php artisan jetstream:install inertia --teams
  3. npm install && npm run dev
  4. php artisan migrate --seed
  5. npm run hot
  6. php artisan serve
  7. Goto: http://localhost:8000

Multi-language support (Vue I18n and backend)

  • You can add new languages to the project by adding a new language file to the resources/Languages directory like bg.json.

bg.json

{
    "product": {
        "create": {
            "title": "Създаване на продукт"
        }
    }
}

usages

<span v-text="$t('product.create.title')"/>
  • You can add new flags to the resources/Flags directory then you should import them in the resources/language.js.
import bgTranslates from '@/Languages/bg.json';
import flagBg from "@/Languages/Flags/flagBg";

/*Flags*/
const flags = {
    flagEn: flagEn,
    flagTr: flagTr,
    flagBg: flagBg,
};

/* Languages */
const languages = [
    { id: "en", name: "English", flag: "flagEn" },
    { id: "tr", name: "Türkçe", flag: "flagTr" },
    { id: "bg", name: "български", flag: "flagBg" },
];

/*Translates*/
const translates = {
    en: {
        ...jpTranslates.en,
        ...enTranslates
    },
    tr: {
        ...jpTranslates.tr,
        ...trTranslates
    },
    bg: {
        ...jpTranslates.bg,
        ...bgTranslates
    }
}

Help

If you need to help more than this documentation:

  • You can join our Discord Channel then ask your questions
  • Access to our Tabbs page for how to make links (Install in Linux, solution of the npm errors etc.)

Premium Partners

Cleavr
Cleavr is your all-in-one server and deployment management platform for your PHP and NodeJS apps. Provision, deploy, monitor, backup, & more.

🤘 If you want to support us, you can send a mail to us via [email protected]

Contributing

Thank you for considering contributing to Jetstream Plus! You can read the contribution guide here.

License

Laravel Jetstream is open-sourced software licensed under the MIT license.