Complete installation guide for your Laravel API project
This starter kit includes authentication, user management, teams, roles & permissions, and invitations system out of the box.
First, download the starter kit by clicking the download button on the dashboard.
# The starter kit will be downloaded as a ZIP file
Extract the ZIP file and navigate to the project directory:
cd laravel-restify-starter-kit
Install PHP dependencies using Composer:
composer install
Copy the example environment file and generate an application key:
cp .env.example .env
php artisan key:generate
Update your .env
file with your database credentials:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_username DB_PASSWORD=your_password
Create the database tables:
php artisan migrate
Optionally, seed the database with sample data:
php artisan db:seed
You can now start the Laravel development server:
php artisan serve
Your API will be available at http://localhost:8000
After installation, the following endpoints will be available:
The starter kit includes a complete Postman collection with all API endpoints pre-configured. You'll find it in the storage/postman
folder.
If you're using Laravel Valet or Laravel Herd, you can easily configure the Postman collection:
storage/postman
api
variablehttp://laravel-restify-starter-kit.test/api
)
By default, the Postman environment is configured for http://localhost:8000/api
Need help? Check out the full documentation or reach out to our community.