Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 1
1 answer
76 views

I've created a custom validator in Phalcon by extending Phalcon\Filter\Validation\AbstractValidator. I implemented the allowEmpty method to define a custom rule for what should be considered an "...
Score of 3
1 answer
113 views

At my company, we're migrating Phalcon from version 4.2 to 5.4 while using PHP 7.4. We're facing an issue with form initialization, specifically with the HTML inside labels being escaped. We define ...
Score of 0
0 answers
44 views

I am working on a project using Phalcon and encountering an issue while trying to save DrugOrder objects. Below is the relevant part of my code: $drug_order = DrugOrder::find([ 'conditions' => &...
Score of 1
0 answers
75 views

I was wondering, what's the best way to handle 500 and 200 error in Phalcon? I'd like to create a default error page for when an error occurs. In my app/config/service.php: use \Phalcon\Mvc\Dispatcher ...
Score of 0
0 answers
84 views

I have a PHP Phalcon setup on Ubuntu with the following versions: PHP = 7.4.33 Phalcon = 4.0 Phalcon Dev Tools = 4.2 Ubuntu = 20.02 Server = Apache 2 The issue I am facing is that my localhost ...
Score of 0
0 answers
119 views

i have a problem in update mysql version of my application, 8.0 version causes a 300% more loewst process in database compare of 5.7 version. Any sugestions or cases for improve performance in this ...
Score of 1
0 answers
65 views

Iam trying to use my phalcon models inside migrations like you can in laravel. The problem is with namespaces. I try to load the namespaces with loader to solve the namespace issues by calling a ...
Score of 2
1 answer
4870 views

In my Phalcon project, I'm trying to change the color of a row based on some data. I'd appreciate any help. This is what I'm working with. In my controller : private function dataTablesAjax($request) ...
Score of 1
0 answers
302 views

I'm working on the project that uses a lot of mysql data importing into excel files. So far I've been writing queries in my controller and then simply exporting the result data as an excel file. But ...
Score of 1
1 answer
98 views

I can't get to make this query to work in phalcon, depending on how I change the query I get "Invalid parameter number: parameter was not defined" : SELECT start_date, end_date ...
Score of 0
0 answers
74 views

I am trying to setup very simple, 2 api endpoints using Php Phalcon Micro. I am getting 404 not found on endpoint route with "/api/healthcheck". But when I call root "/", I get ...
Score of 0
1 answer
371 views

I had a project running on phalcon 5.3.0. But after upgrading to phalcon 5.3.1 with php 8.2 i'm facing some errors. and unable fix it. i did no change but errors are occurred. Also i did not get any ...
Score of 0
0 answers
232 views

I have a Phalcon PHP application where I'm trying to implement token-based authentication. I have a method in my code like this: public function infoAction() { $access_token = $this->request->...
Score of 0
0 answers
53 views

I'm coming to you because I'd like to set up a multi-module MVC application with phalcon 4. I have followed the documentation and my bootstrap file is as follows: <?php use Phalcon\Debug; use ...
Score of 1
0 answers
69 views

We use Codeception with Phalcon. We are trying to add testing around an API. This API has DB saves and other application logic. Assume our requirement is to receive 403 HTTP status If the DB save has ...

15 30 50 per page
1
2 3 4 5
136