BASEMENT Reference Manual

Total Page:16

File Type:pdf, Size:1020Kb

BASEMENT Reference Manual BASEMENT System Manuals VAW - ETH Zurich v2.8.1 BASEMENT System Manuals VAW - ETH Zurich v2.8.1 Contents Preamble 5 Credits . 5 License ......................................... 7 1 Pre-Processing in QGIS with BASEmesh 11 1.1 Introduction . 11 1.2 Tutorial 1: Mesh Generation based on Pointwise Elevation Data . 12 1.2.1 Project Settings . 13 1.2.2 Coordinate Reference System Configuration . 14 1.2.3 Loading Input Data for Elevation Model . 14 1.2.4 Saving Layer as Shape File . 15 1.2.5 Loading the Model Boundary . 15 1.2.6 Editing the Model Boundary . 17 1.2.7 Loading Breakline Data . 19 1.2.8 Creation of the Elevation Model as TIN . 20 1.2.9 Adaption of the Breaklines for Quality Meshing . 21 1.2.10 Creation of Region Marker Points . 22 1.2.11 Creation of Quality Mesh . 24 1.2.12 Interpolating elevation data from elevation mesh (TIN) . 25 1.2.13 3D view of the mesh . 26 1.2.14 Export of mesh to 2dm . 27 1.3 Tutorial 2: Import/Modify an existing Mesh and use Raster Data as Elevation Model . 28 1.3.1 Importing a .2dm mesh file . 29 1.3.2 Modifying the material indices of elements . 29 1.3.3 Manual editing of mesh elements . 33 1.3.4 Renumbering the mesh . 34 1.3.5 Interpolating elevations from raster data . 35 1.4 Tutorial 3: Using dividing constraints along boundary cross sections and setting up a BASEMENT simulation with a mesh from BASEmesh . 35 1.4.1 Using dividing constraints for Quality meshing . 37 1.4.2 Extraction of Stringdef information from the mesh . 38 1.4.3 Set-up BASEMENT command file: Add mesh . 40 1.4.4 Set-up BASEMENT command file: Add stringdefs . 41 1.4.5 Set-up BASEMENT command file: Add friction values . 41 1.4.6 Data Visualization . 42 1.5 Tutorial 4: Create 1D BASEchain mesh from a DTM using HEC-RAS/ HEC-GeoRAS . 43 1 Contents BASEMENT System Manuals 1.5.1 Set-up the environment . 45 1.5.2 Generate the cross section profiles . 46 1.5.3 Set the cross section, main channel and friction properties . 47 1.5.4 Export the data from HEC-GeoRAS . 48 1.5.5 Import GIS data into HEC-RAS and export a geometry file . 48 1.5.6 Convert HEC-RAS format to BASEchain format using BASEmesh . 49 1.6 Tips and Tricks . 51 1.6.1 Recommended Plugins . 51 1.6.2 Tipps and Tricks . 51 2 Post-Processing of 2D simulation results 55 2.1 Introduction . 55 2.2 2D result visualization with QGIS Crayfish . 55 2.2.1 Input data . 55 2.2.2 About Crayfish . 56 2.2.3 Installation . 56 2.2.4 Load and visualize data . 58 2.2.5 Creating maps and animations . 65 2.3 3D result visualization with Paraview . 72 2.3.1 Input data . 72 2.3.2 About Paraview . 73 2.3.3 Installation . 73 2.3.4 User Interface . 74 2.3.5 Import Data . 75 2.3.6 ParaView Filters . 76 2.3.7 Exporting figures and animations . 80 3 Hydrodynamics and sediment transport at the river Thur (1D) 85 3.1 Introduction . 85 3.1.1 General description . 85 3.1.2 Used features . 86 3.1.3 Purpose . 86 3.2 Setting up the topography file . 86 3.2.1 Cross sections . 86 3.2.2 Definition of different cross section zones . 87 3.2.3 Friction values . 88 3.2.4 Computation of water surface elevation . 90 3.2.5 Characterisation of the sediments . 90 3.2.6 Define flowing zones . 91 3.3 Setting up the command file . 91 3.3.1 Project . 91 3.3.2 Domain . 92 3.3.3 Define the physical properties . 92 3.3.4 One dimensional simulation . 92 3.4 Perform hydraulic simulations . 95 3.4.1 Perform steady flow simulation (Thur1) . 95 3.4.2 Perform simulation of the floods (Thur2) . 96 3.5 Complete the command file for bed load transport . 100 2 VAW - ETH Zurich v2.8.1 BASEMENT System Manuals Contents 3.5.1 Define the bed material . 100 3.5.2 Soil assignment . 101 3.5.3 Define general parameters for sediment transport . 101 3.5.4 Define specific parameters for bed load transport . 102 3.5.5 Define bed load transport formula . 102 3.5.6 Define boundary conditions for bed load . 102 3.5.7 Generate a “geometry” file . 103 3.6 Perform bed load simulation (Thur 3) . 103 4 Dynamics of longitudinal bed profile due to local river widening (1D) 105 4.1 Introduction . 105 4.1.1 General description . 105 4.1.2 Purpose . 106 4.1.3 Used features . 107 4.1.4 Parameter variation . 108 4.2 Model setup . 108 4.2.1 Definition of 1D topography . 108 4.2.2 Determination of the upstream sediment boundary conditions . 109 4.3 Results of numerical simulations . 110 4.3.1 Temporal evolution of longitudinal bed profile . 110 4.3.2 Width and length of the widening . 110 4.3.3 Discharge and grain diameter . 110 5 Hydrodynamics and sediment transport at the river Flaz (2D) 117 5.1 Introduction . 117 5.1.1 Case study description . 117 5.1.2 Tutorial structure . 118 5.2 Computational grid . 118 5.3 Setting up the command file . 120 5.3.1 Project . 120 5.3.2 Domain . 120 5.3.3 Parallel . 121 5.3.4 Physical properties . 121 5.3.5 Two dimensional simulation . 121 5.4 Perform hydraulic simulation . 126 5.4.1 Perform steady flow simulation . 126 5.4.2 Perform unsteady flow simulation . 127 5.4.3 Calibration of the hydraulic model . 131 5.5 Morphological simulation with single-grain bed load transport . 132 5.5.1 Define the morphological information . 133 5.5.2 Define the output . 138 5.6 Perform morphological simulation with single-grain bed load transport . 139 5.7 Morphological simulation with multi-grain bed load transport . 142 5.7.1 Morphological parameters . 142 5.7.2 Grain size distribution . 142 5.7.3 Grain mixture . 142 5.7.4 Define the soil composition . 143 5.7.5 Bed load boundary condition . 144 v2.8.1 VAW - ETH Zurich 3 Contents BASEMENT System Manuals 5.7.6 Bed load formula . ..
Recommended publications
  • ELASTIC SEARCH – MAGENTO 2 COPYRIGHT 2018 MAGEDELIGHT.COM Page 2 of 6
    Elasticsearch - Magento 2 INSTALLATION GUIDE MAGEDELIGHT.COM Installation: Before installing the extension, please make below notes complete: Backup your web directory and store database. Elasticsearch – M2 Installation: Install elasticsearch on your webserver, here is the reference link http://blog.magedelight.com/how-to- install-elasticsearch-on-centos-7-ubuntu-14-10-linux-mint-17-1/ Unzip the extension package file into the root folder of your Magento 2 installation. Install elastic search library o Back up your current composer.json cp composer.json composer.json.bk o Edit composer.json file and add below code to required clause. “elasticsearch/elasticsearch” : “~5.0” o Update dependencies composer update Connect to SSH console of your server: o Navigate to root folder of your Magento 2 setup o Run command php -f bin/magento module:enable Magedelight_Elasticsearch o Run command php -f bin/magento setup:upgrade o Run command php -f bin/magento setup:static-content:deploy Flush store cache; log out from the backend and log in again ELASTIC SEARCH – MAGENTO 2 COPYRIGHT 2018 MAGEDELIGHT.COM Page 2 of 6 License Activation: Note: This section is not applicable for extension purchased from Magento Marketplace How to activate the extension? Step 1: Go to Admin Control Panel >Stores > Configuration > Magedelight > Elasticsearch > License Configuration, you will see Serial Key and Activation key fields in License Configuration. Please enter the keys you received on purchase of the product and save configuration. Step 2: Expand “General Configuration” tab, you will find list of domains for which license is purchased and configured, now select the domain you are going to use, you can select multiple domain by clicking “Ctrl + Select”.
    [Show full text]
  • PHP: Composer Orchestrating PHP Applications
    PHP: Composer Orchestrating PHP Applications Dayle Rees This book is for sale at http://leanpub.com/composer-php This version was published on 2016-05-16 This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do. © 2016 Dayle Rees Tweet This Book! Please help Dayle Rees by spreading the word about this book on Twitter! The suggested tweet for this book is: I’m reading Composer: Orchestrating PHP Applications by @daylerees - https://leanpub.com/composer-php #composer The suggested hashtag for this book is #composer. Find out what other people are saying about the book by clicking on this link to search for this hashtag on Twitter: https://twitter.com/search?q=#composer Contents Acknowledgements ..................................... i Errata ............................................. ii Feedback ............................................ iii Translations ......................................... iv 1. Introduction ....................................... 1 2. Concept .......................................... 2 Dependency Management ............................... 2 Class Autoloading .................................... 3 Team Collaboration ................................... 3 3. Packages ......................................... 5 Application Packages .................................. 5 Dependency
    [Show full text]
  • Today's Howtos Today's Howtos
    Published on Tux Machines (http://www.tuxmachines.org) Home > content > today's howtos today's howtos By Roy Schestowitz Created 23/11/2020 - 3:13pm Submitted by Roy Schestowitz on Monday 23rd of November 2020 03:13:32 PM Filed under HowTos [1] An introduction to Prometheus metrics and performance monitoring | Enable Sysadmin[2] Use Prometheus to gather metrics into usable, actionable entries, giving you the data you need to manage alerts and performance information in your environment. Why does Wireshark say no interfaces found ? Linux Hint [3] Wireshark is a very famous, open-source network capturing and analyzing tool. While using Wireshark, we may face many common issues. One of the common issues is ?No Interfaces are listed in Wireshark?. Let?s understand the issue and find a solution in Linux OS.If you do not know Wireshark basic, then check Wireshark Basic first, then come back here. How to Solve ?Sub-process /usr/bin/dpkg returned an error code (1)? In Ubuntu[4] It?s not uncommon to run into an issue of broken packages in Ubuntu and other Debian-based distributions. Sometimes, when you upgrade the system or install a software package, you may encounter the ?Sub-process /usr/bin/dpkg returned an error code? error. For example, a while back, I tried to upgrade Ubuntu 18.04 and I bumped into the dpkg error as shown below. [...] This type of dpkg error points to an issue with the package installer usually caused by the interruption of an installation process or a corrupt dpkg database. Any of the above-mentioned solutions should fix this error.
    [Show full text]
  • Sebastian Neubauer [email protected] @Sebineubauer
    There Should be One Obvious Way to Bring Python into Production Sebastian Neubauer [email protected] @sebineubauer 1 Agenda • What are we talking about and why? • Delivery pipeline • Dependencies • Packaging • What is the current state? • A walk through the different possibilities • Summarizing all the pros and cons • Can we fnd a better solution? • How does the future look like? • Discussion: what could the „one obvious way“ be? 2 What are we talking about and why? 3 Delivery pipeline Production Staging/QA Testing Building/Packaging Development @sebineubauer 4 Delivery pipeline Production Staging/QA Testing Building/Packaging Development @sebineubauer 5 Development Required: • Fast iteration cycles, fast changes • Automated tests can be executed Nice to have: • Production like local environment Risks: • „Works on my machine!“ • Dirty working directory @sebineubauer 6 Delivery pipeline Production Staging/QA Testing Building/Packaging Development @sebineubauer 7 Building/Packaging Required: • Build once, use everywhere • Possibility to compile for the target systems • Build uniquely versioned, signed packages Nice to have: • Upload to an artifact repository Risks: • Misconfguration of the build environment @sebineubauer 8 Delivery pipeline Production Staging/QA Testing Building/Packaging Development @sebineubauer 9 Testing Required: • Automated • Near production like conditions • Reproducible conditions • Minimal changes for testing reasons Nice to have: • Fast feedback • Running after each commit on all branches Risks:
    [Show full text]
  • Xcode Package from App Store
    KH Computational Physics- 2016 Introduction Setting up your computing environment Installation • MAC or Linux are the preferred operating system in this course on scientific computing. • Windows can be used, but the most important programs must be installed – python : There is a nice package ”Enthought Python Distribution” http://www.enthought.com/products/edudownload.php – C++ and Fortran compiler – BLAS&LAPACK for linear algebra – plotting program such as gnuplot Kristjan Haule, 2016 –1– KH Computational Physics- 2016 Introduction Software for this course: Essentials: • Python, and its packages in particular numpy, scipy, matplotlib • C++ compiler such as gcc • Text editor for coding (for example Emacs, Aquamacs, Enthought’s IDLE) • make to execute makefiles Highly Recommended: • Fortran compiler, such as gfortran or intel fortran • BLAS& LAPACK library for linear algebra (most likely provided by vendor) • open mp enabled fortran and C++ compiler Useful: • gnuplot for fast plotting. • gsl (Gnu scientific library) for implementation of various scientific algorithms. Kristjan Haule, 2016 –2– KH Computational Physics- 2016 Introduction Installation on MAC • Install Xcode package from App Store. • Install ‘‘Command Line Tools’’ from Apple’s software site. For Mavericks and lafter, open Xcode program, and choose from the menu Xcode -> Open Developer Tool -> More Developer Tools... You will be linked to the Apple page that allows you to access downloads for Xcode. You wil have to register as a developer (free). Search for the Xcode Command Line Tools in the search box in the upper left. Download and install the correct version of the Command Line Tools, for example for OS ”El Capitan” and Xcode 7.2, Kristjan Haule, 2016 –3– KH Computational Physics- 2016 Introduction you need Command Line Tools OS X 10.11 for Xcode 7.2 Apple’s Xcode contains many libraries and compilers for Mac systems.
    [Show full text]
  • Peter Jaap Blaakmeer CTO Elgentos @Peterjaap
    Magento 2 and Composer Peter Jaap Blaakmeer CTO elgentos @PeterJaap Also; co-organizer MUG050, volunteer Meet Magento NL, beer home-brewing & board games (so I like IPA’s and API’s). What is composer? Dependency management in PHP Not a package manager; composer by default installs modules on a per-project basis, not globally. Why would you use Composer? Time save Code reuse Code sharing Easy upgrades Same code usage Easy removal Forces you to write clean code; no hacking Install composer brew update && brew install homebrew/php/composer Composer components (see what I did there?) composer.phar composer.json composer.lock composer.phar Binary used to work with composer composer.phar Most used commands $ composer update $ composer install $ composer require $ composer create-project Projects’ composer.json Extensions’ composer.json { "name": “elgentos/mage2importer", "description": “Fast refactored Magento 2 product importer", "type": “magento2-module", // or magento2-theme / magento2-language / metapackage "version": "1.3.37", "license": [ "OSL-3.0", "AFL-3.0" ], "require": { "php": "~5.5.0|~5.6.0|~7.0.0", "magento/framework": "~100.0" }, "extra": { "map": [ [ "*", "Elgentos/Mage2Importer" ] ] } } composer.lock Lockfile created when running composer update composer.lock What is the lock file for? It ensures every developer uses the same version of the packages. composer update - installs the latest versions referenced in composer.json & save commit hash in lock file. composer install - installs a specific version identified by a commit hash in the lock file. How to handle composer files in Git? You should commit composer.json to keep track of which extensions are installed. You can commit composer.lock but it is not necessary, depends on your deployment structure, but you’ll probably get a lot of merge conflicts.
    [Show full text]
  • Introduction CFD General Notation System (CGNS)
    CGNS Tutorial Introduction CFD General Notation System (CGNS) Christopher L. Rumsey NASA Langley Research Center Outline • Introduction • Overview of CGNS – What it is – History – How it works, and how it can help – The future • Basic usage – Getting it and making it work for you – Simple example – Aspects for data longevity 2 Introduction • CGNS provides a general, portable, and extensible standard for the description, storage, and retrieval of CFD analysis data • Principal target is data normally associated with computed solutions of the Navier-Stokes equations & its derivatives • But applicable to computational field physics in general (with augmentation of data definitions and storage conventions) 3 What is CGNS? • Standard for defining & storing CFD data – Self-descriptive – Machine-independent – Very general and extendable – Administered by international steering committee • AIAA recommended practice (AIAA R-101A-2005) • Free and open software • Well-documented • Discussion forum: [email protected] • Website: http://www.cgns.org 4 History • CGNS was started in the mid-1990s as a joint effort between NASA, Boeing, and McDonnell Douglas – Under NASA’s Advanced Subsonic Technology (AST) program • Arose from need for common CFD data format for improved collaborative analyses between multiple organizations – Existing formats, such as PLOT3D, were incomplete, cumbersome to share between different platforms, and not self-descriptive (poor for archival purposes) • Initial development was heavily influenced by McDonnell Douglas’ “Common
    [Show full text]
  • Development of a Coupling Approach for Multi-Physics Analyses of Fusion Reactors
    Development of a coupling approach for multi-physics analyses of fusion reactors Zur Erlangung des akademischen Grades eines Doktors der Ingenieurwissenschaften (Dr.-Ing.) bei der Fakultat¨ fur¨ Maschinenbau des Karlsruher Instituts fur¨ Technologie (KIT) genehmigte DISSERTATION von Yuefeng Qiu Datum der mundlichen¨ Prufung:¨ 12. 05. 2016 Referent: Prof. Dr. Stieglitz Korreferent: Prof. Dr. Moslang¨ This document is licensed under the Creative Commons Attribution – Share Alike 3.0 DE License (CC BY-SA 3.0 DE): http://creativecommons.org/licenses/by-sa/3.0/de/ Abstract Fusion reactors are complex systems which are built of many complex components and sub-systems with irregular geometries. Their design involves many interdependent multi- physics problems which require coupled neutronic, thermal hydraulic (TH) and structural mechanical (SM) analyses. In this work, an integrated system has been developed to achieve coupled multi-physics analyses of complex fusion reactor systems. An advanced Monte Carlo (MC) modeling approach has been first developed for converting complex models to MC models with hybrid constructive solid and unstructured mesh geometries. A Tessellation-Tetrahedralization approach has been proposed for generating accurate and efficient unstructured meshes for describing MC models. For coupled multi-physics analyses, a high-fidelity coupling approach has been developed for the physical conservative data mapping from MC meshes to TH and SM meshes. Interfaces have been implemented for the MC codes MCNP5/6, TRIPOLI-4 and Geant4, the CFD codes CFX and Fluent, and the FE analysis platform ANSYS Workbench. Furthermore, these approaches have been implemented and integrated into the SALOME simulation platform. Therefore, a coupling system has been developed, which covers the entire analysis cycle of CAD design, neutronic, TH and SM analyses.
    [Show full text]
  • Software Soloist Motion Composer Suite
    SOFTWARE SOLOIST MOTION COMPOSER SUITE The Power to Differentiate Your Process Connect and Go The Soloist Motion Composer Suite is the development solution Setting up your smart drive solution is easy. Quickly set up your motion control application needs. Part of the Soloist single- drives, motors, and stages with the Configuration Manager axis motion control platform, the Motion Composer Suite allows application. This is just one of several tools integrated in the you to deploy advanced automation that outpaces competitive Motion Composer Suite that makes drive, controller, and servo solutions. The suite includes the following products: configuration fast and effective. • Soloist Configuration Manager Setting up an automation process is also quick and easy. The Soloist smart drives include an integrated controller that can talk • Soloist Motion Composer IDE over EtherNet/IP, Ethernet TCP/IP, RS-232, RS-485, and Modbus • Soloist Digital Scope TCP. Powerful Technology, Simply Integrated Fieldbus I/O and expandable I/O on Aerotech drive hardware is The Soloist solution is a powerful performance tool that can directly accessible within the AeroBasic real-time programming be simply integrated into your system. The Motion Composer language. Suite gives you more precision at your fingertips through Develop and Test Real-Time Applications a user-friendly interface with tools for each aspect of your The Soloist Motion Composer Suite includes a powerful development process. Using the Motion Composer Suite, you can environment for real-time developers. The Motion Composer IDE deploy real-time application code to a smart, single-axis drive allows real-time application code to be developed, debugged, and which includes an integrated controller.
    [Show full text]
  • PHP Composer 9 Benefts of Using a Binary Repository Manager
    PHP Composer 9 Benefts of Using a Binary Repository Manager White Paper Copyright © 2017 JFrog Ltd. March 2017 | www.jfrog.com Executive Summary PHP development has become one of the most popular platforms for client and server side web development. Each framework used for PHP development has its own set of advantages, but they all use PHP Composer to manage dependencies, alongside Packagist as the central repository. PHP Composer may be able to fnd the right packages for you, but comes up short in case of network issues and cannot ensure that all developers in your organization are using the same version of a package. It’s issues like these that Artifactory solves for you. This white paper describes the benefts of using PHP Composer together with Artifactory, including: Reliable Access Overcome network issues restricting you from being able to download or update packages. Optimized Build Process Manage resource sharing within your organization to eliminate unnecessary network trafc. Full Support for Docker Support all Docker Registry APIs providing security features needed by enterprise Docker users. Secure Solution Enable controlled access through secure private PHP Composer repositories. Smart Search and Artifactory Query Language (AQL) Find the packages you need using advanced search tools and top-level search capabilities. Distribution and Sharing Enable efcient distribution of proprietary packages to give developers access to the same package version, resolve dependencies, and seamlessly share proprietary code regardless of physical location. Artifactory High Availability Give access to PHP Composer packages in a high availability confguration providing up to fve-nines availability for PHP development. Maintenance and Monitoring Keep an organized managed system with automatic, timed cleanup processes, eliminating old and irrelevant artifacts.
    [Show full text]
  • Drupal & Composer
    Drupal & Composer Matthew Grasmick & Jeff Geerling Speakers Matthew Grasmick Jeff Geerling @grasmash @geerlingguy Acquian Acquian BLT maintainer Drupal VM maintainer 10+ years of Drupal Agenda ● Composer Overview ~40 min ● Hands-on exercises ~30 min ● Advanced Topics ~20 min ● Hands-on free-for-all ~30 min Total ~2 hrs. What is Composer? Composer is a dependency management tool for PHP. It allows you to install, update, and load the PHP libraries that your PHP application depends on. What does that mean? Let’s look at the type of problem Composer solves Say you have a Drupal 7 application. It requires jCarousel. A third party, external dependency. You download the tarball, decompress, move it into place. Voila! Easy, right? Except when it isn’t. Versions matter. Your hypothetical Drupal 7 site requires: ● Drupal Core, which requires jQuery 1.2.0. ● jCarousel, which requires jQuery 1.3.0. 1.2.0 != 1.3.0 Uh oh! What do you do? In Drupal 7, we used ● Various contributed modules ● Hacky workarounds to load multiple versions of jQuery. That worked for dealing with a single library incompatibility. Enter Drupal 8 Drupal 8 In Drupal 8, we use lots of third-party, external dependencies, like ● Symfony ● Doctrine ● Twig ● Etc. This is good. ● We’re getting of the island and using libraries used by the rest of the PHP community! ● We’re using software that is Proudly Found Elsewhere (and tested / supported elsewhere) ● We’re not re-inventing the wheel! But it gets complicated fast. Say you have a Drupal 8 site that requires... ● Drupal Core, which requires ..
    [Show full text]
  • Composer 101
    ______ / ____/___ ____ ___ ____ ____ ________ _____ / / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/ / /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ / \____/\____/_/ /_/ /_/ .___/\____/____/\___/_/ /_/ Composer 101 Mike Miles | Drupalcon Nashville 2018 events.drupal.org/node/20624 About Me Work: Genuine (wearegenuine.com) Podcast: Developing Up (developingup.com) Online Handle: mikemiles86 (@mikemiles86) Security Update!! PHP projects that have a few dependencies may be able simple to maintain. But complex projects with many layers of dependencies, frustrate developers and waste project time on managing those dependencies. Every project has limited time & budget The more project time is spent on maintaining 3rd party code, the less time there is available to focus on building what will deliver project value. Composer getcomposer.org Composer is a PHP project dependency manager, that handles 3rd party project code, so that the developers do not have to. Adding a few files and utilizing a few commands, composer can be added to any PHP project. Composer takes care of 3rd party code dependencies, installation and maintenance. Composer project structure root/ [composer.phar] composer.json composer.lock vendor/ // everything else... Every Composer based project has a composer.json file, composer.lock file, and vendor director. Optionally it can contain the composer executable. Secure Project Structure root/ [composer.phar] composer.json composer.lock vendor/ webroot/ // everything else... For security purposes, keep all composer related files and directories above the webroot of the project. Access vendor code using the composer autoload.php. root/ [composer.phar] composer.json composer.lock Install vendor/ // everything else..
    [Show full text]