To enable error logging, open php.ini file and add this
error_reporting = E_ALL & ~E_NOTICE error_reporting = E_ALL & ~E_NOTICE | E_STRICT error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ER… _ERROR error_reporting = E_ALL & ~E_NOTICE
You can use Codeigniter curl library to parse data in JSON format. For this you can use POST request.
Add this to your JSON file
$this->load->library('Curl'); $url = 'http://your-domin.com/'; $formatJsondata = array(
To create a simple ToDo application in Laravel, you first need to setup database. For that, start with configuring the .env file. Now to create table in Laravel, you need to create migration table. For that, use the following command
php artisan make:migration create_todo_table
Now execute migration with following command:
php artisan migrate
Symfony is great framework with some useful components. You can easily create Symfony ecommerce website using bundles. You can even create a rich UI by integrating React on front end. Learn more on how you can create a Symfony ecommerce website and integrate React and Cloudinary with it.
Consider using the swoole extension. Some applications can run 30 times faster. Be sure you understand how it works.
Use cache wherever possible in order to reduce the amount of DB queries. Optimize the DB queries too, these are often the performance bottleneck of any web application regardless of the stacks / frameworks that are used.
varnish for full page caching & redis for session caching but it’s the best choice IMO.
Read Tons of More Tips on PHP Performance Optimization.