Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Fiesta Online Bundle Laravel Package

aerisnet/fiesta-online-bundle

Symfony 4+ bundle for Fiesta Online web projects. Provides core Doctrine entities and service managers (accounts, characters, inventory checks) to build a basic Fiesta Online homepage, with example mappings for multi-connection setups.

View on GitHub
Deep Wiki
Context7

Fiesta Online Bundle

A Symfony 4+ Bundle for Fiesta Online web projects

Basic Information

This bundle includes all most relevant Entities and Managers needed to create a basic Fiesta Online homepage.

Installation for Symfony 4 & 5

The bundle is available via packagist to directly integrate into your application

  1. Go into your root directory of your project
  2. Run composer require aerisnet/fiesta-online-bundle
  3. To use the included Entities with your application, you have to refer to the bundle entities in your doctrine configuration. An example mapping can be found below
dbal:
    connections:
        character:
            url: '%env(resolve:CHARACTER_URL)%'
            driver: 'pdo_sqlsrv'
            charset: UTF-8
...

orm:
    entity_managers:
        character:
            connection: character
            mappings:
                Character:
                type: annotation
                dir: '%kernel.project_dir%/vendor/aeris/fiesta-online-bundle/src/Entity/Character'
                prefix: 'Aeris\FiestaOnlineBundle\Entity\Character'
                alias: Character

Examples

Account Manager

public function indexAction(AccountManager $accountManager)
{
    /** 
     * @var User $user 
     * returns a User instance or null by the given Account ID
     */
    $user = $accountManager->getAccountById(5);
    ...
    
    /** 
     * @var User[] $user 
     * returns all accounts
     */
    $user = $accountManager->getAllAccounts();
    ...
    
    /**
     * @var User $user
     * returns a User instance with all characters belonging to the account as Proxy objects
     */
    $user = $accountManager->getAccountWithCharacters(5);
}

Character Manager

public function indexAction(CharacterManager $characterManager)
{
    /** 
     * @var Character $character 
     * returns a Character instance or null by the given Character ID
     */
    $character = $characterManager->getCharacterById(123);
    ...
    
    /** 
     * @var Character $character 
     * returns a Character instance or null by the given Character Name
     */
    $character = $characterManager->getCharacterByName('Visionaire');
    ...
    
    /**
     * Check if a character has an item in their inventory
     * Parameters are Character ID and Item ID
     */
    $hasItem = $characterManager->hasItemInInventory($character->getId(), 385782);
}
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle