Code Monkey home page Code Monkey logo

stubs's People

Contributors

krzysztofrewak avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

stubs's Issues

Add a licence

Currently there's no licence.md nor licence entry in composer.json. I would go with MIT, but I'm open to discussion.

Update dependencies

  • Package needs to work with Laravel 9, so Illuminate dependencies should be bumped to ^9.0.0
  • Codestyle package should be updated
  • GHA workflow should operate on PHP 8.0 and 8.1

Living organism tests

The idea is to install the package in some real-life Laravel application and find out if there are any problems with the package.

Set up CI

Test suites and codestyle check should be ran after every commit to every pull request.

Implement stubs providing command

After calling php artisan blumilk:stubs I would like the script to create a symbolic link stubs pointing to vendor directory. The same command with flag --copy should copy all stub files from vendor to stubs directory in application main directory.

Restyle stubs

Laravel provides the following list of stubs:

cast.stub
console.stub
controller.api.stub
controller.invokable.stub
controller.model.api.stub
controller.model.stub
controller.nested.api.stub
controller.nested.stub
controller.plain.stub
controller.stub
factory.stub
job.queued.stub
job.stub
middleware.stub
migration.create.stub
migration.stub
migration.update.stub
model.pivot.stub
model.stub
observer.plain.stub
observer.stub
policy.plain.stub
policy.stub
request.stub
resource.stub
resource-collection.stub
rule.stub
seeder.stub
test.stub
test.unit.stub

We need to add strict types declaration, clear useless comments, add type hints and return types, remove facades and do general clean up.

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.