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

Mainbundle Laravel Package

edemy/mainbundle

View on GitHub
Deep Wiki
Context7

eDemyMainBundle

The eDemyMainBundle is the main bundle for the eDemy Framework. It adds base functionality for other bundles.

Installation

$ composer require edemy/mainbundle:dev-master

app/AppKernel.php

new JMS\SerializerBundle\JMSSerializerBundle(),
new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
new FOS\UserBundle\FOSUserBundle(),
new eDemy\MainBundle\eDemyMainBundle(),
Optional
new Stfalcon\Bundle\TinymceBundle\StfalconTinymceBundle(),

app/routing.yml

edemy_main:
    resource: .
    type: extra

app/config.yml

fos_user:
    db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
    firewall_name: main
    user_class: eDemy\MainBundle\Entity\User

app/security.yml

security:
    encoders:
        FOS\UserBundle\Model\UserInterface: sha512

    role_hierarchy:
        ROLE_ADMIN:       ROLE_USER
        ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]

    providers:
        fos_userbundle:
            id: fos_user.user_provider.username

    firewalls:
        dev:
            pattern:  ^/(_(profiler|wdt)|css|images|js)/
            security: false

        main:
            pattern:    ^/
            form_login:
                provider: fos_userbundle
                csrf_provider: form.csrf_provider
            logout:       true
            anonymous:    true

License

This bundle is under the GNUv2 license. See the complete license in the bundle:

Resources/meta/LICENSE

Documentation

The bulk of the documentation is stored in the Resources/doc/index.md file in this bundle.

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.
filament/spatie-laravel-tags-plugin
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi