A simple yet configurable lightweight framework boilerplate for PHP.
- PHP version 7.4
- opcache for PHP 7.4
First, navigate to your webserver's document root and clone this repo:
git clone https://github.com/echtyushi/feather-boilerplate
For the config of our application make changes to config/api.php, you can add your own config file and include them in index.php.
For the php.ini we need to enable the extension opcache.
-
Enable opcache extension:
zend_extension=opcache -
Add opcache settings in
php.ini:opcache.enable=1 opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000
- This application relies on opcache. See opcache installation.