An open API service indexing awesome lists of open source software.

https://github.com/edcsu/api-project

Restful api using larevel php framework
https://github.com/edcsu/api-project

docker docker-compose laravel php php8 rest-api

Last synced: 3 months ago
JSON representation

Restful api using larevel php framework

Awesome Lists containing this project

README

          

# api-project

This a restful api using larevel php framework.

## Requirements

*[Apache](https://httpd.apache.org/download.cgi)

*[PHP](https://windows.php.net/download)

*[MYSQL community edition](https://dev.mysql.com/downloads)

*[Composer(optional)](https://getcomposer.org/download)

*Rest API client tool (optional) [Insomnia Core](https://insomnia.rest/download) or [Postman](https://www.postman.com/downloads)

> An all in one installation with an interface to configure easily Apache, PHP an MYSQL is recommended.
> Use [XAMMP](https://www.apachefriends.org/index) which is a completely free, easy to install Apache distribution containing MariaDB PHP, and Perl.
> The XAMPP open source package has been set up to be incredibly easy to install and to use.

### Compiles and hot-reloads for development

```php
php artisan serve
```

### Make migrations

```php
php artisan migrate
```

### Add an Api controller

```php
php artisan make:controller *ApiControllername*
```