Commit Graph

  • b2cb8d6883 Allow statically call beginTransaction, rollback and commit methods. master 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
  • f4eabe6d54 Minor fixes. kj 2022-07-14 22:39:38 -04:00
  • 83d9ba55aa Update migration notes. kj 2022-07-14 22:08:43 -04:00
  • bad7bf0e65 Update config template. kj 2022-07-14 22:03:07 -04:00
  • 5284be2b1b Update org files. kj 2022-07-14 21:59:27 -04:00
  • 0db6e4a021 rework to change from MySQLi to PDO. kj 2022-07-14 21:41:48 -04:00
  • afb4c914a1 Fix error on where_in with string values. kj 2022-07-10 12:10:01 -04:00
  • 4c4fe6f1f7 Change View to work as instance and render text and json. kj 2022-06-25 21:11:11 -04:00
  • b6555ee039 Fix docblocks. kj 2022-06-07 23:06:37 -04:00
  • a641248453 Add middleware priorities. kj 2022-06-07 23:05:49 -04:00
  • eb27acf68e Add middleware lib. kj 2022-05-18 12:29:27 -04:00
  • f38c6610fb Allow multiple middlewares. kj 2022-05-18 12:29:07 -04:00
  • 4003a88f66 Insignificant change: Rename some variables. kj 2022-04-14 12:52:52 -04:00
  • 01927ec946 Normalize header comments to phpdoc compatibility. kj 2022-04-12 15:56:50 -04:00
  • a23e795f5c Fix error on getVars when get not set properties. kj 2022-04-05 17:12:30 -04:00
  • 9689ac82cf Fix wrong result type on getById. kj 2022-03-30 14:09:08 -04:00
  • fe61d14713 Fix error on save. kj 2022-03-28 21:55:29 -04:00
  • 97380b2bee Change ModelMySQL atributes to strong typed. kj 2022-03-22 04:30:47 -04:00
  • 4cd7850931 fix result type on ModelMySQL::query. kj 2022-03-17 22:38:10 -04:00
  • 4240b048fd add missing use for mysqli_result. kj 2022-03-17 22:31:47 -04:00
  • f43028d72d Migrate to strong typed (compatible only with PHP 7.0+). kj 2022-03-17 17:22:04 -04:00
  • 503efef448 Update comments to phpdoc compatible format. kj 2022-02-23 20:53:36 -04:00
  • 81f2d4d665 Disable th usade of "-" on {pseudovariables} kj 2022-01-27 11:17:35 -04:00
  • 4b1585fe6d Change URI to Path. kj 2022-01-25 09:46:04 -04:00
  • 83c9d28526 Change URI to Path. kj 2022-01-25 09:42:16 -04:00
  • a303f28f88 - Change $notFoundCallBack to $notFoundCallback - Minor fixed on comments. kj 2022-01-24 11:06:39 -04:00
  • 94f1857653 Change not found callback. kj 2021-11-27 19:21:13 -04:00
  • 6fbf9a2a72 Change indentation. kj 2021-10-21 23:34:49 -04:00
  • 790930771f Add directories default estructure. kj 2021-10-15 17:52:14 -04:00
  • 184d03a214 Fix error on undefined param. kj 2021-10-15 17:41:47 -04:00