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

Crud Bundle Laravel Package

araise/crud-bundle

View on GitHub
Deep Wiki
Context7

Footer

In CRUD Bundle we have a footer in the side navigation, which can be customized as follows:

  1. Create a file in templates/araiseCrudBundle/includes/sidebar/_footer.html.twig or you can copy it from the CRUD bundle. The file should look like this:
{% block sidebar_profile %}
    <a href="{% block logout_link %}{% endblock %}" class="whatwedo_crud-profile lex-shrink-0 flex border-t border-neutral-200 p-4">
        <div class="flex items-center">
            <div>
                <img class="inline-block h-10 w-10 rounded-full"
                     src="{% block profile_picture %}{% endblock %}" alt=""
                     crossorigin="anonymous" referrerpolicy="no-referrer">
            </div>
            <div class="ml-3">
                <p class="text-base font-medium text-neutral-700 group-hover:text-neutral-900">
                    {% block profile_name %}{% endblock %}
                </p>
                <p class="text-sm font-medium text-neutral-500 group-hover:text-neutral-700">
                    {% block logout_text %}Logout{% endblock %}
                </p>
            </div>
        </div>
    </a>
{% endblock %}

You can now delete all the content and insert your own HTML.

If you only want to customize the profile image and logout link, you can do it as follows:

{% extends '@!araiseCrud/includes/sidebar/_footer.html.twig' %}

{% block profile_picture %}https://example.ch/example.jpg{% endblock %}

{% block logout_link %}{{ path('logout_route') }}{% endblock %}
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.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware