Commit Graph

  • ce03bdb27d fix(model): Fix postgresql search. master kj 2025-10-27 15:16:54 -03:00
  • b24598b118 fix(sqlite): Correct base table for RIGHT JOIN conversion kj 2025-10-27 15:15:45 -03:00
  • 5019b89cc0 docs(readme): Update PostgreSQL compatibility status kj 2025-10-27 10:27:18 -03:00
  • d030e8d30e refactor(model)!: Allow groupBy to accept multiple args instead an array kj 2025-10-27 10:25:03 -03:00
  • b2672ad92f fix(model): Remove ON clause from cross join kj 2025-10-27 10:24:25 -03:00
  • 4c57770b43 refactor(model): Remove backticks from column names kj 2025-10-27 10:23:55 -03:00
  • 8e84450f95 fix(query): Adjust LIMIT OFFSET clause syntax kj 2025-10-27 10:23:31 -03:00
  • ece32b9bbe docs(readme): Update supported where clauses kj 2025-10-27 06:50:13 -03:00
  • a5cf9d239d refactor(model): Fix typo on WHERE EXISTS/NOT EXISTS methods kj 2025-10-27 06:46:17 -03:00
  • b9509c49ed refactor(model): Add string type hint to select columns kj 2025-10-21 16:26:39 -03:00
  • 6e433b4d06 feat(query-builder): Implement advanced WHERE and new JOIN clauses kj 2025-10-17 13:13:01 -03:00
  • 892b3614ec refactor(db): Detect DB type using PDO driver name kj 2025-10-17 13:12:02 -03:00
  • a0b544eae5 refactor(Model): Rename bindValue to bind and make public kj 2025-10-17 11:55:37 -03:00
  • 20fd78ab53 docs(Request): Remove param comment kj 2025-10-16 20:51:52 -03:00
  • f5411daaa5 Translate comments to English kj 2025-10-16 20:02:54 -03:00
  • 7e7ec68fd7 refactor(router): Use Neuron object for route parameters kj 2025-10-16 12:04:05 -03:00
  • ac9a661bc0 fix(htaccess): Block direct access to vendor and src folders kj 2025-10-11 12:15:15 -03:00
  • c8d7b69367 feat(bootstrap): Introduce Libs\Loader for directory loading kj 2025-10-11 10:44:20 -03:00
  • 7f62e06ff9 docs: Improve documentation and translate comments to English kj 2025-10-10 21:18:22 -03:00
  • 674c9d5ff4 fix(validator): Improve filter_var robustness in validation methods kj 2025-10-10 21:17:41 -03:00
  • 2f50532e13 refactor(Model): Type hint setNull variadic arguments kj 2025-10-10 21:06:11 -03:00
  • b41514a491 fix(di): Improve parameter resolution and validation kj 2025-10-10 19:15:07 -03:00
  • a1a15f492c refactor!: add Synapsis for dependency resolution and injection kj 2025-10-10 17:44:49 -03:00
  • b19e7d8789 Remove a forgotten debug line. kj 2025-09-07 18:52:33 -03:00
  • 4dfdb52519 Remove unnecessary and really never-used tableSufix property. kj 2025-09-07 15:25:48 -03:00
  • b0891885f9 BREAKING CHANGE: Make select, from, and setNull methods variadic. kj 2025-09-07 15:20:06 -03:00
  • b282d5479f Convert object/database naming conventions. kj 2025-09-07 15:01:45 -03:00
  • c9f467345b BREAKING CHANGE: Adhere to PSR-12 coding standards. kj 2025-09-07 11:07:07 -03:00
  • 0f46848d15 Remove the predefined 'id' property. kj 2025-08-15 14:51:16 -03:00
  • b2cb8d6883 Allow statically call beginTransaction, rollback and commit methods. kj 2025-07-15 18:12:41 -03:00
  • e9126e7cde Fix: Implicitly marking parameter as nullable is deprecated. kj 2025-06-07 14:27:47 -03:00
  • 7169d2cae3 Fix: render is not using the defined extension. kj 2025-06-07 14:17:11 -03:00
  • 66b2bc0d91 Remove unnecesary php close. kj 2025-06-07 14:14:16 -03:00
  • c8ab2aa2cc Remove unnecesary echo. kj 2025-05-20 12:49:20 -03:00
  • 1e302a9ea7 BREAKING CHANGE: Change unnecesary false return type. kj 2025-04-19 15:44:16 -03:00
  • d0d0d4dc76 Verify if a valid http query string after run parse_str. kj 2025-02-20 08:22:47 -03:00
  • 595e9c1316 Save body request as a property. kj 2025-02-20 08:21:05 -03:00
  • 45abea5301 Add delete request params. kj 2025-02-20 06:28:03 -03:00
  • d441f001ec Add type of items on array on dockblock for "all" method. kj 2025-02-03 16:04:39 -03:00
  • 19da122e05 Add type of items on array on dockblock for get method. kj 2025-02-03 16:02:27 -03:00
  • 1a0164c8ed Change static methods to non-static and made onInvalid public. KJ 2024-10-30 11:53:44 -04:00
  • ad9f8ec67d Remove unnecesary brackets. KJ 2024-10-29 19:12:25 -04:00
  • 31c5c63952 Remove innecesary return. KJ 2024-10-29 19:10:47 -04:00
  • 6aef212350 Fix className not returning the classname in the right format. KJ 2024-10-25 10:40:57 -04:00
  • c600688725 Improve return array dockblocks. KJ 2024-09-23 18:08:37 -04:00
  • 3e27b1b7af Allow null on enum properties. KJ 2024-09-23 15:06:44 -04:00
  • 73b7b8f72a Change required valitator to not allow empty values and add exists. KJ 2024-09-18 14:33:33 -04:00
  • 7baad428ec Refactor request library. KJ 2024-09-08 14:43:56 -04:00
  • 3d2a607768 Fix where_in is wiping previous where/and/or. KJ 2024-08-30 16:26:03 -04:00
  • df424ffab5 Model properties now can be typed as enums. KJ 2024-08-27 19:01:02 -04:00
  • daf7250882 Catch and verify put and patch input values. KJ 2024-08-13 10:22:44 -04:00
  • 05cd83fd10 Remove unused variable. KJ 2024-07-31 03:29:49 -04:00
  • 6b470a181d Fix: Remove unnecesary parameter. KJ 2024-07-10 09:06:51 -04:00
  • 7beb161d2b Ensure db is in transaction to commit or rollback. KJ 2024-06-02 11:31:37 -04:00
  • 701caae7eb Change route method to static. KJ 2024-05-29 13:24:20 -04:00
  • 100bdfe006 Change private method to protected instead. KJ 2024-05-28 22:26:10 -04:00
  • f1b79fdbc0 Add http code 422 on verification failed. KJ 2024-05-25 17:41:33 -04:00
  • 406f9a10a1 Add head comment. KJ 2024-05-25 17:19:08 -04:00
  • cc3cb6be41 Fix: a return was forgot. KJ 2024-05-25 17:11:07 -04:00
  • 59fff2a586 Add validation on Request. KJ 2024-05-25 16:59:59 -04:00
  • cd1685d2e7 fix on a docblock. KJ 2024-05-21 15:06:02 -04:00
  • b85fb7e034 Allow configure SITE_URL with or without slash at end. KJ 2024-05-16 13:48:49 -04:00
  • a10308a8f6 Fix route and redirect methods error when path not start with slash. KJ 2024-05-16 13:20:35 -04:00
  • 9a1e5a2379 Add some explanatory comments to config. KJ 2024-05-14 02:54:23 -04:00
  • fa60ec5bb4 Move constant definition to config.php KJ 2024-05-14 02:53:39 -04:00
  • b294b1d627 Update readme. KJ 2024-05-13 00:58:00 -04:00
  • 27b5ed6015 Convert model name from PascalCase to snake_case (table name). KJ 2024-05-12 04:38:45 -04:00
  • f9b2c678f7 Support multiple databases at same time. KJ 2024-05-12 03:47:09 -04:00
  • e294eaa7af Add route function for View objects. KJ 2024-05-09 23:12:59 -04:00
  • 186d640c8f fix: an empty SITE_URL return a incorrect value of basePath. KJ 2024-05-09 23:10:58 -04:00
  • c65fcd27c8 Create new ROOT_CORE constant. KJ 2024-05-09 18:36:48 -04:00
  • f5f803dde2 Reorganize code for PSR and others code prettify. KJ 2024-05-09 15:13:52 -04:00
  • 6a1085b224 Allow Neuron as $params on view render. KJ 2024-05-09 14:56:07 -04:00
  • 64bcfa0b00 Add Lib\Request. KJ 2024-02-17 21:16:06 -04:00
  • cd01ab9e72 Change switch to match. KJ 2023-10-20 16:26:17 -04:00
  • e2094ccb4a Add option to use another extensions, js and css methods. KJ 2023-09-15 21:26:53 -04:00
  • 341d7837a1 Add Router::reconfigure method. KJ 2023-09-08 22:42:50 -04:00
  • 030e1079dc add mising types, patch method and a new way to set middleware KJ 2023-08-22 01:48:04 -04:00
  • af673a68b8 Add exit after redirect in order to avoid other erros. KJ 2023-08-09 08:54:17 -04:00
  • eff0b86762 Allow construct Neuron with named arguments. KJ 2023-06-04 14:47:58 -04:00
  • 39a1f9d85a Improve magic function __get. KJ 2023-06-04 14:34:24 -04:00
  • d48f24ed98 Improve return types. kj 2023-04-22 05:32:37 -04:00
  • b326c8e1d0 Fix mising use. kj 2023-04-16 23:47:49 -04:00
  • 1267d6b2f6 Fix deprecation warnings on PHP8.2 kj 2023-04-15 13:17:00 -04:00
  • a8d95cb55b Fix empty application/json. kj 2023-04-14 16:43:50 -04:00
  • 06b7907f7c Define mixed type to param $id on getById method. kj 2023-03-25 21:28:25 -04:00
  • 4d052efba6 Change return type from mixed to ?Model on getFirts and getById methods. kj 2023-03-25 18:28:21 -04:00
  • 11141a0eee Allow send string to setNull method. kj 2023-03-25 12:27:33 -04:00
  • 3c8a21161f Add missing docblocks and return types. kj 2023-03-25 12:26:42 -04:00
  • 1bde430251 Improve Neuron and allow use to clone another object. kj 2023-03-15 22:16:05 -04:00
  • 7d3d1615d5 Fix View:txt and add charset. kj 2022-11-22 00:59:20 -04:00
  • 404bd59569 Improve where, and, or and search method. kj 2022-08-22 15:26:32 -04:00
  • 53bdc92344 Add bindValue method to Libs\Model. kj 2022-08-18 16:38:40 -04:00
  • ad7b78f427 Fix prepare variables when special where/and/or columns. kj 2022-08-12 06:31:54 -04:00
  • 38d2a90318 Fix count when using joins. kj 2022-08-12 05:46:24 -04:00
  • 2411704662 Add sqlite support. kj 2022-08-04 05:30:22 -04:00
  • 08d92a2b81 Allow usage of bool types on the ORM. kj 2022-08-01 08:27:49 -04:00
  • 8d47e10d7a Fix resetQuery. kj 2022-07-29 22:23:07 -04:00
  • 2c7938a0c3 Set default fetch mode to fetch assoc. kj 2022-07-24 00:29:34 -04:00
  • c57ca191b1 Rename limit() variables with better names and add description. kj 2022-07-19 12:08:22 -04:00