Our great sponsors
-
multi-tenant
Run multiple websites using the same Laravel installation while keeping tenant specific data separated for fully independent multi-domain setups, previously github.com/hyn/multi-tenant
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Take my PR for example, which tried to bring small changes to be able to escape the dot notation in Laravel's Arr. This could have been great if you wanted to use the Arr::set() for keys that contain dots and you do not want them to become nested. Using the $arr['some.dotted.key'] would have been worked but why assign the array directly if Arr::set exists? I couldn't extend the Arr class in a separate package without copy-pasting the entire code from the original Arr since the methods I was replacing are not using other functions that do only one thing, so that I would replace only the methods without the entire logic.
Take my PR for example, which tried to bring small changes to be able to escape the dot notation in Laravel's Arr. This could have been great if you wanted to use the Arr::set() for keys that contain dots and you do not want them to become nested. Using the $arr['some.dotted.key'] would have been worked but why assign the array directly if Arr::set exists? I couldn't extend the Arr class in a separate package without copy-pasting the entire code from the original Arr since the methods I was replacing are not using other functions that do only one thing, so that I would replace only the methods without the entire logic.
Related posts
- Como configurar imagem Docker(PHP e Nginx) para projetos Laravel com PHP 8.3
- Developing a Reusable and Readable Bash Script for Automated LAMP Stack Deployment
- RESTful APIs with Laravel: Best Practices
- Mastering Application Security: The Power of Rate Limiting
- Tell HN: Laravel's default truncate method uses cascade for Postgres databases