Laravel v9.15.0
Bootstrap 4 - SB Admin 2
- Version Control System (VCS): GIT
- Project Installer, one of the following:
If your local machine already has Docker installed
Under the hood laravel sail is using docker compose
# Clone repository
git clone https://github.com/alHasandev/laravel-sb-admin.git
# Enter working directory
cd larave-sb-admin
# Install dependencies using docker
# / make sure you set file permission to executable
./docking composer composer install
Optional: set sail alias to bashrc or zshrc config file
./save-alias sail="[ -f sail ] && bash sail || bash vendor/bin/sail"
#or if you using zsh
zsh ./save-alias sail="[ -f sail ] && bash sail || bash vendor/bin/sail"
source ~/.zshrc
If your local machine already has NodeJS, PHP and Composer installed
# Clone Repository
git clone https://github.com/alHasandev/laravel-sb-admin.git
# Enter working directory
cd larave-sb-admin
# Install dependencies
composer update
npm install
# Generate js modules
npm run dev
Before you start developing make sure you have .env
file on your project directory root
If you are using Docker in development you can simply rename .env.sail
file to .env
Otherwise you can use .env.example
file and rename it to .env
Adjust .env
settings to your project preferences
# On your project root directory
./vendor/bin/sail up
# Or running sail with detached mode
./vendor/bin/sail up -d
After sail up and running, run the following command on current terminal (if you using -d (detached) flag) or other terminal to generate js modules
# Install package dependencies
sail npm install
# Generate js modules
sail npm run dev
Before you can run php artisan, you must generate a key
# On your project root directory
php artisan key:generate
And run the local development server:
# On your project root directory
php artisan serve
If above instructions success now you can start view your web on browser http://localhost:8000
(based on your .env setting)
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
If you don't feel like reading, Laracasts can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page.
- Vehikl
- Tighten Co.
- Kirschbaum Development Group
- 64 Robots
- Cubet Techno Labs
- Cyber-Duck
- Many
- Webdock, Fast VPS Hosting
- DevSquad
- Curotec
- OP.GG
- WebReinvent
- Lendio
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.