Download the PHP package dynamics-unlimited/laravel-api-template without Composer
On this page you can find all versions of the php package dynamics-unlimited/laravel-api-template. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dynamics-unlimited/laravel-api-template
More information about dynamics-unlimited/laravel-api-template
Files in dynamics-unlimited/laravel-api-template
Package laravel-api-template
Short Description Generic API template for Kairnial projects.
License
Informations about the package laravel-api-template
Notifications preferences micro-service
Installation
- Install the WSL with UbuntuV22.04
- If Postgresql and its php drivers are not installed in the WSL, install them
- Create a new Postgresql database using the
init-db.sh
script (adjust the user and database name inside) -
From your Ubuntu terminal, navigate to the root of the project, and execute
-
Then execute the database's migrations
- To add some test data to your database, execute
Creating a project from this template
Use composer to create a new project based on this template using:
Environment variables
Copy/paste .env.example then rename the new file into '.env'. Update the content of the file according to your environment.
JWT key
Copy the public key for the appropriate environment to storage/app/keys/public
(public being a file).
Api documentation
To generate the api documentation use:
The swagger documentation is accessible using this route {{url}}/api/documentation
The redoc documentation is accessible using this route {{url}}/api/redoc
Notes for deploy
Execute the following command:
All versions of laravel-api-template with dependencies
ext-pdo Version *
ext-openssl Version *
dynamics-unlimited/laravel-api Version ^1.0