Skip to content

Commit 1d4963a

Browse files
committed
bump
1 parent ad6f908 commit 1d4963a

File tree

16 files changed

+32
-102
lines changed

16 files changed

+32
-102
lines changed

examples/bad/config.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

examples/config/config.yaml

Lines changed: 0 additions & 58 deletions
This file was deleted.

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ location / {
8080

8181
### 3. Minimal Configuration
8282

83-
Create a `config/config.yaml` file:
83+
Create a `config/neuron.yaml` file:
8484

8585
```yaml
8686
system:
@@ -364,7 +364,7 @@ $customHelper = new UrlHelper($customRouter);
364364
All YAML config file parameters can be overridden by environment variables in the form of `<CATEGORY>_<KEY>`, e.g.
365365
`SYSTEM_BASE_PATH`.
366366

367-
### Main Configuration (config.yaml)
367+
### Main Configuration (neuron.yaml)
368368

369369
```yaml
370370
# System settings
@@ -756,7 +756,7 @@ The MVC component includes integrated rate limiting support through the routing
756756
757757
### Configuration
758758
759-
Rate limiting is configured in your `config.yaml` file using two categories:
759+
Rate limiting is configured in your `neuron.yaml` file using two categories:
760760
761761
#### Standard Rate Limiting
762762
```yaml
@@ -871,7 +871,7 @@ When limit is exceeded (HTTP 429):
871871

872872
### Example Implementation
873873

874-
1. Enable rate limiting in `config.yaml`:
874+
1. Enable rate limiting in `neuron.yaml`:
875875
```yaml
876876
rate_limit:
877877
enabled: true

src/Bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function boot( string $configPath ) : Application
2222

2323
try
2424
{
25-
$settings = new Yaml( "$configPath/config.yaml" );
25+
$settings = new Yaml( "$configPath/neuron.yaml" );
2626
$basePath = $settings->get( 'system', 'base_path' );
2727
}
2828
catch( \Exception $e )

src/Mvc/Cli/Commands/Cache/ClearCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private function clearByType( ICacheStorage $storage, string $type ): int
151151
*/
152152
private function loadCacheConfiguration( string $configPath ): ?CacheConfig
153153
{
154-
$configFile = $configPath . '/config.yaml';
154+
$configFile = $configPath . '/neuron.yaml';
155155

156156
if( !file_exists( $configFile ) )
157157
{

src/Mvc/Cli/Commands/Cache/StatsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ private function formatTime( int $seconds ): string
359359
*/
360360
private function loadCacheConfiguration( string $configPath ): ?CacheConfig
361361
{
362-
$configFile = $configPath . '/config.yaml';
362+
$configFile = $configPath . '/neuron.yaml';
363363

364364
if( !file_exists( $configFile ) )
365365
{

src/Mvc/Cli/Commands/Migrate/CreateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function execute(): int
136136
*/
137137
private function loadSettings( string $configPath ): ?Yaml
138138
{
139-
$configFile = $configPath . '/config.yaml';
139+
$configFile = $configPath . '/neuron.yaml';
140140

141141
if( !file_exists( $configFile ) )
142142
{

src/Mvc/Cli/Commands/Migrate/RollbackCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public function execute(): int
152152
*/
153153
private function loadSettings( string $configPath ): ?Yaml
154154
{
155-
$configFile = $configPath . '/config.yaml';
155+
$configFile = $configPath . '/neuron.yaml';
156156

157157
if( !file_exists( $configFile ) )
158158
{

src/Mvc/Cli/Commands/Migrate/RunCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function execute(): int
145145
*/
146146
private function loadSettings( string $configPath ): ?Yaml
147147
{
148-
$configFile = $configPath . '/config.yaml';
148+
$configFile = $configPath . '/neuron.yaml';
149149

150150
if( !file_exists( $configFile ) )
151151
{

src/Mvc/Cli/Commands/Migrate/SeedCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function execute(): int
114114
*/
115115
private function loadSettings( string $configPath ): ?Yaml
116116
{
117-
$configFile = $configPath . '/config.yaml';
117+
$configFile = $configPath . '/neuron.yaml';
118118

119119
if( !file_exists( $configFile ) )
120120
{

0 commit comments

Comments
 (0)