Here is fully working Demo: https://www.lobiimages.com/
You have to register first in order to generate access token and make API requests.
Download postman_collection.json file, import it in your postman and test locally.
php-mbstring php-dom php-intl php-curl php-mysql php-gd
Before you start the installation process you need to have installed composer
- Clone the project
- Navigate to the project root directory using command line
- Run
composer install - Copy
.env.exampleinto.envfile - Adjust
DB_*parameters.
If you want to use Mysql, make sure you have mysql server up and running.
If you want to use sqlite:- you can just delete all
DB_*parameters exceptDB_CONNECTIONand set its value tosqlite - Then create file
database/database.sqlite
- you can just delete all
- Run
php artisan key:generate --ansi - Run
php artisan migrate
Run php artisan serve which will start the server at http://localhost:8000
- Create a virtual host file
- Enable it
- Reload apache
Virtual host template.
<VirtualHost *:80>
ServerName yourproductiondomain.com
ServerAlias www.yourproductiondomain.com
DocumentRoot /project-installation-path/public
<Directory "/project-installation-path/public`">
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog /path-to-logs-folder/error.log
CustomLog /path-to-logs-folder/access.log combined
</VirtualHost>If you installed the project using apache and have any issues regarding permissions when installing on production, do the following.
- Add the project owner user in
www-datagroupsudo usermod -a -G www-data project-owner-user
- Change the owner of several folders into
www-datauserchown www-data:www-data storage/ -R chown www-data:www-data public/images
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license.