PHP

Simulate your API in a Symfony project

If you have a Symfony project that makes HTTP requests to your other projects (be it microservices, front-end and api separation projects, etc.), you may need to mock them for your tests.

PHP Opcache accelerates access

Opcache is a way to avoid the overhead of loading and parsing the PHP script each time by storing the pre-compiled bytecode (Operate Code) of the parsed PHP script in the shared memory. The parser can directly read the cached words from the shared memory. Operate Code, which greatly improves the execution efficiency of PHP

Fastadmin two open picture zoom pop-up window

Fastadmin itself does not support functions such as zooming in and zooming out of the pop-up window. The following zooming in and out of various rotation effects can be achieved through two openings.

PHP RSA front and back end encrypted communication

Party B generates a pair of keys (public key and private key), and discloses the public key to Party A. After Party A obtains the public key, it encrypts the data to be transmitted with the public key and sends it to Party B. Party B obtains the public key. After encrypting the data, decrypt it with the private key

PHP uses pipeline design pattern to achieve user credit task requirements

Completing the task will give you points. If you need to recover the points if you encounter a refund, the task is roughly as follows: 1. Add 10 points to the shopping cart for the first time every day 2. You can get 100 points for the first order every day 3. You can get 100 points when the accumulated shopping amount reaches 99 yuan Points 4. Get 100 points for shopping 10 times. 5. Get 10 points for daily check-in. 6. There are many strange tasks...