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

Atk4 Symfony Bundle Laravel Package

abbadon1334/atk4-symfony-bundle

Symfony 6 bundle integrating ATK4 UI/Data. Installs bundle config and public assets, adds a models:rebuild console command for dev DB rebuilds, and lets you build ATK4-powered controllers easily via #[Atk4Controller] with Symfony DI and routing.

View on GitHub
Deep Wiki
Context7

WIP Beta Repository

usage

composer create-project symfony/skeleton:"^6.3.8" my_project_directory
cd my_project_directory

by default symfony sets to stable

composer config minimum-stability dev
composer require abbadon1334/atk4-symfony-bundle:"*"

will add bundle config + bundle files in public folder

in bin/console there is a useful command to rebuild the database during development the rebuild is based on models

bin/console models:rebuild -p src/Models

Atk controllers can be created easy using attribute #[Atk4Controller]

a simple controller can be created in this way:

use Atk4\Symfony\Module\Atk4App; use Atk4\Symfony\Module\Atk4Controller; use Atk4\Symfony\Module\Atk4App; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Atk4\Ui\Header;

#[Atk4Controller] class Homepage extends AbstractController { // Symfony built in injection public function __construct( protected Atk4App $atk4app, protected Security $security ) { }

#[Route('/', name: 'homepage')]
public function index(): Response
{
    $app = $this->atk4app->getApp();

    $app->initLayout([Centered::class]);
    
    Header::addTo($app, ['Demo']);
}

}

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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle