Libraries tagged by World data
rapidwebltd/no-post-data-laravel-middleware
77 Downloads
Under certain conditions, when posting data from a form, the web server may lose the post data. This commonly happens if a user is uploading a large file beyond the size limits set in the web server's configuration. Laravel does not handle this situation and may end up throwing a somewhat confusing `TokenMismatchException in VerifyCsrfToken` due to CSRF protection. The 'No Post Data Laravel Middleware' handles situations in which a post request has been submitted and contains no post data - a situation which should not occur under normal usage. By default, the middleware will redirect back to the previous page with an error message flashed to the session. This can then be output on your view as you would normally handle validation errors. If needed, you can also modify this default behaviour and allow any code to run when the 'post request with no post data' situation is encountered.
keinos/hello-world-tpl
276 Downloads
Overly cautious HelloWorld class. See the repo for details.
adrie-dh/encoding-conversion-dataloss-checker
11 Downloads
Standalone library to test the whether a string's content would survive charset encoding to another encoding standard
vrtc/yii2-export
7 Downloads
Yii2 It saves data in xls, csv, word, html, pdf files.
tonix-tuft/linked-hash-map
8 Downloads
How I would implement a linked hash map in PHP if PHP wouldn't have associative arrays.
imonroe/corpora
7 Downloads
A PHP-friendly version of the dariusk/corpora javascript library. It provides "[a] collection of small corpuses of interesting data for the creation of bots and similar stuff"
fridde/what3words_passwords
6 Downloads
Create XKCD-like passwords using the word database of what3words
slovenberg/wp-db-cleaner
26 Downloads
"Replacement of one word to second word in database for wordpress"
openworks-srl/documentor
6 Downloads
PHP5 lib to dynamically generate office document, starting from html page, twig template, data array, word template and more. Based on several popular open-source software.
ddruganov/php-transactional-filesystem
2 Downloads
Perform transactional file operations just like you would with a database
mjducharme/laravel-model-json-storage
175 Downloads
Storing your models in a json file rather than in database (single or few lines recording) can be a good option. This package saves you to create a table for a ridiculous amount of lines, improves the data recovery performances, and allows you to store and access to your models from a json files as you would do it in database.
soldevelop/multithread
0 Downloads
MultiThread is a library which allows multiple to write to one sqlite database, this library would be helpful for developers who dont want to buy MySQL database
rawveg/model-validation
45 Downloads
Laravel Model Validation - Uses validation rules at the model level to ensure that all data being saved in a model is valid. Just as you would use Request Validation in your Controllers, Model-Level validation allows you to be ensure that even code within your application that manually creates a model, cannot do so using invalid data.
fwrepae/fwrepae
0 Downloads
The Inter TT REST API is described using OpenAPI 3.0. The descriptor for the api can be downloaded in both [YAML](http://localhost:8080/cyclos/api/openapi.yaml) or [JSON](http://localhost:8080/cyclos/api/openapi.json) formats. These files can be used in tools that support the OpenAPI specification, such as the [OpenAPI Generator](https://openapi-generator.tech). In the API, whenever some data is referenced, for example, a group, or payment type, either id or internal name can be used. When an user is to be referenced, the special word 'self' (sans quotes) always refers to the currently authenticated user, and any identification method (login name, e-mail, mobile phone, account number or custom field) that can be used on keywords search (as configured in the products) can also be used to identify users. Some specific data types have other identification fields, like accounts can have a number and payments can have a transaction number. This all depends on the current configuration. ----------- Most of the operations that return data allow selecting which fields to include in the response. This is useful to avoid calculating data that finally won't be needed and also for reducing the transfer over the network. If nothing is set, all object fields are returned. Fields are handled in 3 modes. Given an example object `{"a": {"x": 1, "y": 2, "z": 3}, "b": 0}`, the modes are: - **Include**: the field is unprefixed or prefixed with `+`. All fields which are not explicitly included are excluded from the result. Examples: - `["a"]` results in `{"a": {"x": 1, "y": 2, "z": 3}}` - `["+b"]` results in `{"b": 0}` - `["a.x"]` results in `{"a": {"x": 1}}`. This is a nested include. At root level, includes only `a` then, on `a`'s level, includes only `x`. - **Exclude**: the field is prefixed by `-` (or, for compatibility purposes, `!`). Only explicitly excluded fields are excluded from the result. Examples: - `["-a"]` results in `{"b": 0}` - `["-b"]` results in `{"a": {"x": 1, "y": 2, "z": 3}}` - `["a.-x"]` results in `{"a": {"y": 2, "z": 3}}`. In this example, `a` is actually an include at the root level, hence, excludes `b`. - **Nested only**: when a field is prefixed by `*` and has a nested path, it only affects includes / excludes for the nested fields, without affecting the current level. Only nested fields are configured. Examples: - `["*a.x"]` results in `{"a": {"x": 1}, "b": 0}`. In this example, `a` is configured to include only `x`. `b` is also included because, there is no explicit includes at root level. - `["*a.-x"]` results in `{"a": {"y": 2, "z": 3}, "b": 0}`. In this example, `a` is configured to exclude only `x`. `b` is also included because there is no explicit includes at the root level. For backwards compatibility, this can also be expressed in a special syntax `-a.x`. Also, keep in mind that `-x.y.z` is equivalent to `*x.*y.-z`. You cannot have the same field included and excluded at the same time - a HTTP `422` status will be returned. Also, when mixing nested excludes with explicit includes or excludes, the nested exclude will be ignored. For example, using `["*a.x", "a.y"]` will ignore the `*a.x` definition, resulting in `{"a": {"y": 2}}`. ----------- For details of the deprecated elements (operations and model) please visit the [deprecation notes page](https://documentation.cyclos.org/4.16.3/api-deprecation.html) for this version.
fiedsch/pathdumper
21 Downloads
Dump the data of an array so it displays the "path" that you would use in a twig template to access the respectice elements