Package Data | |
---|---|
Maintainer Username: | railken |
Package Create Date: | 2017-03-26 |
Package Last Update: | 2019-06-01 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-11-26 15:06:15 |
Package Statistics | |
---|---|
Total Downloads: | 626 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
A simple loader that permits to split the project in multiple parts or even create multiple application. All the basic functions of laravel will be automatically loaded: Commands, Resources/views, Resources/public, routes, Exceptions/Handler, Providers
PHP 5.6.4 or later.
You can install it via Composer by typing the following command:
composer require railken/laravel-manager
composer.json
and run composer update
.{
"autoload": {
"psr-4": {
"": "src/"
}
},
}
providers
array in config/app.php
Railken\Laravel\App\AppServiceProvider::class,
use Railken\Laravel\App\Exceptions\Handler as ExceptionHandler;
php artisan railken:make:src Example
at the root of your project.return view('Example::index');
{{ asset('src/Example/assets/welcome/main.css' )}}
public function report(Exception $exception)
{
# Report only if it's a custom report
# echo "A custom report";
}
public function render($request, Exception $exception)
{
# Return only if it's a custom render
# The first handler with a return in render method will be used
# return parent::render($request, $exception);
}