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

Application Laravel Package

nette/application

Nette Application is the web framework core of the Nette stack, providing MVC architecture with presenters, routing, DI integration, HTTP handling, and error/debug support. Build secure, structured PHP web apps with clean separation of concerns.

View on GitHub
Deep Wiki
Context7
v3.2.9
  • added #[TemplateVariable]
  • LinkGenerator: throws an error when the link points to #[Requires(forward: true)]
v3.2.8
  • support for PHP 8.5
  • compatible with Latte 3.1
  • LinkGenerator: do not pass defaults of #[Parameter] (#355)
  • PresenterFactoryCallback: fixed $invalidLinkMode can't be overwritten by config #337
v3.2.7
  • Latte: added filter |absoluteUrl and {linkBase}
  • SnippetRuntime: Fixed snippets rendering when multiple templates are rendered (#349)
  • TemplateFactory: does not assign the default property to the template if it does not match the type #352
  • class Template is abstract
  • error 500: improved CSS style reset nette/tracy#581
  • optimized global function calls
v3.2.6
  • LatteExtension: added option 'locale'
  • LatteExtension: automatically passes translator to Latte\Essential\TranslatorExtension
  • support for PHP 8.4
v3.2.5
  • ApplicationExtension: checks the correct usage of attributes
  • Component::tryCall() throws BadRequestException
  • Multiplier::createComponent() allow to return a null (#327)
  • LatteExtension: fixed v3.2.3
v3.2.0
  • requires PHP 8.1
  • uses PHP 8.1 features

changes:

  • Control, Presenter::createTemplate() has argument
  • Request: removed flag SECURED
  • Form: do not send 'do' when action is changed
v3.1.15
  • Component::tryCall() throws BadRequestException
  • AbortException & BadRequestException extends LogicException
  • Latte: sets Tag::$node
  • composer: relaxed dependencies
v3.2.3
  • added feature "link aliases"
  • added attributes #[Requires] and #[Deprecated]
  • Presenter: added switch()
  • PresenterFactory: support for location Foo/FooPresenter via **
  • Presenter: support for templates without /template folder
  • LinkGenerator: unified with link generation in presenters
  • added ComponentReflection::getActionRenderMethod() & getSignalMethod()
  • Latte: CacheExtension & FormExtension are added before user extensions #320
  • Latte: UIExtension is added before user extensions if $control is passed to LatteFactory::create()
  • RoutingPanel: show presenter class even if it doesn't exist
  • Revert "ApplicationExtension: $catchExceptions can be '4xx' in addition to bool"
v3.2.1
  • added Application::$error4xxPresenter & DI option
  • ApplicationExtension: option 'mapping' can be string
  • ApplicationExtension: $catchExceptions can be '4xx' in addition to bool
  • Application::$catchExceptions is silently deprecated
  • Presenter & others: injected services are readonly
  • Presenter: $payload access refactoring
v3.1.14
  • added attribute #Parameter
  • RoutingPanel: redesigned #285
  • Application: previous presenter is passed to error presenter (#317)
  • SnippetNode, SnippetAreaNode: name can be class constant nette/latte#346
  • Presenter: added PATCH to $allowedMethods
  • MicroPresenter: injects service only for non-builtin types
  • ComponentReflection::convertType() supports true & false
  • Latte: {layout auto} always call Presenter::findLayoutTemplateFile()
v3.1.13
  • LatteExtension: added options strictParsing & phpLinter
  • Presenter: checks $allowedMethods
  • added Presenter::findTemplateFile()
v3.1.11
  • RoutingPanel: URL & link to presenter moved to the top
  • Latte: n:snippet works with <script>
  • Latte: n:href prints line
  • constants are PascalCase
v3.1.10
  • Presenter: fixed InvalidLinkException on detectedCsrf() #300
  • Persistent: added constructor #305
  • composer: allows nette/utils 4.0
  • Latte: uses TracyExtension
  • used PhpStorm Language attribute
v3.1.8
  • support for PHP 8.2
  • Control::templatePrepareFilters() silently deprecated
  • Component::getParameter() $default is silently deprecated
v3.1.7
  • {link} disables URL checking
  • TranslatorExtension moved to Latte (BC break)
v3.1.6
  • support for Latte 3
  • added tag {translate}
  • {_var} and {translate} can translate values during compile time
  • RoutingPanel: withPath() fix II.
v3.1.5
  • ApplicationExtension: support for creating presenters via Tracy
  • RoutingPanel: supports withPath(...)
  • Revert "Component::link() & etc uses variadic parameter" #298
  • improved coding standard
v3.1.4
  • support for PHP 8.1
  • Presenter: support for @deprecated in presenters, action & signals
  • Presenter::run() saves global state on sendRequest()
  • Presenter::canonicalize() uses variadics
  • Component::link() & etc uses variadic parameter
  • UIRuntime: improved {templatePrint}
  • phpstorm.meta: added exitPoint Component::error (#293)
  • Presenter: Add return never typehint. (#291) (#290)
v3.1.3
  • UIMacros: supports {control |noescape}
  • LatteExtension: inject interface to be more compatible (#288)
  • LatteExtension: fixed debug panel for custom templates
  • LatteExtension: changed UI\TemplateFactory type to ApplicationLatte\TemplateFactory (#283)
  • Component: persistent parameters does not have to be initialized #286
v3.1.2
  • Presenter: try to find Template file for each action (#277)
  • Component: Throw exception in case of signal method in Component or Presenter is private #263
  • Presenter, Control: formatTemplateClass() refactoring
  • Presenter: non-final createRequest() #262
  • RoutingPanel: displays one-way flags #274
  • LatteExtension: fix undefined property
  • Form::disableSameSiteProtection() replaced with allowCrossOrigin()
  • UIMacros: added /* line */ comment
  • improved phpDoc
  • composer: accepts routing 3.1
v3.0.8
  • PresenterFactory: removed case mismatch checks because may work incorrectly
  • MicroPresenter: accepts any callable objects
  • ComponentReflection: type 'NULL' replaced with pseudotype 'scalar'
  • added support for union types in arguments and persistent parameters
  • ComponentReflection: supports type 'mixed'
  • Form::disableSameSiteProtection() replaced with allowCrossOrigin()
  • ApplicationExtension: fixed scanDir merging

For the details you can have a look at the diff.

v3.1.1
  • Component::createComponent() warns on non-presenter components nette/forms#147
  • LatteExtension: option 'xhtml' is deprecated
  • LatteExtension: initializes Latte Panel, added option 'debugger'
  • TemplateFactory::createTemplate() returns Nette\Bridges\ApplicationLatte (BC break)
  • Control::flashMessage: allow HtmlStringable as a message
  • UIMacros: {control} can be used in HTML attribute nette/latte#250

For the details you can have a look at the diff.

v3.1.0

Features

  • Template divided into hierarchy Template > DefaultTemplate
  • DefaultTemplate: added default properites and @methods
  • Template, DefaultTemplate: magic access via __get/__set replaced with object properties
  • Control, Presenter::createTemplate() added parameter $class for custom creation of the Template
  • Control, Presenter::createTemplate() tries to create custom Template according to naming convention
  • Presenter::sendTemplate() added parameter $template
  • Link: added isLinkCurrent() & getComponent() [Closes #229]
  • UIMacros: support named arguments {control x: 1}
  • Control::flashMessage accepts custom flash object
  • Template: passes the template to the latte instead of just parameters.
  • UIMacros: overloaded macro {templatePrint}

Changes

  • requires PHP 7.2
  • RoutingExtension: creates service 'routes' only when routes are defined (BC break)
  • RoutingExtension: removed option 'routeClass' (BC break)
  • Presenter::getContext() & others trigger error message
  • removed prefix I from interfaces (except for IPresenter & IPresenterLoader)
  • ApplicationExtension: option 'scanFilter' changed to pattern, default is '*Presenter'
  • ApplicationExtension: catchExceptions is always true on production mode (BC break)
  • UIMacros: modifiers are deprecated in {control}
  • Route, SimpleRouter: flags is deprecated
v2.4.17
  • compatible with PHP 8
  • PresenterFactory: removed case mismatch checks because may work incorrectly
  • strict type fix
  • MicroPresenter: accepts any callable objects

For the details you can have a look at the diff.

v3.0.7
  • compatible with PHP 8.0
  • added PHP 8 attributes #[Persistent] & [CrossOrigin]#
  • MicroPresenter: throws BadRequestException on invalid argument
  • ApplicationExtension, RoutingExtension: detects Tracy by presence of service nette/di#245

For the details you can have a look at the diff.

v3.0.6
  • Application: Micro:* presenter are not achievable
  • MicroPresenter: parameter callback must be a Closure, removed support for __invoke
  • RoutingPanel: fixed calling to undefined RouteList::getModule() #264
  • LinkGenerator: added withReferenceUrl()
  • Presenter: added support for typehint 'object'
  • RoutingPanel: improved visualisation of error
  • RoutingPanel: fixed compatibility with new RouteList III.

For the details you can have a look at the diff.

v2.4.15
  • class aliases are loaded on demand
  • added .phpstorm.meta.php
  • Template: prevents unserialization for security reasons

For the details you can have a look at the diff.

v3.0.5
  • UIMacros: fixed (expand) in {control) nette/latte#223
  • .phpstorm.meta: added exit points
  • PresenterFactoryCallback: fixed multiple services of type found #258
  • RoutingPanel: display RouteList groups
  • RoutingPanel: fixed compatibility with new RouteList II. #251 #253
  • RoutingPanel: changed Application\Routers* classes to Nette\Routing*
  • RoutingPanel: Better mask responsivity.
  • Template: prevents unserialization for security reasons

For the details you can have a look at the diff.

v3.0.4
  • Presenter::restoreRequest() redirects on GET request
  • Template: added custom functions isLinkCurrent() and isModuleCurrent()
  • Presenter: added isModuleCurrent() #240 (#243)
  • RoutingPanel: fixed compatibility with new RouteList
  • uses latte 2.6
  • class aliases are loaded on demand

For the details you can have a look at the diff.

v3.0.3
  • Template: added addFunction() for Latte 2.6
  • RoutingPanel: uses capturing
  • FileResponse: added some checks (#238)
  • ComponentReflection: changed way how it detects built-in types #241
  • ApplicationExtension: options scanDirs has higher priority than robotLoader
  • ApplicationExtension: always creates directory for touch file (#237)
  • Presenter: injectPrimary() params are required because $httpRequest is required. (#239)
  • updated .phpstorm.meta.php
  • uses nette/utils 3.1
  • fixed bugs reported by PHPStan

For the details you can have a look at the diff.

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport