This website requires JavaScript.
1a0164c8ed
Change static methods to non-static and made onInvalid public.
master
KJ
2024-10-30 11:53:44 -0400
ad9f8ec67d
Remove unnecesary brackets.
KJ
2024-10-29 19:12:25 -0400
31c5c63952
Remove innecesary return.
KJ
2024-10-29 19:10:47 -0400
6aef212350
Fix className not returning the classname in the right format.
KJ
2024-10-25 10:40:57 -0400
c600688725
Improve return array dockblocks.
KJ
2024-09-23 18:08:37 -0400
3e27b1b7af
Allow null on enum properties.
KJ
2024-09-23 15:06:44 -0400
73b7b8f72a
Change required valitator to not allow empty values and add exists.
KJ
2024-09-18 14:33:33 -0400
7baad428ec
Refactor request library.
KJ
2024-09-08 14:43:56 -0400
3d2a607768
Fix where_in is wiping previous where/and/or.
KJ
2024-08-30 16:26:03 -0400
df424ffab5
Model properties now can be typed as enums.
KJ
2024-08-27 19:01:02 -0400
daf7250882
Catch and verify put and patch input values.
KJ
2024-08-13 10:22:44 -0400
05cd83fd10
Remove unused variable.
KJ
2024-07-31 03:29:49 -0400
6b470a181d
Fix: Remove unnecesary parameter.
KJ
2024-07-10 09:06:51 -0400
7beb161d2b
Ensure db is in transaction to commit or rollback.
KJ
2024-06-02 11:31:37 -0400
701caae7eb
Change route method to static.
KJ
2024-05-29 13:24:20 -0400
100bdfe006
Change private method to protected instead.
KJ
2024-05-28 22:26:10 -0400
f1b79fdbc0
Add http code 422 on verification failed.
KJ
2024-05-25 17:41:33 -0400
406f9a10a1
Add head comment.
KJ
2024-05-25 17:19:08 -0400
cc3cb6be41
Fix: a return was forgot.
KJ
2024-05-25 17:11:07 -0400
59fff2a586
Add validation on Request.
KJ
2024-05-25 16:59:59 -0400
cd1685d2e7
fix on a docblock.
KJ
2024-05-21 15:06:02 -0400
b85fb7e034
Allow configure SITE_URL with or without slash at end.
KJ
2024-05-16 13:48:49 -0400
a10308a8f6
Fix route and redirect methods error when path not start with slash.
KJ
2024-05-16 13:20:35 -0400
9a1e5a2379
Add some explanatory comments to config.
KJ
2024-05-14 02:54:23 -0400
fa60ec5bb4
Move constant definition to config.php
KJ
2024-05-14 02:53:39 -0400
b294b1d627
Update readme.
KJ
2024-05-13 00:58:00 -0400
27b5ed6015
Convert model name from PascalCase to snake_case (table name).
KJ
2024-05-12 04:38:45 -0400
f9b2c678f7
Support multiple databases at same time.
KJ
2024-05-12 03:47:09 -0400
e294eaa7af
Add route function for View objects.
KJ
2024-05-09 23:12:59 -0400
186d640c8f
fix: an empty SITE_URL return a incorrect value of basePath.
KJ
2024-05-09 23:10:58 -0400
c65fcd27c8
Create new ROOT_CORE constant.
KJ
2024-05-09 18:36:48 -0400
f5f803dde2
Reorganize code for PSR and others code prettify.
KJ
2024-05-09 15:13:52 -0400
6a1085b224
Allow Neuron as $params on view render.
KJ
2024-05-09 14:56:07 -0400
64bcfa0b00
Add Lib\Request.
KJ
2024-02-17 21:16:06 -0400
cd01ab9e72
Change switch to match.
KJ
2023-10-20 16:26:17 -0400
e2094ccb4a
Add option to use another extensions, js and css methods.
KJ
2023-09-15 21:26:53 -0400
341d7837a1
Add Router::reconfigure method.
KJ
2023-09-08 22:42:50 -0400
030e1079dc
add mising types, patch method and a new way to set middleware
KJ
2023-08-22 01:48:04 -0400
af673a68b8
Add exit after redirect in order to avoid other erros.
KJ
2023-08-09 08:54:17 -0400
eff0b86762
Allow construct Neuron with named arguments.
KJ
2023-06-04 14:47:58 -0400
39a1f9d85a
Improve magic function __get.
KJ
2023-06-04 14:34:24 -0400
d48f24ed98
Improve return types.
kj
2023-04-22 05:32:37 -0400
b326c8e1d0
Fix mising use.
kj
2023-04-16 23:47:49 -0400
1267d6b2f6
Fix deprecation warnings on PHP8.2
kj
2023-04-15 13:17:00 -0400
a8d95cb55b
Fix empty application/json.
kj
2023-04-14 16:43:50 -0400
06b7907f7c
Define mixed type to param $id on getById method.
kj
2023-03-25 21:28:25 -0400
4d052efba6
Change return type from mixed to ?Model on getFirts and getById methods.
kj
2023-03-25 18:28:21 -0400
11141a0eee
Allow send string to setNull method.
kj
2023-03-25 12:27:33 -0400
3c8a21161f
Add missing docblocks and return types.
kj
2023-03-25 12:26:42 -0400
1bde430251
Improve Neuron and allow use to clone another object.
kj
2023-03-15 22:16:05 -0400
7d3d1615d5
Fix View:txt and add charset.
kj
2022-11-22 00:59:20 -0400
404bd59569
Improve where, and, or and search method.
kj
2022-08-22 15:26:32 -0400
53bdc92344
Add bindValue method to Libs\Model.
kj
2022-08-18 16:38:40 -0400
ad7b78f427
Fix prepare variables when special where/and/or columns.
kj
2022-08-12 06:31:54 -0400
38d2a90318
Fix count when using joins.
kj
2022-08-12 05:46:24 -0400
2411704662
Add sqlite support.
kj
2022-08-04 05:30:22 -0400
08d92a2b81
Allow usage of bool types on the ORM.
kj
2022-08-01 08:27:49 -0400
8d47e10d7a
Fix resetQuery.
kj
2022-07-29 22:23:07 -0400
2c7938a0c3
Set default fetch mode to fetch assoc.
kj
2022-07-24 00:29:34 -0400
c57ca191b1
Rename limit() variables with better names and add description.
kj
2022-07-19 12:08:22 -0400
f4eabe6d54
Minor fixes.
kj
2022-07-14 22:39:38 -0400
83d9ba55aa
Update migration notes.
kj
2022-07-14 22:08:43 -0400
bad7bf0e65
Update config template.
kj
2022-07-14 22:03:07 -0400
5284be2b1b
Update org files.
kj
2022-07-14 21:59:27 -0400
0db6e4a021
rework to change from MySQLi to PDO.
kj
2022-07-14 21:41:48 -0400
afb4c914a1
Fix error on where_in with string values.
kj
2022-07-10 12:10:01 -0400
4c4fe6f1f7
Change View to work as instance and render text and json.
kj
2022-06-25 21:11:11 -0400
b6555ee039
Fix docblocks.
kj
2022-06-07 23:06:37 -0400
a641248453
Add middleware priorities.
kj
2022-06-07 23:05:49 -0400
eb27acf68e
Add middleware lib.
kj
2022-05-18 12:29:27 -0400
f38c6610fb
Allow multiple middlewares.
kj
2022-05-18 12:29:07 -0400
4003a88f66
Insignificant change: Rename some variables.
kj
2022-04-14 12:52:52 -0400
01927ec946
Normalize header comments to phpdoc compatibility.
kj
2022-04-12 15:56:50 -0400
a23e795f5c
Fix error on getVars when get not set properties.
kj
2022-04-05 17:12:30 -0400
9689ac82cf
Fix wrong result type on getById.
kj
2022-03-30 14:09:08 -0400
fe61d14713
Fix error on save.
kj
2022-03-28 21:55:29 -0400
97380b2bee
Change ModelMySQL atributes to strong typed.
kj
2022-03-22 04:30:47 -0400
4cd7850931
fix result type on ModelMySQL::query.
kj
2022-03-17 22:38:10 -0400
4240b048fd
add missing use for mysqli_result.
kj
2022-03-17 22:31:47 -0400
f43028d72d
Migrate to strong typed (compatible only with PHP 7.0+).
kj
2022-03-17 17:22:04 -0400
503efef448
Update comments to phpdoc compatible format.
kj
2022-02-23 20:53:36 -0400
81f2d4d665
Disable th usade of "-" on {pseudovariables}
kj
2022-01-27 11:17:35 -0400
4b1585fe6d
Change URI to Path.
kj
2022-01-25 09:46:04 -0400
83c9d28526
Change URI to Path.
kj
2022-01-25 09:42:16 -0400
a303f28f88
- Change $notFoundCallBack to $notFoundCallback - Minor fixed on comments.
kj
2022-01-24 11:06:39 -0400
94f1857653
Change not found callback.
kj
2021-11-27 19:21:13 -0400
6fbf9a2a72
Change indentation.
kj
2021-10-21 23:34:49 -0400
790930771f
Add directories default estructure.
kj
2021-10-15 17:52:14 -0400
184d03a214
Fix error on undefined param.
kj
2021-10-15 17:41:47 -0400
e1fe93a04c
- Change middleware for accept any callable function as param. - $notFoundCallback now has a function as default value (the normal 404 page as before). - Change the way to manipulate the {pseudoVars} on uri, now it go into the same Neuron onject that "post", "get", and "json" and not more as separate params into the callback (the callback now only receive one param by default). - $notFoundCallback now receive the $req, as param.
kj
2021-10-15 17:23:20 -0400
68bc906ecf
Add default value for argument in Neuron constructor.
kj
2021-10-15 17:22:53 -0400
b8b1a1c8f9
Enable to use limit funtion on count function instead send limit directly.
kj
2021-09-11 20:02:23 -0400
182635bc9c
- Remove option for use non-optimized count. - Add option for limit count.
kj
2021-09-11 19:04:54 -0400
b80ab19d7e
Add option for use non-optimized count.
kj
2021-09-11 18:27:15 -0400
405cf1cb34
Fix count on not resetQuery.
kj
2021-08-14 17:46:14 -0400
8069fb28a1
Ignore orderby on count.
kj
2021-08-14 17:45:23 -0400
e3b97601e2
- Add option for reset query or not at get, getFirts, buildQuery and count - Add sql_calc_found_rows method. - Add found_rows method. - Improve count method usind sql_calc_found_rows and found_rows.
kj
2021-08-14 17:30:03 -0400
9785954870
Add SITE_URL constant.
kj
2021-07-10 15:53:48 -0400
e424139072
Remove unused use.
kj
2021-06-21 16:08:29 -0400
d23ecfbde6
Add a 404 custom controller option on Router.
kj
2021-03-25 12:02:50 -0400