- composer create-project --prefer-dist laravel/laravel .
- composer require laravel/ui ^3.4"
- composer require laravelcollective/html ^6.3
- composer require qiwi/bill-payments-php-sdk ^0.2.2
- composer require socialiteproviders/telegram ^4.1
- composer require spatie/laravel-permission ^5.5
- composer require webpatser/laravel-countries ^1.5
- composer require ssda-1/proxies
- php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
- php artisan migrate
- php artisan vendor:publish --tag=proxies-config
- php artisan vendor:publish --tag=proxies-public
- php artisan vendor:publish --tag=proxies-auth --force
- settings webpatser/laravel-countries
-
add config.app 'providers' => [
Webpatser\Countries\CountriesServiceProvider, Webpatser\Countries\CountriesServiceProvider::class, Ssda1\proxies\Providers\ProxyServiceProvider::class,
];
'aliases' => [
'Countries' => Webpatser\Countries\CountriesFacade::class,
];
-
- settings spatie/laravel-permission
-
add Kernel.php protected $middlewareAliases = [
'role' => \Spatie\Permission\Middleware\RoleMiddleware::class, 'permission' => \Spatie\Permission\Middleware\PermissionMiddleware::class, 'role_or_permission' => \Spatie\Permission\Middleware\RoleOrPermissionMiddleware::class,
];
-
add config.app 'providers' => [
Spatie\Permission\PermissionServiceProvider::class,
];
-
- settings ssda-1/proxies
-
add Http\Kernel.php protected $middlewareGroups = [
'web' => [ \Ssda1\proxies\Http\Middleware\SetLanguage::class, ],
];
-
add config.auth 'providers' => [
'users' => [ 'driver' => 'eloquent', 'model' => \Ssda1\proxies\Models\User::class, 'email_verification' => true, ],
];
-
add Console\Kernel.php protected $commands = [
\Ssda1\proxies\Console\Commands\EndProxyCron::class, \Ssda1\proxies\Console\Commands\SendProxyExpirationNotifications::class,
];
-
- php artisan package:seed
- php artisan vendor:publish --tag=laravel-pagination
- php artisan vendor:publish --tag="telegram-config"