cortezvini97 / symfony-orion-engine-bundle
Installs: 23
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.2
- cortezvini97/orion: ^1.0
- symfony/config: ^7.0
- symfony/console: ^7.0
- symfony/framework-bundle: ^7.0
- symfony/yaml: ^7.0
Requires (Dev)
- phpspec/prophecy-phpunit: ^2.2
- phpunit/phpunit: ^11.1
- symfony/phpunit-bridge: ^7.0
- symfony/test-pack: ^1.0
README
usage
<?php namespace App\Controller; use Orion\OrionEngine\Controllers\RenderOrionView; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Attribute\Route; class AppController extends RenderOrionView { #[Route('/app', name: 'home')] public function home(): Response{ $a = 1; $b = 2; return $this->view("index",[ "a" =>$a, "b" =>$b ]); } }