Code Monkey home page Code Monkey logo

app's Introduction

Aplus Framework App Project

Aplus Framework App Project

tests coverage packagist open-source

Getting Started

Make sure you have Composer installed.

Follow the installation instructions in the User Guide.

To install the latest version:

composer create-project aplus/app

Or, to install the latest LTS version:

composer create-project aplus/app:^22

Enter the project directory.


Optionally, you can start a new project on GitHub from this template.

Licensing

Add a LICENSE file.

If you think about open-source your project, choose a license.

If your project is proprietary, you can add your custom license or not.

Edit the .php-cs-fixer.dist.php file. Set the project name and copyright information.

To update the comment header in all PHP files, run:

vendor/bin/php-cs-fixer fix -vvv

Code Quality

Aplus Framework uses Code Quality Tools in all its projects.

By default, App Project also uses the following tools as dev-dependencies:

Static Analysis

You can find bugs in your code without writing tests by running:

vendor/bin/phpstan analyse

See the phpstan.neon.dist file for more details.

Mess Detector

You can look for several potential problems in the source code by running:

vendor/bin/phpmd app xml phpmd.xml

Customize your rules in the phpmd.xml file.

Coding Standard

We extend PHP-CS-Fixer to create the Coding Standard Library.

It is PSR-12 compatible.

You can see what to fix in the source code by running:

vendor/bin/php-cs-fixer fix --diff --dry-run --verbose

Testing

We extend PHPUnit to create the Testing Library.

You can unit test your code by running:

vendor/bin/phpunit

See the phpunit.xml.dist file for more details.

Documenting

Good software usually has good documentation.

You can build beautiful HTML pages about your project's documentation.

You must have phpDocumentor installed on your computer or run phpdoc inside a container.

Development Environment

The App Project is delivered with a dev-dependency to easily configure the built-in PHP development server.

Just run

vendor/bin/php-server

and your project will be available at http://localhost:8080.

See the php-server.ini file for more details.

Containers

Aplus has Docker images for testing and building software.

You can run it in CI or local environments.

With Docker installed on your computer, you can run:

docker-compose run --service-ports lempa

This will log you as the developer user into a Docker container where you can run all your tests.

By default, the web app will be available at http://localhost, on ports 80 and 443.

See the docker-compose.yml file for more details.

Continuous Integration

App Project is cross-platform and can be used in public and private projects.

You can use it on GitLab, on GitHub, on your computer, anywhere you want.

The App Project is already pre-configured to run in a GitLab CI environment.

See the .gitlab-ci.yml file for more details.

Just upload your project to GitLab and it will run pipelines.

On GitHub, it will run workflows to test your code every Push or Pull Request.

Check the .github folder to see more.

And now?

Go build an API or a website, an awesome app! ⚡

See you.


If you have a little time...

Visit the Aplus Framework website: aplus-framework.com

Follow Aplus on:

Stay tuned for our updates.

Share your experiences about meet us!

Remember:

Coding is Art.

Coding is Engineering.

Good developer loves to code.

Code with Love!


The Aplus Framework Team

app's People

Contributors

natanfelles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

app's Issues

deployment

Não encontrei na documentação algo relacionado a como fazer deploy em produção.

Como eu configuro meu .htaccess?

Not sure where else to open this

But why are you constantly unstarring and starring your repository?

This is "clogging" up mine, and I am sure everyone else's newsfeed with this crap, all day, every day.

Are you just sitting there pressing unstar + star or have you written a bot to do this?

I am unfollowing all projects under this account now.

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.