Download the PHP package lsshu/site-api without Composer
On this page you can find all versions of the php package lsshu/site-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lsshu/site-api
More information about lsshu/site-api
Files in lsshu/site-api
Package site-api
Short Description dev
License MIT
Homepage https://github.com/lsshu/site-api
Informations about the package site-api
About Site-Api
Laravel is a web application
Installation
This package requires PHP 7.4+ and Laravel 8.5
First, install laravel 8.5, and make sure that the database connection settings are correct.
Then run these commands to publish assets and config:
After run command you can find config file in config/permisstion.php config/jwt.php config/site-api.php, in this
file you can change the install directory,db connection or table names.
Add the following configuration to file config/filesystems.php
migrate.
At last run following command to finish install permission.
Open http://localhost/site-api/ in browser,Test whether the installation is successful 🏅.
Add the following configuration to file config/auth.php
Generate JWT encryption key
Configurations
The file config/site-api.php contains an array of configurations, you can find the default configurations in there.
在 app/Http/Kernel.php 中找到 protected $routeMiddleware = [···]
License
The Laravel framework is open-sourced software licensed under the MIT license.
All versions of site-api with dependencies
spatie/laravel-permission Version ^5.11.1
tymon/jwt-auth Version ^1.0-dev