Skip to content

This package help you to easily setup your project.

License

Notifications You must be signed in to change notification settings

Ayctor/laravel-starter

Repository files navigation

LaravelStarter

Latest Version on Packagist Total Downloads

This package help you to easily setup your project.

Take a look at contributing.md to see the todo list.

Installation

Via Composer

$ composer require --dev ayctor/laravel-starter

Usage

You can install the starter presets with interactive questions.

$ php artisan starter:install

Or you can install the starter presets with direct options. Check the --help option for the list of available presets.

$ php artisan starter:install --auth=fortify --ui=vue,inertia

Finally, you can just install the basic starter presets without options and interactive questions.

$ php artisan starter:install --no-interaction

Presets

Basic

The basic presets contains the following packages:

And some other stuff like Bitbucket Pipelines config, Gitlab Pipelines config, SVG blade component, eslint, GTM config, etc.

Admin

Nova

Make sure you have your auth.json file setup with your authentication data.

Check the documentation to customize the default setup: https://nova.laravel.com/docs/3.0/resources/

Auth

Fortify

Check the documentation to customize the default setup: https://github.com/laravel/fortify/blob/1.x/README.md

Sanctum

Check the documentation to customize the default setup: https://laravel.com/docs/8.x/sanctum#issuing-api-tokens

Tracking

Bugsnag

Create your project in Bugsnag and add the given API key into your .env file.

Sentry

Create your project in Sentry and add the given DSN key into your .env file.

Backup

Spatie Backup

Check the documentation to customize the default setup: https://spatie.be/docs/laravel-backup/v6/installation-and-setup

API

GraphQL

Check the documentation to customize the default setup: https://lighthouse-php.com/master/the-basics/schema.html

UI

Vue

This preset bring with vue, webpack loader and eslint plugin. You can easily add your components in the resources/js/bootstrap.js file.

Packages

Spatie Media Library

Check the documentation to install required optimization tools: https://spatie.be/docs/laravel-medialibrary/v8/installation-setup#optimization-tools

Check the documentation to customize the default setup: https://spatie.be/docs/laravel-medialibrary/v8/basic-usage/preparing-your-model

Spatie Permission

Check the documentation to customize the default setup: https://spatie.be/docs/laravel-permission/v3/basic-usage/basic-usage

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email us instead of using the issue tracker.

Credits

License

Please see the license file for more information.