GithubHelp home page GithubHelp logo

proyectotau / tau Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 6.0 925 KB

Brand new, enhanced, rewriting of popular 10-years-old legacy application coded in vanilla PHP (without framework), using just basic design pattern of MVC. Now migrating to Laravel!! TAU is a tool for IT Service Management (ITSM), managing of computers inventory, users, incidents, administration of the Active Directory, messaging, contacts, etc.

PHP 85.93% Vue 0.19% HTML 11.93% PLpgSQL 1.06% Batchfile 0.49% Shell 0.40%
php mvc tau inventory ddd hexagonal-architecture nwidart-modules laravel

tau's Introduction

Codeship Status for proyectotau/TAU language PHP framework Laravel SourceForge Total SourceForge Month GPL license badges shields.io

TAU website

TAU

Brand new, enhanced, rewriting of popular 10-years-old legacy application coded in vanilla PHP (without framework), using plain design pattern of MVC. Now migrating to Laravel!!

Visit our primary website for downloading from http://tauproject.sourceforge.net/

We're about to release v1.29RC

Stay tuned !!!

TAU be or Not TAU be

TAU is not a Framework. It's an environment where apps run, live and work.

We use Nwidart's Laravel-Modules to modules become into an independent app, because it mimics our legacy modules way of life.

nWidart/laravel-modules is a must-have!

Getting Started

 1. git clone --branch "master" https://github.com/proyectotau/TAU.git
 2. mkdir -p ./bootstrap/cache
 3. composer install --prefer-dist
 4. export MYSQL_USER=root
 5. export MYSQL_PASSWORD=secret
# Have a look at database/migrations/bd_test/*
 6. php artisan migrate --force --verbose
 7. vendor/bin/phpunit
 8. cp .env.dusk.local .env
# Workaround bug. See link https://github.com/GoogleChrome/puppeteer/issues/1925#issuecomment-398520641
 9. nohup bash -c "./vendor/laravel/dusk/bin/chromedriver-linux --no-gpu --disable-software-rasterizer --headless --mute-audio --hide-scrollbars --remote-debugging-port=9222 2>&1 &" && sleep 3
10. nohup bash -c "php artisan serve 2>&1 &" && sleep 5
11. php artisan dusk

tau's People

Contributors

proyectotau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tau's Issues

Container::getAlias($abstract) throws ErrorException: Illegal offset type in isset or empty when $abstract there is not in $this->aliases[]

  • Laravel Version: 5.6.16
  • PHP Version: 7.2.3
  • Database Driver & Version: N/A

Description:

laravel\framework\src\Illuminate\Container\Container.php public function getAlias($abstract)
throws ErrorException: Illegal offset type in isset or empty
when $abstract there is not in $this->aliases[]

$this->aliases[$abstract] is null and !isset($this->aliases[$abstract]) throws ErrorException: Illegal offset type in isset or empty

$abstract value is Modules\Administration\Tests\Commands\StubJsonCommandHandler

Steps To Reproduce:

Run AdministrationControllerTest (https://github.com/proyectotau/TAU/ clone laraveldusk branch [4ef9b0e])

Workaround

Change in getAlias() function
! isset($this->aliases[$abstract])
for
! isset($this->aliases[(string)$abstract])

Or change explicitly type-hint to string at ALL functions (@param string is not enough)
public function getAlias($abstract)
for
public function getAlias(string $abstract)

But it fails later in next use of [$abstract] in Container:
isShared() at isset($this->instances[(string)$abstract]) isset($this->bindings[(string)$abstract]
resolve() calling to$this->resolved[(string)$abstract] = true;
getConcrete() at if (isset($this->bindings[(string)$abstract]))
getContextualConcrete() at if (empty($this->abstractAliases[(string)$abstract]))
getExtenders() at if (isset($this->extenders[(string)$abstract]))

and in Illuminate\Foundation\Application:
make() at if (isset($this->deferredServices[(string)$abstract]) && ! isset($this->instances[(string)$abstract]))

PS: Please have a look to Alvaro Gonzalez's comment in
https://stackoverflow.com/questions/2732451/php-how-do-i-fix-this-illegal-offset-type-error#comment70423941_8092350

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.