framework
framework copied to clipboard
High-Performance PHP Framework
### Description The template engine gives an error of inability to load the layout, but in fact the error is different (see screenshots). This is confusing to the developer. ###...
On a custom checker that implements a FileTrait (with its `resolveFilename()` method) and such a construction: ```php $filename = $this->resolveFilename($file); (new \finfo())->file($filename, FILEINFO_MIME_TYPE); ``` Got error ```finfo::file(): Spiral\Streams\StreamWrapper::stream_cast is not...
It would be super helpful to view the original exception/error message instead of a wrapped one. For example: ``` [Spiral\Jobs\Exception\JobException] [App\Job\Event\EventHandler] Object of class could not be converted to string...
More of a query than an issue. How does Spiral/Roadrunner play with ReactPHP or AmPHP? I know more efficient concurrency can be achieved by passing to Goroutines, wondering if it...
Hi, I want to mention a preview package that I just created, https://github.com/donquixote/quick-attributes-parser The goal is to speed up the parsing process, by using an alternative to nikic/php-parser. I intend...
In [ValidationBootloader.php](https://github.com/spiral/framework/blob/master/src/Framework/Bootloader/Security/ValidationBootloader.php) you have alias like `'required' => 'type::notEmpty',` at line 90 This alias is not correct by system logic. Required and not empty are not equals. required means that...
### Description I created Many to Many relation. For this I created three entities https://github.com/sujit-baniya/spiral-app/blob/master/app/src/Database/InventoryFeature.php https://github.com/sujit-baniya/spiral-app/blob/master/app/src/Database/InventoryFeatureRule.php https://github.com/sujit-baniya/spiral-app/blob/master/app/src/Database/Rule.php Then on Controller I tried to get Pivot data as mentioned here: https://cycle-orm.dev/docs/relation-many-to-many#usage-accessing-pivot-entity...