Installation
Installation
Server Requirements
- PHP >= 8.1
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- See more in Maravel Framework composer.json and Maravel Micro-Framework composer.json
Installing Maravel
Maravel utilizes Composer to manage its dependencies. So, before using Maravel, make sure you have Composer installed on your machine.
Install Maravel by issuing the Composer create-project command in your terminal:
composer create-project --prefer-dist macropay-solutions/maravel blog
Serving Your Application
To serve your project locally, you may use the Laravel Homestead virtual machine, Laravel Valet, or the built-in PHP development server:
php -S localhost:8000 -t public
Configuration
All the configuration options for the Maravel framework are stored in the .env file. Once Maravel is installed, you should also configure your local environment.
Application Key
The next thing you should do after installing Maravel is set your application key to a random string. Typically, this string should be 32 characters long. The key can be set in the .env environment file. If you have not renamed the .env.example file to .env, you should do that now. If the application key is not set, your user encrypted data will not be secure!
Compatibility
Since Maravel is a totally separate framework from Maravelith, it does not intentionally offer compatibility with any additional Maravelith libraries like Cashier, Passport, Scout, etc. If your application requires the functionality provided by these libraries, please use the Maravelith framework.