iskala / create-laravel-start
The modernize skeleton application for the Laravel framework.
1.0.4
2024-10-27 21:27 UTC
Requires
- php: ^8.3
- flugger/laravel-responder: ^3.4
- laravel/framework: ^11.0
- laravel/reverb: @beta
- laravel/sanctum: ^4.0
- laravel/tinker: ^2.9
- predis/predis: ^2.0
- spatie/laravel-http-logger: ^1.11
- tg/tgwebvalid: ^4.2
Requires (Dev)
- barryvdh/laravel-ide-helper: ^3.0
- fakerphp/faker: ^1.23
- laravel/pint: ^1.13
- laravel/sail: ^1.26
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.0
- phpunit/phpunit: ^11.0.1
- spatie/laravel-ignition: ^2.4
README
INIT PROJECT
$ composer install
$ cp .env.example .env
$ # Ввести данные от базы данных и redis
$ php artisan key:generate
$ php artisan optimize
$ php artisan migrate
START SERVER
$ php artisan serve
ARTISAN CUSTOM COMMANDS
$ php artisan module:controller ${name} ${moduleName}
$ php artisan module:action ${name} ${moduleName}
$ php artisan module:responder ${name} ${moduleName}
$ php artisan module:model ${name} ${moduleName}
$ php artisan module:migration ${name} ${moduleName}
$ php artisan module:factory ${name} ${moduleName}
$ php artisan module:seeder ${name} ${moduleName}
$ php artisan make:provider ${name}
$ php artisan make:command ${name} # Create Command
$ php artisan schedule:list # List Schedules
LARAVEL IDEA HELP
Init Help
$ php artisan ide-helper:generate
Generate Model Help
$ php artisan ide-helper:models
XDEBUG
$ export PHP_IDE_CONFIG="serverName=laravel"
PHPSTORM
PHP_IDE_CONFIG=serverName=laravel
Добавить в настройки терминала проекта