Skip to content

Getting Started

macropay-solutions edited this page Jun 4, 2025 · 8 revisions

Maravel — a PHP framework oriented towards dependency injection

1. Start a new project with Maravel

2. Optimize your new project with Maravel

1. Start a new project with Maravel

Run in terminal:

composer create-project macropay-solutions/maravel your-project-name

or download the zip project, extract it and rename its folder.

Run in terminal:

composer install

Start building your project.

Optionally we recommend you to use our AUTO cruFd libs suite by running in terminal:

composer require --dev macropay-solutions/laravel-crud-wizard-generator

The generator will help you generate the cruFd classes required for exposing an already existing table via API.

composer require macropay-solutions/laravel-crud-wizard-decorator-free

The decorator will require also macropay-solutions/laravel-crud-wizard-free which contains important retroactive bug fixes and useful new features. See their documentation for more info on how to use them.

2. Optimize your new project with Maravel

On each deploy cache your routes and configs in php files by running:

php artisan route:cache
php artisan config:cache

These will create cached php files in bootstrap/cache folder.

Note that nikic/fast-route package will also create its cache route php file on first access of a dynamic route.

Clone this wiki locally