/laravel-starter-kit

Simple laravel starter kit for every project

Primary LanguagePHP

Laravel Logo

About Laravel Starter Kit

Laravel Starter Kit is a simple starter kit with necessary packages for every laravel project.

Installed dependencies

How to use

  • Clone this repo or Click on Use this template button then wait for the process to completely fork this template to your repo.

  • Rename .env.example to .env and fill in it with your information.

  • Install composer dependencies:

    • Basic dependencies (Required)

      composer install
    • API dependencies (Optional)

      composer run kit:api
    • Blade dependencies (Optional)

      composer run kit:blade
  • Install Nodejs dependencies:

npm install
  • Set the application key:
php artisan key:generate
  • Run the database migrations:
php artisan migrate
  • Serve the application on the PHP development server:
php artisan serve

After that, go to http://127.0.0.1:8000 to see your application.

Useful commands

  • Install authentication:
php artisan auth:install
  • Seed the database with records:
php artisan db:seed
  • Generate ide helper files:
composer dump-ide
  • Export laravel error blades
php artisan vendor:publish --tag=laravel-errors
  • Export laravel email blades
php artisan vendor:publish --tag=laravel-mail

How to update

  • First, set this repo as your upstream repo by running the command below:
composer run kit:add-update
  • Run the command below and merge your changes with the new update:
composer run kit:update
  • If you want to remove this repo from your repo, run the command below:
composer run kit:remove-update

Useful information

  • Environment's variables description:
    • DEBUGBAR_ENABLED: Enable or disable debugbar manual (dev)
    • DB_DATABASE: Database name
    • DB_USERNAME: Database username
    • DB_PASSWORD: Database password

About Laravel

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:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

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.

You may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.

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.

Security Vulnerabilities

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.

License

The Laravel framework is open-sourced software licensed under the MIT license.